|
|
|
Re: dynamically fill the palette contents(PaletteProvider)? [message #93758 is a reply to message #93611] |
Wed, 17 January 2007 14:54  |
Eclipse User |
|
|
|
One Last point;
My Previous answer was form the runtime point of view, if you are using
the code generation
the method you are looking for will be
xxxDiagramEditor#createPaletteRoot and it will be calling
xxxPaletteFactory().fillPalette(root)
where xxxDiagramEditor is your generated Diagram editor and
xxxPaletteFactory is your generated PaletteFactory
Mohammed Mostafa wrote:
> Hi I'm not sure why do you need the createPaletteRoot, usually we
> add/remove elements to the palette using the plugin XML.
> but any way; if you need this method it is in
>
> DiagramEditorWithFlyOutPalette
>
>
> IMRAN wrote:
>> Hello Alex,
>>
>> I didn't find DiagramEditor.createPaletteRoot() in Diagram Editor.
>> From where should i get this file. to change the content of the palette.
>>
>> Thanks
>> Imran
>>
>>
|
|
|
Powered by
FUDForum. Page generated in 0.06785 seconds