Skip to main content



      Home
Home » Archived » Visual Editor (VE) » Palette Entry
Palette Entry [message #505274] Mon, 28 December 2009 19:34
Eclipse UserFriend
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 03:56] by 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 May 20 13:49:34 EDT 2025

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

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

Back to the top