Home » Eclipse Projects » DSDP - Target Management » creating a custom Connection
|
Re: creating a custom Connection [message #15347 is a reply to message #15281] |
Thu, 27 September 2007 23:48 |
Martin Oberhuber Messages: 1007 Registered: July 2009 |
Senior Member |
|
|
Hi Dave,
There's basically two possibilities:
a) Your new systemType exhibits unique special functionality, that is
not tied to any particular subsystem. For instance, a special kind
of connectivity like serial line or JTAG. In this case, register a
newConnectionWizard by extension point:
http://dsdp.eclipse.org/help/latest/topic/org.eclipse.rse.do c.isv/reference/extension-points/org_eclipse_rse_ui_newConne ctionWizards.html
you can take the service discovery wizard as example, see the
org.eclipse.rse.discovery
plugin.
b) Your new systemType is more of a collection of existing subsystems,
and may even be extendable by more subsystems you do not know yet.
The system-specific properties are just the IP address, all the
rest of configuration is tied to the subsystems.
For this case, each ISubSystemConfiguration is associated with an
ISubSystemConfigurationAdapter which lives in the UI. The adapter
can contribute wizard pages specific to the subsystem, through
ISubSystemConfigurationAdapter#getNewConnectionWizardPages()
http://dsdp.eclipse.org/help/latest/topic/org.eclipse.rse.do c.isv/reference/api/org/eclipse/rse/ui/subsystems/ISubSystem ConfigurationAdapter.html#getNewConnectionWizardPages (org.eclipse.rse.core.subsystems.ISubSystemConfiguration,%20 org.eclipse.jface.wizard.IWizard)
The "daytime" example from the Examples download has code which
shows how this can be used: org.eclipse.rse.examples.daytime
DaytimeSubSystemConfigurationAdapter.
HTH,
Martin Oberhuber
--
Martin Oberhuber
Wind River Systems, Inc.
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm
|
|
|
Re: creating a custom Connection [message #570292 is a reply to message #15281] |
Thu, 27 September 2007 23:48 |
Martin Oberhuber Messages: 1007 Registered: July 2009 |
Senior Member |
|
|
Hi Dave,
There's basically two possibilities:
a) Your new systemType exhibits unique special functionality, that is
not tied to any particular subsystem. For instance, a special kind
of connectivity like serial line or JTAG. In this case, register a
newConnectionWizard by extension point:
http://dsdp.eclipse.org/help/latest/topic/org.eclipse.rse.do c.isv/reference/extension-points/org_eclipse_rse_ui_newConne ctionWizards.html
you can take the service discovery wizard as example, see the
org.eclipse.rse.discovery
plugin.
b) Your new systemType is more of a collection of existing subsystems,
and may even be extendable by more subsystems you do not know yet.
The system-specific properties are just the IP address, all the
rest of configuration is tied to the subsystems.
For this case, each ISubSystemConfiguration is associated with an
ISubSystemConfigurationAdapter which lives in the UI. The adapter
can contribute wizard pages specific to the subsystem, through
ISubSystemConfigurationAdapter#getNewConnectionWizardPages()
http://dsdp.eclipse.org/help/latest/topic/org.eclipse.rse.do c.isv/reference/api/org/eclipse/rse/ui/subsystems/ISubSystem ConfigurationAdapter.html#getNewConnectionWizardPages (org.eclipse.rse.core.subsystems.ISubSystemConfiguration,%20 org.eclipse.jface.wizard.IWizard)
The "daytime" example from the Examples download has code which
shows how this can be used: org.eclipse.rse.examples.daytime
DaytimeSubSystemConfigurationAdapter.
HTH,
Martin Oberhuber
--
Martin Oberhuber
Wind River Systems, Inc.
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm
|
|
|
Goto Forum:
Current Time: Sat Sep 21 00:03:58 GMT 2024
Powered by FUDForum. Page generated in 0.03951 seconds
|