Community
Participate
Working Groups
Currently ResizableCompartmentEditPolicy will be installed for child compartments in ConstrainedToolbarLayoutEditPolicy.createChildEditPolicy() method only. As a result, only compartments located in a node with ConstrainedToolbarLayoutEditPolicy installed (i.e. with ConstrainedToolbarLayout) will get this EditPolicy installed. ResizableCompartmentEditPolicy is an EditPolicy responsible for drawing little triangle in the left-top corner of the compartment and collapsing/expanding compartment on mouse-click on this triangle. So, currently only those compartments which are located in a node with ConstrainedToolbarLayout will get this collapse/expand control. All the compartments located in nodes with different layouts should get ResizableCompartmentEditPolicy installed. For the conditions of ResizableCompartmentEditPolicy installation see ConstrainedToolbarLayoutEditPolicy.createChildEditPolicy() Processing of node layouts was changed on closing https://bugs.eclipse.org/bugs/show_bug.cgi?id=140186
Created attachment 44138 [details] Fixes the subj Policy is installed when gmfgraph compartment has canCollapse property = true. Thus, non-collapsible compartments still intentionally do not have collapse handle.
commited
[GMF Restructure] Bug 319140 : product GMF and component Generation was the original product and component for this bug