Bug 285117 - GMF Developer Guide partly obsolete
Summary: GMF Developer Guide partly obsolete
Status: NEW
Alias: None
Product: GMF-Runtime
Classification: Modeling
Component: General (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal
Target Milestone: ---   Edit
Assignee: Inbox CLA
QA Contact:
URL: http://help.eclipse.org/galileo/topic...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-30 02:39 EDT by Udo Walker CLA
Modified: 2010-07-19 22:00 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Udo Walker CLA 2009-07-30 02:39:49 EDT
Build ID: Build id: 20090619-0625

Steps To Reproduce:
1.Use GMF SDK, e.g. as part of the Modeling distribution
2.Open Help "GMF Developer Guide"
2.Try to use the source in the Command Framework chapter
3.The source is not compiling at all because of missing method and old API.


More information:
In the "SampleIncreaseCommand" the method "newOKCommandResult()" is missing.

Also the methods doExecute, doRedo, doUndo do not exist anymore in the super class. They changed their signature completely.
E.g. to "protected CommandResult doExecuteWithResult(IProgressMonitor progressMonitor, IAdaptable info) throws ExecutionException"

Also the methods isUndoable(), isRedoable() are changed to canUndo(), canRedo().
Comment 1 Eclipse Webmaster CLA 2010-07-19 22:00:10 EDT
[GMF Restructure] Bug 319140 : product GMF and component
Runtime was the original product and component for this bug