Palette Entry [message #505274] |
Tue, 29 December 2009 00:34 |
Sarvesh Messages: 10 Registered: August 2009 |
Junior Member |
|
|
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 bean 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
[Updated on: Tue, 29 December 2009 08:56] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.02395 seconds