| Customizing GMF Diagram Menu and Toolbar [message #203831] | 
Fri, 29 August 2008 08:09   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: michael.wohlfart.proceedinnovation.com 
 
Hello everyone, 
 
In my application, I would like to remove/customize the "Diagram" entry  
from the main menu as well as the diagram toolbar. 
 
I understand, that they are contributed through a "partContribution" on  
IDiagramWorkbenchPart in the plugin  
"org.eclipse.gmf.runtime.diagram.ui.providers". Since my editor inherits  
from IDiagramWorkbenchPart i see no (obvious) way to solve this. 
 
I also found a bug concernig this issue  
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=111221), but it seems a  
little outdated and has no Target Milestone set yet. 
 
Any hints/information on this? Thanks in advance... 
 
Michael Wohlfart
 |  
 |  
  | 
 | 
| Re: Customizing GMF Diagram Menu and Toolbar [message #228895 is a reply to message #226870] | 
Tue, 05 May 2009 07:15   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: jxtamarc.gmail.com 
 
El dia Tue, 21 Apr 2009 16:49:14 +0200, en/na Daniel va escriure: 
 
> Hi Michael, 
>  
> I ran into the same problems recently. Have you been able to remove any 
> contributions from the diagram menu yet? Currently I see no other way 
> than forking the "org.eclipse.gmf.runtime.diagram.ui.providers"-plugins 
> (which I really won't reccomend) or am I wrong here? Any hints? 
>  
> Thanks in advance, 
>  
> Daniel 
>  
> Michael Wohlfart wrote: 
>> Hello everyone, 
>>  
>> In my application, I would like to remove/customize the "Diagram" entry 
>> from the main menu as well as the diagram toolbar. 
>>  
>> I understand, that they are contributed through a "partContribution" on 
>> IDiagramWorkbenchPart in the plugin 
>> "org.eclipse.gmf.runtime.diagram.ui.providers". Since my editor 
>> inherits from IDiagramWorkbenchPart i see no (obvious) way to solve 
>> this. 
>>  
>> I also found a bug concernig this issue 
>> (https://bugs.eclipse.org/bugs/show_bug.cgi?id=111221), but it seems a 
>> little outdated and has no Target Milestone set yet. 
>>  
>> Any hints/information on this? Thanks in advance... 
>>  
>> Michael Wohlfart 
 
any news ? I've ran as well into the same problem and haven't been able  
to find a way out to this. Any news? I'm trying to remove the toolbar and  
outline context menu and some option in the palette menu too. 
 
please if you managed to solve this, let me know!
 |  
 |  
  | 
Powered by 
FUDForum. Page generated in 0.03687 seconds