Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 326369 - Separator in Palette Compartment cannot be made
Summary: Separator in Palette Compartment cannot be made
Status: CLOSED FIXED
Alias: None
Product: Graphiti
Classification: Modeling
Component: Core (show other bugs)
Version: 0.7.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 0.7.0   Edit
Assignee: Matthias Gorning CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-27 23:34 EDT by Animesh Kumar CLA
Modified: 2010-10-07 05:12 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Animesh Kumar CLA 2010-09-27 23:34:02 EDT
Build Identifier: 

I was trying to create Palette compartments using Graphiti. I have created a BehaviourProvider which extends the DefaultBehaviourProvider. Using the DefaultBehaviourProvider i have created two different palette Compartments for Objects and Connections. Now, I want to create a separator inside the Object compartment to separate the independently existing objects and objects which are dependant on independant objects for their existence. You may say, EPackage, EClass, EDataType, EEnum, EAnnotation in one part and EAttribute, EOperation, DetailsEntry, EEnumLiteral in another part. 

Is there any way to do this??? 
I could not find how to create a separator inside a palette compartment.

http://www.eclipse.org/forums/index.php?t=rview&goto=629171#msg_629171If

Reproducible: Always
Comment 1 Michael Wenz CLA 2010-09-28 02:29:35 EDT
This is indeed missing functionality. The GEF palette separator needs to be wrapped and supported by the framework
Comment 2 Matthias Gorning CLA 2010-10-01 08:47:56 EDT
I've fixed it today.

From now on you can add a palette separator with

<your PaletteCompartmentEntry>.addToolEntry(new PaletteSeparatorEntry());
Comment 3 Michael Wenz CLA 2010-10-07 05:12:56 EDT
Part of 0.7.0 release