Bug 143983 - Lite Generation: Respect link cardinality in commands that start connections
Summary: Lite Generation: Respect link cardinality in commands that start connections
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: 2.0   Edit
Assignee: Boris Blajer CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2006-05-26 12:09 EDT by Boris Blajer CLA
Modified: 2010-07-19 22:18 EDT (History)
1 user (show)

See Also:


Attachments
Fixes the subj (152.84 KB, patch)
2006-05-26 16:17 EDT, Boris Blajer CLA
no flags Details | Diff
Fixes the subj (155.10 KB, patch)
2006-05-29 03:53 EDT, Boris Blajer CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Boris Blajer CLA 2006-05-26 12:09:54 EDT
If the corresponding features (containment/child features for TypeLinkModelFacet and metaFeature for the FeatureModelFacet) do not have enough capacity to hold a new element, the command that starts the link should not be executable to give the user visual feedback (i.e., the "No" cursor) that the link cannot be created irrespective of the target.
Comment 1 Boris Blajer CLA 2006-05-26 16:17:11 EDT
Created attachment 42778 [details]
Fixes the subj
Comment 2 Boris Blajer CLA 2006-05-29 03:53:27 EDT
Created attachment 42844 [details]
Fixes the subj

Same as before, but returns null instead of an unexecutable command if cannot start a link (otherwise, the mouse cursor does not visually indicate the fact that the link cannot be started)
Comment 3 Artem Tikhomirov CLA 2006-05-29 08:20:12 EDT
Tests?
Comment 4 Artem Tikhomirov CLA 2006-10-12 08:26:23 EDT
Tests were contributed as part of https://bugs.eclipse.org/bugs/show_bug.cgi?id=160225
Comment 5 Boris Blajer CLA 2006-10-19 08:31:48 EDT
The patch and the tests are in the code base, so I am closing this one.
Comment 6 Eclipse Webmaster CLA 2010-07-19 22:18:23 EDT
[GMF Restructure] Bug 319140 : product GMF and component
Generation was the original product and component for this bug