TPTP 4.5.0 Platform Project
Public API Specification

org.eclipse.hyades.loaders.util
Class RegistryReader

java.lang.Object
  extended by org.eclipse.hyades.loaders.util.RegistryReader

public abstract class RegistryReader
extends java.lang.Object


Nested Class Summary
static class RegistryReader.StandaloneConfiguration
           
 
Field Summary
static java.lang.String ECLIPSE_TPTP_APPLICATION_WORKSPACE_MODE
          When this property is set to "false" the workspaceMode will false, even if ResourcePlugin is available
static RegistryReader.StandaloneConfiguration standaloneConfiguration
           
 
Constructor Summary
RegistryReader(java.lang.String extensionPointID)
           
RegistryReader(java.lang.String pluginId, java.lang.String extensionPointID)
           
 
Method Summary
 IHyadesPluginClassDescriptor createPluginClassDescriptor(HyadesConfigurationElement element, java.lang.String attribute)
           
 java.lang.String getExtensionPointID()
           
 java.lang.String getPluginCustomizationString(java.lang.String bundleSymbolicId, java.lang.String key)
           
 java.util.Map getPriorities()
           
 java.lang.String getThisPluginId()
           
static boolean isPlatformMode()
           
static boolean isRCPMode()
          Deprecated. This is not safe to use, for Resource creation use isWorkspaceMode()
static boolean isWorkspaceMode()
           
 void readRegistry()
          Reads from the plugin registry and parses it.
 void setExtensionPointID(java.lang.String extensionPointID)
           
static void setPlatformMode(int mode)
          Overrides the platfrom mode
 void setThisPluginId(java.lang.String thisPluginId)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ECLIPSE_TPTP_APPLICATION_WORKSPACE_MODE

public static final java.lang.String ECLIPSE_TPTP_APPLICATION_WORKSPACE_MODE
When this property is set to "false" the workspaceMode will false, even if ResourcePlugin is available

See Also:
Constant Field Values

standaloneConfiguration

public static RegistryReader.StandaloneConfiguration standaloneConfiguration
Constructor Detail

RegistryReader

public RegistryReader(java.lang.String extensionPointID)

RegistryReader

public RegistryReader(java.lang.String pluginId,
                      java.lang.String extensionPointID)
Method Detail

getPriorities

public java.util.Map getPriorities()

isPlatformMode

public static boolean isPlatformMode()
Returns:

setPlatformMode

public static void setPlatformMode(int mode)
Overrides the platfrom mode

Parameters:
mode -

isWorkspaceMode

public static boolean isWorkspaceMode()
Returns:
true if the workspace should be used, can be forced to "false" by using ECLIPSE_TPTP_APPLICATION_WORKSPACE_MODE system property

isRCPMode

public static boolean isRCPMode()
Deprecated. This is not safe to use, for Resource creation use isWorkspaceMode()

Returns:

createPluginClassDescriptor

public IHyadesPluginClassDescriptor createPluginClassDescriptor(HyadesConfigurationElement element,
                                                                java.lang.String attribute)

readRegistry

public void readRegistry()
Reads from the plugin registry and parses it.


getPluginCustomizationString

public java.lang.String getPluginCustomizationString(java.lang.String bundleSymbolicId,
                                                     java.lang.String key)

getThisPluginId

public java.lang.String getThisPluginId()

setThisPluginId

public void setThisPluginId(java.lang.String thisPluginId)

getExtensionPointID

public java.lang.String getExtensionPointID()

setExtensionPointID

public void setExtensionPointID(java.lang.String extensionPointID)

TPTP 4.5.0 Platform Project
Public API Specification