[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [dsdp-tm-dev] RE: [dsdp-dev] Disable Host property page for customIHost

Title: Disable Host property page for custom IHost
Thanks.  I entered https://bugs.eclipse.org/bugs/show_bug.cgi?id=287121.
 
Tom


From: dsdp-tm-dev-bounces@xxxxxxxxxxx [mailto:dsdp-tm-dev-bounces@xxxxxxxxxxx] On Behalf Of Oberhuber, Martin
Sent: Tuesday, August 18, 2009 10:55 AM
To: General discussion of device software development platform issues.; Target Management developer discussions
Subject: [dsdp-tm-dev] RE: [dsdp-dev] Disable Host property page for customIHost

Hi Tom,
 
this question is something I cannot decide alone.
 
I suggest that you file an enhancement request, e.g. "RSE Host Property Page should be contributed against RSEHost rather than IHost" and you argue why that makes sense. Then we can have a focused discussion involving all the Community on bugzilla.
 
Attaching a patch should be simple enough in that case and may help understanding what you intend doing, but I don't think it is required - we can also have a discussion first.
 
Cheers,
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm
 
 


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 IHost

Hi 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 IHost

Hi Tom,
 
the stock IHost property page is contributed via an org.eclipse.ui.propertyPages extension point, so if you
are 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 only
thing 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 which
does 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 the
plugin.xml  to contribute the property page against the RSEHost implementation rather than
the 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 modified
property page which you register against RSEHost rather than IHost.
 
Hope it works out,
 
Cheers,
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm
 
 


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