Bug 51060 - EditPart base class getCommand should return interface
Summary: EditPart base class getCommand should return interface
Status: RESOLVED DUPLICATE of bug 37716
Alias: None
Product: GEF
Classification: Tools
Component: GEF-Legacy GEF (MVC) (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: gef-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-02 11:50 EST by Steven R. Shaw CLA
Modified: 2004-05-01 20:10 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steven R. Shaw CLA 2004-02-02 11:50:47 EST
EditPart::getCommand() returns an abstract class which makes it difficult to 
adopt an existing command infrastructure.  If it returned an interface this 
gives clients the option to implement the interface in their specific command 
infrastructure.  Currently the only way around this is wrap 3rd party commands 
in a proxy command which subclasses from the GEF command abstract class.

Fix desired for: GEF 3.0
Comment 1 Randy Hudson CLA 2004-05-01 20:10:03 EDT
We won't break API prior to bug 37716 being addressed.

*** This bug has been marked as a duplicate of 37716 ***