Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » Palette Entry
Palette Entry [message #505274] Tue, 29 December 2009 00:34
Sarvesh  is currently offline Sarvesh Friend
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

Previous Topic:How can I view the visual components from a class that extends from an abstract class?
Next Topic:Palette Entry
Goto Forum:
  


Current Time: Tue Mar 19 04:05:02 GMT 2024

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

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

Back to the top