| RE: [dsdp-tm-dev] RE: [dsdp-dev] Disable Host property page for customIHost |
From: dsdp-dev-bounces@xxxxxxxxxxx [mailto:dsdp-dev-bounces@xxxxxxxxxxx] On Behalf Of Hochstein Tom-R60874
Sent: Montag, 17. August 2009 17:43
To: General discussion of device software development platform issues.
Subject: RE: [dsdp-dev] Disable Host property page for custom IHostHi Martin,Thanks much for the info. I was hoping I was missing something. I had considered moving the extension point from IHost to RSEHost, as you suggest, but the downside was that if I wanted to contribute it, it would cause an incompatibility problem for anyone that had implemented their own IHost. If I were to submit such a patch, do you think we could include it in a future release?Tom
From: dsdp-dev-bounces@xxxxxxxxxxx [mailto:dsdp-dev-bounces@xxxxxxxxxxx] On Behalf Of Oberhuber, Martin
Sent: Wednesday, August 12, 2009 5:13 PM
To: General discussion of device software development platform issues.
Subject: RE: [dsdp-dev] Disable Host property page for custom IHostHi Tom,the stock IHost property page is contributed via an org.eclipse.ui.propertyPages extension point, so if youare OK with globally disabling it everywhere it might work defining a Capability to hide it in the UI(org.eclipse.ui.activities extension point).If you want stock RSE host's in your product along with your custom host's, then I am afraid the onlything you can do is override the "Show Properties" action for your custom host / custom subsystem,which displays the Property Dialog, and have a custom implementation of the Property Dialog whichdoes not show the property page that you want to hide.If you are OK with patching RSE's plugin.xml in your product, then you could only modify theplugin.xml to contribute the property page against the RSEHost implementation rather thanthe IHost interface.... actually, that might also work with the Capabilities trick mentioned above:have the Capability hide the original property page from the UI, but also contribute your modifiedproperty page which you register against RSEHost rather than IHost.Hope it works out,Cheers,--Martin Oberhuber, Senior Member of Technical Staff, Wind RiverTarget Management Project Lead, DSDP PMC Member
From: dsdp-dev-bounces@xxxxxxxxxxx [mailto:dsdp-dev-bounces@xxxxxxxxxxx] On Behalf Of Hochstein Tom-R60874
Sent: Mittwoch, 05. August 2009 20:25
To: dsdp-tm-dev@xxxxxxxxxxx
Cc: General discussion of device software development platform issues.
Subject: RE: [dsdp-dev] Disable Host property page for custom IHost[repost to TM list]
From: dsdp-dev-bounces@xxxxxxxxxxx [mailto:dsdp-dev-bounces@xxxxxxxxxxx] On Behalf Of Hochstein Tom-R60874
Sent: Wednesday, August 05, 2009 10:34 AM
To: dsdp-dev@xxxxxxxxxxx
Subject: [dsdp-dev] Disable Host property page for custom IHost
Hi,
I am working on a custom IHost implementation. I have extended org.eclipse.rse.core.systemTypeProviders to create a custom IRSESystemType, and I have extended org.eclipse.rse.ui.newConnectionWizards to provide a custom configuration wizard. With this, I'm able to create my custom IHost via IRSESystemType.createNewHostInstance().
I have also extended org.eclipse.ui.propertyPages so that I can see my custom configuration when I open the host properties.
The problem is that I also see the stock Host property page, which represents the very thing I'm trying to customize. In my design, the user must make some other selections before he is presented applicable physical connection choices, and even there the media may not be TCP/IP.
Is there a way to disable the Host property page?
Tom
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The information contained in this Email has been classified:
[x] Public
[ ] Freescale Internal Use Only
[ ] Freescale Confidential