|
RSE Release 1.0 |
|||||||||||
| 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.core.SystemBasePlugin
org.eclipse.rse.ui.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.core.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()
|
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. |
SystemPropertyPageExtension[] |
getPropertyPageExtensions()
Return an array of SystemPropertyPageExtension objects. |
static String |
getQualifiedHostName(String hostName)
Returns a qualified hostname given a potentially unqualified hostname |
IRSEUIRegistry |
getRegistry()
Returns the RSE UI registry. |
IProject |
getRemoteSystemsProject()
Return the project used to hold all the Remote System Framework files |
SystemShowPreferencesPageAction[] |
getShowPreferencePageActions()
Return an array of action objects registered via our org.eclipse.rse.ui.remoteSystemsViewPreferencesActions extension point. |
boolean |
getShowProfilePageInitially()
Returns whether to show profile page initially, i.e. during the first new connection creation. |
ISubSystemConfigurationProxy[] |
getSubSystemConfigurationProxies()
Return an array of SubSystemConfigurationProxy objects. |
SystemRegistry |
getSystemRegistry()
Return the SystemRegistry singleton |
SystemViewAdapterFactory |
getSystemViewAdapterFactory()
For pathpath access to our adapters for non-local objects in our model. |
static IRSEPersistenceManager |
getThePersistenceManager()
|
static ISystemProfileManager |
getTheSystemProfileManager()
A static version for convenience Returns the master profile manager singleton. |
static SystemRegistry |
getTheSystemRegistry()
A static version for convenience Returns the master registry singleton. |
void |
initializeDefaultPreferences()
Initializes default preferences. |
protected void |
initializeImageRegistry()
Initialize the image registry by declaring all of the required graphics. |
boolean |
isSystemRegistryActive()
Returns true if the SystemRegistry has been instantiated already. |
static boolean |
isTheSystemRegistryActive()
A static version for convenience |
void |
openViews()
Restore views prior to full refresh after team synch |
protected void |
registerArchiveHandlers()
Initializes the Archive Handler Manager, by registering archive \ file types with their handlers. |
protected void |
registerDynamicPopupMenuExtensions()
Initializes the System View Adapter Menu Extension Manager, by registering menu extensions |
protected void |
registerKeystoreProviders()
|
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 boolean getShowProfilePageInitially()
true to show profile page initially, false otherwise.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 BundleActivatorstart in class SystemBasePluginExceptionBundleActivator.start(org.osgi.framework.BundleContext)public SystemViewAdapterFactory getSystemViewAdapterFactory()
public void restart()
public void closeViews()
public void openViews()
public IProject getRemoteSystemsProject()
public void stop(BundleContext context)
throws Exception
stop in interface BundleActivatorstop in class SystemBasePluginExceptionBundleActivator.stop(org.osgi.framework.BundleContext)protected void disconnectAll(boolean doSave)
public static String getQualifiedHostName(String hostName)
public ISubSystemConfigurationProxy[] getSubSystemConfigurationProxies()
public boolean isSystemRegistryActive()
public IRSEPersistenceManager getPersistenceManager()
public SystemRegistry getSystemRegistry()
public static SystemRegistry getTheSystemRegistry()
public static IRSEPersistenceManager getThePersistenceManager()
public static ISystemProfileManager getTheSystemProfileManager()
public static boolean isTheSystemRegistryActive()
public SystemPropertyPageExtension[] getPropertyPageExtensions()
public SystemShowPreferencesPageAction[] getShowPreferencePageActions()
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)
getMessage in interface ISystemMessageProviderpublic 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, etc
public 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)
protected void registerArchiveHandlers()
protected void registerDynamicPopupMenuExtensions()
protected void registerKeystoreProviders()
public IRSEUIRegistry getRegistry()
|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||