Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Disabling Format and Filters popup menu
Disabling Format and Filters popup menu [message #190726] Tue, 03 June 2008 15:48 Go to next message
Youmm P. is currently offline Youmm P.Friend
Messages: 140
Registered: July 2009
Senior Member
Hello,

Is it possible to disable the "Format" and "Filters" context menus?

I tried to use

<popupPredefinedItem id="filtersMenu" remove="true"/>
<popupPredefinedItem id="fontDialogAction" remove="true"/>

with the extension point
org.eclipse.gmf.runtime.common.ui.services.action.contributi onItemProviders
but without success.

Thanks in advance.
Re: Disabling Format and Filters popup menu [message #191055 is a reply to message #190726] Wed, 04 June 2008 16:04 Go to previous messageGo to next message
Jens Bachmann is currently offline Jens BachmannFriend
Messages: 52
Registered: July 2009
Member
Hello Youmm,

the following works fine for me in plugin.xml of my diagram:

<extension
point=" org.eclipse.gmf.runtime.common.ui.services.action.contributi onItemProviders ">
<contributionItemProvider checkPluginLoaded="false"

class=" org.eclipse.gmf.runtime.diagram.ui.providers.DiagramContribu tionItemProvider ">
<Priority name="Low"> </Priority>
<popupContribution
class=" org.eclipse.gmf.runtime.diagram.ui.providers.DiagramContextM enuProvider ">
<popupPredefinedItem id="filtersMenu" remove="true">
</popupPredefinedItem>
<popupPredefinedItem id="formatMenu" remove="true">
</popupPredefinedItem>
</popupContribution>
</contributionItemProvider>
</extension>

Can you try this and give us the result?

Regards,
Jens

Youmm P. schrieb:
> Hello,
>
> Is it possible to disable the "Format" and "Filters" context menus?
>
> I tried to use
>
> <popupPredefinedItem id="filtersMenu" remove="true"/>
> <popupPredefinedItem id="fontDialogAction" remove="true"/>
>
> with the extension point
> org.eclipse.gmf.runtime.common.ui.services.action.contributi onItemProviders
> but without success.
>
> Thanks in advance.
Re: Disabling Format and Filters popup menu [message #191163 is a reply to message #191055] Thu, 05 June 2008 14:11 Go to previous message
Youmm P. is currently offline Youmm P.Friend
Messages: 140
Registered: July 2009
Senior Member
> Can you try this and give us the result?
It works fine! *Thanks a lot*.
Previous Topic:NotationModel: What is a RelativeBendpoint?
Next Topic:Refresh all the diagram
Goto Forum:
  


Current Time: Thu Apr 25 10:09:28 GMT 2024

Powered by FUDForum. Page generated in 0.02823 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top