|
Re: remove add note from the palette [message #640821 is a reply to message #640682] |
Tue, 23 November 2010 10:05 |
|
Hi,
Elhamlaoui Mahmoud wrote on Tue, 23 November 2010 01:16 |
Is there a way so i can hide (or may be delete) the add note from the palette?
|
I don't get such a feature on my gmf editors, can you link to a screenshot which explains the problem?
- Asiri
|
|
|
|
Re: remove add note from the palette [message #640845 is a reply to message #640682] |
Tue, 23 November 2010 10:49 |
|
Hi,
I think there is some bug on my eclipse because I don't get this pallet item by default (even though it is enabled). You can right click on the standard tools and hide the note item but I think you are looking for a way to disable it permanently. I'm afraid I cannot give you a complete answer, but can you try adding a couple of standard tools into your tooling definition file? that might give you a hint on where you need to edit your source in order to disable default standard tools. Will look into this as time permits
- Asiri
|
|
|
|
|
Re: remove add note from the palette [message #641379 is a reply to message #641316] |
Thu, 25 November 2010 09:10 |
|
Dear colleague,
You could have shown to Mahmoud this piece of preferences customization, that we actually use to hide the note entry:
http://www.bonitasoft.org/websvn/filedetails.php?repname=Bon ita+Open+Solution&path=%2Fbonita-studio%2Fbranches%2Fbon ita-studio-5.3.1%2Freleng%2Forg.bonitasoft.studio-product%2F plugin_customization.ini
The most important element here is the following value for the preference:
org.eclipse.gmf.runtime.diagram.ui/org.eclipse.gmf.runtime.d iagram.ui.paletteCustomizations= <?xml version\="1.0" encoding\="UTF-8"?>\n<org.eclipse.gmf.runtime.diagram.ui.paletteCustomizations >\n<standardGroup>\n<noteStack isVisible\="false"/>\n</standardGroup>\n</org.eclipse.gmf.runtime.diagram.ui.paletteCustomizations >
Regards,
Le 24/11/2010 22:56, Aurelien Pupier a écrit :
> Hi,
>
> we remove it and do some other customization that you can look here:
> http://www.bonitasoft.org/websvn/filedetails.php?repname=Bon ita+Open+Solution&path=/bonita-studio/trunk/plugins/org. bonitasoft.studio-models/GMFTemplates/aspects/xpt/editor/Edi tor.xpt
>
> in createPartControl
>
> BTW, a much simpler way is to play with some preference. You can find
> them by right-clicking on the Bar containing the Note button and then
> "Customize..",. In "standard" root, you can select Note and check "Hide"
>
>
> Regards,
--
Mickael Istria -- BonitaSoft S.A.
http://www.bonitasoft.com/products/BPM_download.php
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03760 seconds