change visibility of Standard Palette [message #1081708] |
Wed, 07 August 2013 15:31 |
JIAN SHEN Messages: 8 Registered: June 2013 |
Junior Member |
|
|
Hi again,
Thanks to the function of palette customization, I created some new drawers and managede to let them appear normally, also likes the customization of properties view, I can choose to disable the orignal two drawers (Standard Palette).
In order to realize this programmatically, I found the method: org.eclipse.papyrus.uml.diagram.common.part.PapyrusPalettePreferences.changePaletteVisibility(String providerID, String editorClass, boolean visible), and as I found the Standard Palette in the org.eclipse.papyrus.uml.diagram.clazz, I tryed to use "PapyrusUMLClassDiagram.standard" as providerID and "org.eclipse.papyrus.uml.diagram.clazz" as editorClass but without success, I have also tryed many other possibilities but without success neither, do you have any advice?
Once again thanks for your help!
|
|
|
|
Powered by
FUDForum. Page generated in 0.02635 seconds