[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.modeling.gmf] Adding SpecializationTypes to Palette by ExtensionPoints
|
- From: Chris Klapdohr <klapdohr@xxxxxx>
- Date: Thu, 25 Jan 2007 11:01:41 +0100
- Newsgroups: eclipse.modeling.gmf
- Organization: EclipseCorner
- User-agent: Thunderbird 1.5.0.9 (Windows/20061207)
Hi everyone,
I tried to add the HalfAdder SpecializationType of the
GMF-Logic-Example to the palette of the example.
The entry is shown in the palette, but trying to add a halfadder to the
canvas a white arrow-cursor is shown, but no halfadder is added.
What I did is to add the entry below to the contribution of the
PaletteProviderExtensionPoint and to put an according entry to the
toolMap in the LogicPaletteFactory.
What else do I have to add / set to add a halfadder to the canvas by
palette?
Best regards, Chris
<entry
description="%HalfAdderTool.Description"
id="halfadder"
kind="tool"
label="%HalfAdderTool.Label"
large_icon="icons/halfadder24.gif"
path="/logicDrawer/"
small_icon="icons/halfadder16.gif">
</entry>