|
RSE Release 3.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.runtime.Plugin
org.eclipse.ui.plugin.AbstractUIPlugin
org.eclipse.rse.ui.SystemBasePlugin
org.eclipse.rse.ui.RSEUIPlugin
public class RSEUIPlugin
Plugin for the core remote systems support.
Field Summary | |
---|---|
static String |
HELPPREFIX
|
static boolean |
INCLUDE_LOCAL_NO
|
static boolean |
INCLUDE_LOCAL_YES
|
static String |
PLUGIN_ID
|
Fields inherited from class org.eclipse.rse.ui.SystemBasePlugin |
---|
log |
Fields inherited from class org.eclipse.core.runtime.Plugin |
---|
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME |
Constructor Summary | |
---|---|
RSEUIPlugin()
Constructor for SystemsPlugin |
Method Summary | |
---|---|
void |
closeViews()
Close or reset views prior to full refresh after team synch |
protected void |
disconnectAll(boolean doSave)
Disconnect all subsystems |
static RSEUIPlugin |
getDefault()
Return singleton. |
SystemMessageFile |
getDefaultMessageFile(String messageFileName)
Load a default message file for this plugin for cases where messages haven't been translated. |
boolean |
getLoggingSystemMessageLine()
|
SystemMessage |
getMessage(String msgId)
|
SystemMessageFile |
getMessageFile(String messageFileName)
Load a message file for this plugin. |
URL |
getMessageFileDTD()
|
IRSEPersistenceManager |
getPersistenceManager()
Deprecated. use RSECorePlugin.getThePersistenceManager() |
static SystemMessage |
getPluginMessage(String msgId)
Retrieve a message from this plugin's message file |
static SystemMessage |
getPluginMessage(String msgId,
Object subsVar)
Retrieve a message from this plugin's message file and do single substitution on it. |
static SystemMessage |
getPluginMessage(String msgId,
Object[] subsVars)
Retrieve a message from this plugin's message file and do multiple substitution on it. |
static SystemMessageFile |
getPluginMessageFile()
Return this plugin's message file. |
IAdapterFactory |
getSystemViewAdapterFactory()
For fastpath access to our adapters for non-local objects in our model. |
static ISystemProfileManager |
getTheSystemProfileManager()
Deprecated. use RSECorePlugin.getTheSystemProfileManager() |
static ISystemRegistryUI |
getTheSystemRegistryUI()
Return the SystemRegistryUI singleton. |
void |
initializeDefaultPreferences()
Initializes preferences. |
protected void |
initializeImageRegistry()
Initialize the image registry by declaring all of the required graphics. |
boolean |
isSystemRegistryActive()
Deprecated. use RSECorePlugin.isTheSystemRegistryActive() |
static boolean |
isTheSystemRegistryActive()
Deprecated. use RSECorePlugin.isTheSystemRegistryActive() |
void |
openViews()
Restore views prior to full refresh after team synch |
void |
registerViewSupplier(ISystemViewSupplier vs)
Register a view supplier so we can ask them to participate in team synchs |
void |
restart()
Restart the whole thing after a team synchronization |
void |
setLoggingSystemMessageLine(boolean flag)
Set whether or not to log the messages shown on the system message line for dialogs and wizards. |
void |
start(BundleContext context)
|
void |
stop(BundleContext context)
|
void |
unRegisterViewSupplier(ISystemViewSupplier vs)
UnRegister a previously registered view supplier |
Methods inherited from class org.eclipse.ui.plugin.AbstractUIPlugin |
---|
createImageRegistry, getDialogSettings, getImageRegistry, getPreferenceStore, imageDescriptorFromPlugin, initializeDefaultPluginPreferences, initializeDefaultPreferences, initializeImageRegistry, loadDialogSettings, loadPreferenceStore, refreshPluginActions, saveDialogSettings, savePreferenceStore, shutdown, startup |
Methods inherited from class org.eclipse.core.runtime.Plugin |
---|
find, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String PLUGIN_ID
public static final String HELPPREFIX
public static final boolean INCLUDE_LOCAL_YES
public static final boolean INCLUDE_LOCAL_NO
Constructor Detail |
---|
public RSEUIPlugin()
Method Detail |
---|
public static RSEUIPlugin getDefault()
public void initializeDefaultPreferences()
public void setLoggingSystemMessageLine(boolean flag)
flag
- true if logging of these messages is desired, false otherwise.public boolean getLoggingSystemMessageLine()
protected void initializeImageRegistry()
SystemBasePlugin
initializeImageRegistry
in class SystemBasePlugin
public void start(BundleContext context) throws Exception
start
in interface BundleActivator
start
in class SystemBasePlugin
Exception
BundleActivator.start(org.osgi.framework.BundleContext)
public IAdapterFactory getSystemViewAdapterFactory()
public void restart()
public void closeViews()
public void openViews()
public void stop(BundleContext context) throws Exception
stop
in interface BundleActivator
stop
in class SystemBasePlugin
Exception
BundleActivator.stop(org.osgi.framework.BundleContext)
protected void disconnectAll(boolean doSave)
public boolean isSystemRegistryActive()
RSECorePlugin.isTheSystemRegistryActive()
true
if the System Registry has been instantiated already.public IRSEPersistenceManager getPersistenceManager()
RSECorePlugin.getThePersistenceManager()
public static ISystemRegistryUI getTheSystemRegistryUI()
public static ISystemProfileManager getTheSystemProfileManager()
RSECorePlugin.getTheSystemProfileManager()
public static boolean isTheSystemRegistryActive()
RSECorePlugin.isTheSystemRegistryActive()
true
if the System Registry has been instantiated already.public URL getMessageFileDTD()
public SystemMessageFile getMessageFile(String messageFileName)
messageFileName
- - the name of the message xml file. Will look for it in this plugin's install folder.
public SystemMessageFile getDefaultMessageFile(String messageFileName)
messageFileName
- - the name of the message xml file. Will look for it in this plugin's install folder.
public static SystemMessageFile getPluginMessageFile()
public SystemMessage getMessage(String msgId)
public static SystemMessage getPluginMessage(String msgId)
msgId
- - the ID of the message to retrieve. This is the concatenation of the
message's component abbreviation, subcomponent abbreviation, and message ID as declared
in the message xml file.public static SystemMessage getPluginMessage(String msgId, Object[] subsVars)
msgId
- - the ID of the message to retrieve. This is the concatenation of the
message's component abbreviation, subcomponent abbreviation, and message ID as declared
in the message xml file.subsVars
- - an array of objects to substitute in for %1, %2, etcpublic static SystemMessage getPluginMessage(String msgId, Object subsVar)
msgId
- - the ID of the message to retrieve. This is the concatenation of the
message's component abbreviation, subcomponent abbreviation, and message ID as declared
in the message xml file.subsVar
- - an array of objects to substitute in for %1, %2, etc.
public void registerViewSupplier(ISystemViewSupplier vs)
public void unRegisterViewSupplier(ISystemViewSupplier vs)
|
RSE Release 3.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |