Palette Entry [message #617590] |
Mon, 28 December 2009 19:34 |
Eclipse User |
|
|
|
Hi,
I have some custom widgets on the palette and I have the requirement to get the Label(on palette) of widget programmatically.
my palette entry look like:
<children xsi:type="org.eclipse.ve.internal.cde.palette:EMFCreationToolEntry " icon16Name=" platform:/plugin/com.example.ui.editor/iconsCustom/uiWidgets Label.gif " creationClassURI="java:/example.visual#CustomLabelWidgetVisualization ">
<entryLabel xsi:type="org.eclipse.ve.internal.cde.utility:ConstantString " string="My Custom Label"/>
<keyedValues xsi:type="ecore:EStringToStringMapEntry" key="org.eclipse.ve.internal.cde.core.nameincomposition" value="label"/>
</children>
I have been instance(IJavaInstance) and EditDomain Object but I need to access the same label (entryLabel in my case "My Custom Label") programmatically that I have given into palette entry.
Is there any utility exist in VE that could assist me meeting my requirements.
Any help is appreciated.
Thanks in advance!
-Sarvesh
|
|
|
Powered by
FUDForum. Page generated in 0.03969 seconds