Bug 160225

Summary: Respect EStructuralFeature cardinality in commands that create/move/clone elements
Product: [Modeling] GMF-Tooling (ARCHIVED) Reporter: Boris Blajer <boris.blajer>
Component: CoreAssignee: Boris Blajer <boris.blajer>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 Keywords: contributed
Version: 2.0   
Target Milestone: 2.0   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Fixes the Subj none

Description Boris Blajer CLA 2006-10-09 11:58:44 EDT
It should not be possible to create a node (or have a node created otherwise, e.g., by moving an element from a different container), if the structural feature(s) that hold the element have reached the maximum capacity. Node that this check is already performed for links (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=143983).
Comment 1 Boris Blajer CLA 2006-10-11 10:07:16 EDT
Created attachment 51755 [details]
Fixes the Subj

+Tests + Tests for https://bugs.eclipse.org/bugs/show_bug.cgi?id=143983
Comment 2 Artem Tikhomirov CLA 2006-10-12 08:25:29 EDT
reviewed and committed
Comment 3 Richard Gronback CLA 2008-08-13 13:10:20 EDT
[target cleanup] 2.0 M2 was the original target milestone for this bug
Comment 4 Eclipse Webmaster CLA 2010-07-19 22:22:28 EDT
[GMF Restructure] Bug 319140 : product GMF and component
Generation - Lite was the original product and component for this bug