Bug 143934 - Compartment title is not shown on diagram
Summary: Compartment title is not shown on diagram
Status: RESOLVED FIXED
Alias: None
Product: GMF-Tooling (ARCHIVED)
Classification: Modeling
Component: Core (show other bugs)
Version: 1.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Michael Golubev CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2006-05-26 08:33 EDT by Dmitry Stadnik CLA
Modified: 2010-07-19 12:19 EDT (History)
1 user (show)

See Also:


Attachments
Fixes the subj (86.77 KB, patch)
2006-06-05 16:31 EDT, Michael Golubev CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Stadnik CLA 2006-05-26 08:33:21 EDT
- Generate diagram editor
- Open diagram and create node with compartment
- Select compartment within node
- From context menu select Filters -> Show Compartment Title
=> Menu item becomes checked but compartment title is not shown though 
specified in gmfgen model
Comment 1 Artem Tikhomirov CLA 2006-05-29 14:07:21 EDT
GenCompartment#needsTitle == true means compartment element may have title (has TitleStyle installed), which is visible by default and subject to enablement actions of runtime (i.e. could be hidden with runtime actions, if any). needsTitle == false means there should be no title at all, regardless of runtime hide/show compartment setting.
Comment 2 Michael Golubev CLA 2006-06-05 16:31:27 EDT
Created attachment 43526 [details]
Fixes the subj

In addition to the compartment's title, this patch fixed compartment isCollapsibke property in the same way. That is, if gmfgraph compartment has this property set to false, then it is impossible to collapse compartment via property sheet.

NOTE: 
There are 2 switched tests in the CompartmentPropertiesTest case. 
I am unable to understand why they do not work. However, I have tested
Comment 3 Alex Shatalin CLA 2006-06-06 13:45:52 EDT
reviewed, modified, commited.
Comment 4 Eclipse Webmaster CLA 2010-07-19 12:19:32 EDT
[GMF Restructure] Bug 319140 : product GMF and component
Templates was the original product and component for this bug