Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » Palette Entry
Palette Entry [message #617590] Tue, 29 December 2009 00:34
Sarvesh  is currently offline 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 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
Previous Topic:Palette Entry
Next Topic:Visual Editor and Eclipse Java EE IDE for Web Developers.
Goto Forum:
  


Current Time: Sat Oct 25 13:38:34 GMT 2014

Powered by FUDForum. Page generated in 0.01592 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software