|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAbstractUIPlugin
com.ibm.etools.systems.core.SystemBasePlugin
com.ibm.etools.systems.core.SystemPlugin
Plugin for the core remote systems support.
Field Summary | |
---|---|
static String |
copyright
|
static String |
HELPPREFIX
|
static boolean |
INCLUDE_LOCAL_NO
|
static boolean |
INCLUDE_LOCAL_YES
|
static String |
PLUGIN_ID
|
Fields inherited from class com.ibm.etools.systems.core.SystemBasePlugin |
---|
ICON_PATH, log |
Constructor Summary | |
---|---|
SystemPlugin()
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 |
SystemType[] |
getAllSystemTypes(boolean refresh)
Return all system type objects. |
CommandView |
getCommandView()
|
static SystemPlugin |
getDefault()
Return singleton. |
SystemMessageFile |
getDefaultMessageFile(String messageFileName)
Load a default message file for this plugin for cases where messages haven't been translated. |
static String |
getLocalMachineIPAddress()
Return the local user's IP address |
static String |
getLocalMachineName()
Return the local user's machine name |
SystemMessageFile |
getMessageFile(String messageFileName)
Load a message file for this plugin. |
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. |
IProject |
getRemoteSystemsProject()
Return the project used to hold all the Remote System Framework files |
static ResourceBundle |
getResourceBundle()
Return this plugin's resource bundle |
SystemShowPreferencesPageAction[] |
getShowPreferencePageActions()
Return an array of action objects registered via our com.ibm.etools.systems.core.remoteSystemsViewPreferencesActions extension point. |
boolean |
getShowProfilePageInitially()
Returns whether to show profile page initially, i.e. during the first new connection creation. |
static String |
getString(String key)
Get a string from this plugin's resource bundle |
static String |
getString(String key,
String defaultString)
Get a string from this plugin's resource bundle, specifying an english string to use as a default if the requested string is not found in the plugin. |
ISubSystemFactoryProxy[] |
getSubSystemFactoryProxies()
Return an array of SubSystemFactoryProxy objects. |
ISystemFileTransferModeRegistry |
getSystemFileTransferModeRegistry()
Get the file transfer mode registry |
SystemRegistry |
getSystemRegistry()
Return the SystemRegistry singleton |
SystemType |
getSystemType(String name)
Return the system type that matches the name. |
boolean |
getSystemTypeEnableOffline(String name)
Return whether the system type is enabled for offline support. |
ImageDescriptor |
getSystemTypeImage(String name,
boolean connected)
Return the image for a given system type name. |
String[] |
getSystemTypeNames()
Convenience method to return an array of names-only for registered SystemType * extension point implementers. |
String[] |
getSystemTypeNames(boolean includeLocal)
Convenience method to return an array of names-only for registered SystemType extension point implementers. |
SystemType[] |
getSystemTypes()
Return an array of SystemType objects. |
SystemViewAdapterFactory |
getSystemViewAdapterFactory()
For pathpath access to our adapters for non-local objects in our model. |
SystemViewFileAdapterFactory |
getSystemViewFileAdapterFactory()
For pathpath access to our adapters for remote universal file objects. |
SystemViewOutputAdapterFactory |
getSystemViewOutputAdapterFactory()
For pathpath access to our adapters for viewable remote output objects. |
SystemViewSearchResultAdapterFactory |
getSystemViewSearchResultAdapterFactory()
For pathpath access to our adapters for searchable result output objects. |
SystemViewSearchResultSetAdapterFactory |
getSystemViewSearchResultSetAdapterFactory()
For pathpath access to our adapters for searchable result output objects. |
static SystemProfileManager |
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. |
static SystemType[] |
getTheSystemTypes(boolean includeLocal)
A static version for convenience. |
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 |
setCommandView(CommandView view)
|
void |
setSystemTypes(SystemType[] systemTypes)
Reset the system types objects to the given array. |
void |
start(org.osgi.framework.BundleContext context)
|
void |
stop(org.osgi.framework.BundleContext context)
|
void |
unRegisterViewSupplier(ISystemViewSupplier vs)
UnRegister a previously registered view supplier |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String copyright
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 SystemPlugin()
Method Detail |
public static SystemPlugin getDefault()
public static String getString(String key)
public static String getString(String key, String defaultString)
If not found, stack trace info is placed in the plugin's log file to help pinpoint the offending code.
public void initializeDefaultPreferences()
public boolean getShowProfilePageInitially()
true
to show profile page initially, false
otherwise.protected void initializeImageRegistry()
initializeImageRegistry
in class SystemBasePlugin
public void start(org.osgi.framework.BundleContext context) throws Exception
start
in class SystemBasePlugin
Exception
BundleActivator.start(org.osgi.framework.BundleContext)
public SystemViewAdapterFactory getSystemViewAdapterFactory()
public SystemViewFileAdapterFactory getSystemViewFileAdapterFactory()
public SystemViewOutputAdapterFactory getSystemViewOutputAdapterFactory()
public SystemViewSearchResultSetAdapterFactory getSystemViewSearchResultSetAdapterFactory()
public SystemViewSearchResultAdapterFactory getSystemViewSearchResultAdapterFactory()
public void restart()
public void closeViews()
public void openViews()
public IProject getRemoteSystemsProject()
public void stop(org.osgi.framework.BundleContext context) throws Exception
stop
in class SystemBasePlugin
Exception
BundleActivator.stop(org.osgi.framework.BundleContext)
protected void disconnectAll(boolean doSave)
public static ResourceBundle getResourceBundle()
public void setSystemTypes(SystemType[] systemTypes)
public SystemType[] getAllSystemTypes(boolean refresh)
getSystemTypes()
, this method
returns all registered system types, not just those currently enabled.
refresh
- - true if to force a re-read from disk. If specified, then the read
is not effective, but rather is only returned. To affectively revert back, you
must call setSystemTypes. This is used by the preferences page.
public SystemType[] getSystemTypes()
public SystemType getSystemType(String name)
name
- the system type namepublic static SystemType[] getTheSystemTypes(boolean includeLocal)
public String[] getSystemTypeNames()
public String[] getSystemTypeNames(boolean includeLocal)
includeLocal
- true if returned names should include "local"public ImageDescriptor getSystemTypeImage(String name, boolean connected)
public boolean getSystemTypeEnableOffline(String name)
public ISubSystemFactoryProxy[] getSubSystemFactoryProxies()
public boolean isSystemRegistryActive()
public SystemRegistry getSystemRegistry()
public static SystemRegistry getTheSystemRegistry()
public static SystemProfileManager getTheSystemProfileManager()
public static boolean isTheSystemRegistryActive()
public void setCommandView(CommandView view)
public CommandView getCommandView()
public SystemPropertyPageExtension[] getPropertyPageExtensions()
public SystemShowPreferencesPageAction[] getShowPreferencePageActions()
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 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.public static String getLocalMachineName()
public static String getLocalMachineIPAddress()
public void registerViewSupplier(ISystemViewSupplier vs)
public void unRegisterViewSupplier(ISystemViewSupplier vs)
public ISystemFileTransferModeRegistry getSystemFileTransferModeRegistry()
protected void registerArchiveHandlers()
protected void registerDynamicPopupMenuExtensions()
protected void registerKeystoreProviders()
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |