|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
Defines the interface that must be implemented for adapters of for subsystem configurations. This adapter is used when creating wizard pages for new connections.
| Method Summary | |
|---|---|
void |
addCommonRemoteActions(ISubSystemConfiguration factory,
SystemMenuManager menu,
IStructuredSelection selection,
Shell shell,
String menuGroup,
ISubSystem subsystem)
Returns any framework-supplied actions remote objects that should be contributed to the popup menu for the given selection list. |
void |
configureNewFilterAction(ISubSystemConfiguration factory,
SystemNewFilterAction newFilterAction,
Object callerData)
There is a reasonable amount of processing needed to configure filter wizards. |
ISystemFilter |
createFilterByPrompting(ISubSystemConfiguration factory,
ISystemFilterReference referenceToPromptableFilter,
Shell shell)
Prompt the user to create a new filter as a result of the user expanding a promptable filter. |
void |
customizeChangeFilterPropertyPage(ISubSystemConfiguration factory,
SystemChangeFilterPropertyPage page,
ISystemFilter selectedFilter,
Shell shell)
In addition to a change filter action, we now also support the same functionality via a Properties page for filters. |
void |
customizeFilterStringPropertyPage(ISubSystemConfiguration factory,
SystemFilterStringPropertyPage page,
ISystemFilterString selectedFilterString,
Shell shell)
In addition to a change filter action, we now also support the same functionality via a Properties page for filter strings, in the Team View. |
IAction[] |
getFilterActions(ISubSystemConfiguration factory,
ISystemFilter selectedFilter,
Shell shell)
Returns a list of actions for the popup menu when user right clicks on a filter object. |
IAction[] |
getFilterPoolActions(ISubSystemConfiguration factory,
ISystemFilterPool selectedPool,
Shell shell)
Returns a list of actions for the popup menu when user right clicks on a filter pool object within a subsystem of this factory. |
IAction[] |
getFilterPoolReferenceActions(ISubSystemConfiguration factory,
ISystemFilterPoolReference selectedPoolReference,
Shell shell)
Returns a list of actions for the popup menu when user right clicks on a filter pool reference object within a subsystem of this factory. |
IAction[] |
getFilterReferenceActions(ISubSystemConfiguration factory,
ISystemFilterReference selectedFilterRef,
Shell shell)
Returns a list of actions for the popup menu when user right clicks on a filter reference object within a subsystem of this factory. |
Image |
getGraphicsImage(ISubSystemConfiguration factory)
Return actual graphics Image of this factory. |
Image |
getGraphicsLiveImage(ISubSystemConfiguration factory)
Return actual graphics LiveImage of this factory. |
ImageDescriptor |
getImage(ISubSystemConfiguration factory)
Return image descriptor for subsystems created by this factory. |
ImageDescriptor |
getLiveImage(ISubSystemConfiguration factory)
Return image to use when this susystem is connection. |
ISystemNewConnectionWizardPage[] |
getNewConnectionWizardPages(ISubSystemConfiguration factory,
IWizard wizard)
Optionally return one or more wizard pages to append to the New Connection Wizard if the user selects a system type that this subsystem factory supports. |
ISystemValidator |
getPasswordValidator(ISubSystemConfiguration confi)
Return the validator for the password which is prompted for at runtime. |
ISystemValidator |
getPortValidator(ISubSystemConfiguration confi)
Return the validator for the port. |
PropertyPage |
getPropertyPage(ISubSystem subsystem,
Composite parent)
Return the single property page to show in the tabbed notebook for the for SubSystem property of the parent Connection. |
IServerLauncherForm |
getServerLauncherForm(ISubSystemConfiguration factory,
Shell shell,
ISystemMessageLine msgLine)
Return the form used in the property page, etc for this server launcher. |
IAction[] |
getSubSystemActions(ISubSystemConfiguration factory,
ISubSystem selectedSubSystem,
Shell shell)
Returns a list of actions for the popup menu when user right clicks on a subsystem object from this factory. |
ISystemSubSystemPropertyPageCoreForm |
getSubSystemPropertyPageCoreFrom(ISubSystemConfiguration factory,
ISystemMessageLine msgLine,
Object caller)
|
ImageDescriptor |
getSystemFilterImage(ISystemFilter filter)
Supply the image to be used for filters, within actions. |
ImageDescriptor |
getSystemFilterPoolImage(ISystemFilterPool filterPool)
Supply the image to be used for filter pools, within actions. |
ImageDescriptor |
getSystemFilterPoolManagerImage()
Supply the image to be used for filter pool managers, within actions. |
ImageDescriptor |
getSystemFilterStringImage(ISystemFilterString filterString)
|
ImageDescriptor |
getSystemFilterStringImage(String filterStringString)
|
ISystemValidator |
getUserIdValidator(ISubSystemConfiguration config)
Return the validator for the userId. |
void |
renameSubSystemProfile(ISubSystemConfiguration factory,
String oldProfileName,
String newProfileName)
|
| Method Detail |
public void configureNewFilterAction(ISubSystemConfiguration factory,
SystemNewFilterAction newFilterAction,
Object callerData)
The processing we do here is to specify the filter pools to prompt the user for, in the second page of the New Filter wizards.
This method is from the ISystemNewFilterActionConfigurator interface
public ISystemNewConnectionWizardPage[] getNewConnectionWizardPages(ISubSystemConfiguration factory,
IWizard wizard)
Some details:
#createSubSystem(IHost,boolean, ISystemNewConnectionWizardPage[]) method to create the
your subsystem for the connection. The same pages you return here are passed back to you so you can
interrogate them for the user-entered data and use it when creating the default subsystem instance.
AbstractSystemNewConnectionWizardPage for your wizard page class.
public void addCommonRemoteActions(ISubSystemConfiguration factory,
SystemMenuManager menu,
IStructuredSelection selection,
Shell shell,
String menuGroup,
ISubSystem subsystem)
menu - The menu to contribute actions toselection - The window's current selection.shell - of viewer calling this. Most dialogs require a shell.menuGroup - recommended menu group to add actions to. If added to another group, you must be sure to create that group first.subsystem - the subsystem of the selection
public IAction[] getFilterPoolActions(ISubSystemConfiguration factory,
ISystemFilterPool selectedPool,
Shell shell)
public IAction[] getFilterPoolReferenceActions(ISubSystemConfiguration factory,
ISystemFilterPoolReference selectedPoolReference,
Shell shell)
Only supported by subsystems that support filters.
public IAction[] getFilterActions(ISubSystemConfiguration factory,
ISystemFilter selectedFilter,
Shell shell)
Only supported and used by subsystems that support filters.
Most actions are handled in this base, except if you have your own action for creating a new nested filter. In this case, override getNewFilterAction()
public void customizeChangeFilterPropertyPage(ISubSystemConfiguration factory,
SystemChangeFilterPropertyPage page,
ISystemFilter selectedFilter,
Shell shell)
public void customizeFilterStringPropertyPage(ISubSystemConfiguration factory,
SystemFilterStringPropertyPage page,
ISystemFilterString selectedFilterString,
Shell shell)
public ISystemFilter createFilterByPrompting(ISubSystemConfiguration factory,
ISystemFilterReference referenceToPromptableFilter,
Shell shell)
throws Exception
Exception
public IAction[] getFilterReferenceActions(ISubSystemConfiguration factory,
ISystemFilterReference selectedFilterRef,
Shell shell)
Most actions are handled in this base, except if you have your own action for
creating a new filter. In this case, override getNewFilterAction()
To add additional actions, override #getFilterReferenceActions(ISystemFilterReference, Shell).
selectedFilterRef - the currently selected filter referenceshell - parent shell of viewer where the popup menu is being constructed
public IAction[] getSubSystemActions(ISubSystemConfiguration factory,
ISubSystem selectedSubSystem,
Shell shell)
public IServerLauncherForm getServerLauncherForm(ISubSystemConfiguration factory,
Shell shell,
ISystemMessageLine msgLine)
#supportsServerLaunchProperties() returns true.
public ISystemSubSystemPropertyPageCoreForm getSubSystemPropertyPageCoreFrom(ISubSystemConfiguration factory,
ISystemMessageLine msgLine,
Object caller)
public ImageDescriptor getImage(ISubSystemConfiguration factory)
public Image getGraphicsImage(ISubSystemConfiguration factory)
public ImageDescriptor getLiveImage(ISubSystemConfiguration factory)
public Image getGraphicsLiveImage(ISubSystemConfiguration factory)
public ImageDescriptor getSystemFilterPoolManagerImage()
public ImageDescriptor getSystemFilterPoolImage(ISystemFilterPool filterPool)
public ImageDescriptor getSystemFilterImage(ISystemFilter filter)
public ImageDescriptor getSystemFilterStringImage(ISystemFilterString filterString)
public ImageDescriptor getSystemFilterStringImage(String filterStringString)
public void renameSubSystemProfile(ISubSystemConfiguration factory,
String oldProfileName,
String newProfileName)
public PropertyPage getPropertyPage(ISubSystem subsystem,
Composite parent)
public ISystemValidator getUserIdValidator(ISubSystemConfiguration config)
This must be castable to ICellEditorValidator for the property sheet support.
public ISystemValidator getPasswordValidator(ISubSystemConfiguration confi)
public ISystemValidator getPortValidator(ISubSystemConfiguration confi)
|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||