Suppress general views in dialog "Window->Show View"? [message #481178] |
Thu, 20 August 2009 00:47 |
Eclipse User |
|
|
|
Originally posted by: carsten.labinsky.de
I am currently developing a RCP application using GEF's GraphicalEditor.
The "Show View" dialog shows the following views in category "General":
- Outline
- Palette
- Properties
Is there any way to remove these general views from the List?
|
|
|
|
|
Re: Suppress general views in dialog "Window->Show View"? [message #481668 is a reply to message #481356] |
Sat, 22 August 2009 20:42 |
Eclipse User |
|
|
|
Originally posted by: carsten.labinsky.de
Fred schrieb:
> I guess one of the most common way to do that is to use activities.
> ...
That's exactly what I needed. Great! :)
Here is my final solution (for the sake of completeness):
<extension point="org.eclipse.ui.activities">
<activity
id="my.hidden.contributions"
name="Hidden Contributions">
</activity>
<activityPatternBinding
activityId="my.hidden.contributions"
isEqualityPattern="true"
pattern="org.eclipse.ui.views/org.eclipse.ui.views.ContentOutline ">
</activityPatternBinding>
<activityPatternBinding
activityId="com.intanges.iplotx.hidden.contributions"
isEqualityPattern="true"
pattern="org.eclipse.ui.views/org.eclipse.ui.views.PropertySheet ">
</activityPatternBinding>
<activityPatternBinding
activityId="com.intanges.iplotx.hidden.contributions"
isEqualityPattern="true"
pattern="org.eclipse.gef/org.eclipse.gef.ui.palette_view">
</activityPatternBinding>
</extension>
Thank you very much for your help!
Carsten
|
|
|
Powered by
FUDForum. Page generated in 0.04048 seconds