Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » EMF/GEF IBM redbook tutorial updated for eclipse 3+ ?
EMF/GEF IBM redbook tutorial updated for eclipse 3+ ? [message #178801] Fri, 22 April 2005 17:02 Go to next message
Eclipse UserFriend
Originally posted by: jstan.ittc.ku.edu

The IBM redbook tutorial available on creating an application with GEF and
EMF was developed with a 2+ edition of Eclipse. Any chance of seeing an
updated version for 3+ versions of Eclipse? The EMF part of the book
still seems to be up to date, but the code provided does not build
properly. I am guessing the GEF part will be quite out of date, and
wanted to check for an update before trying to stumble through it.

http://publib-b.boulder.ibm.com/Redbooks.nsf/RedbookAbstract s/sg246302.html?Open

Thanks in advance, my apologies if this is the wrong place to post this
type of request.
Re: EMF/GEF IBM redbook tutorial updated for eclipse 3+ ? [message #178845 is a reply to message #178801] Fri, 22 April 2005 19:01 Go to previous messageGo to next message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
This is the right place to ask such questions. I am not aware of the
Redbook being updated, but you should contact the Redbook's authors about
that. Some of GEF's API has changed and lots of new features have been
added since the 2.x releases, but the core concepts are still the same. In
that regard, the Redbook will still be useful. As for the compile errors, I
think someone posted a fixed version of the code on this newsgroup a while
back. Just search for it here. Of course, since that was a while back,
chances are that even that's going to be broken now. Hopefully, you can fix
them without too many problems. Or you can try working on some of the other
documentation available on our site.


"Jesse Stanley" <jstan@ittc.ku.edu> wrote in message
news:98def5ee2bad61f6158d5d85ac12e68a$1@www.eclipse.org...
> The IBM redbook tutorial available on creating an application with GEF and
> EMF was developed with a 2+ edition of Eclipse. Any chance of seeing an
> updated version for 3+ versions of Eclipse? The EMF part of the book
> still seems to be up to date, but the code provided does not build
> properly. I am guessing the GEF part will be quite out of date, and
> wanted to check for an update before trying to stumble through it.
>
>
http://publib-b.boulder.ibm.com/Redbooks.nsf/RedbookAbstract s/sg246302.html?Open
>
> Thanks in advance, my apologies if this is the wrong place to post this
> type of request.
>
Re: EMF/GEF IBM redbook tutorial updated for eclipse 3+ ? [message #178853 is a reply to message #178801] Fri, 22 April 2005 20:00 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

Can you post the compile errors here? We try to maintain backwards
compatibility, but source compatibility is harder than binary.

"Jesse Stanley" <jstan@ittc.ku.edu> wrote in message
news:98def5ee2bad61f6158d5d85ac12e68a$1@www.eclipse.org...
> The IBM redbook tutorial available on creating an application with GEF and
> EMF was developed with a 2+ edition of Eclipse. Any chance of seeing an
> updated version for 3+ versions of Eclipse? The EMF part of the book
> still seems to be up to date, but the code provided does not build
> properly. I am guessing the GEF part will be quite out of date, and
> wanted to check for an update before trying to stumble through it.
>
> http://publib-b.boulder.ibm.com/Redbooks.nsf/RedbookAbstract s/sg246302.html?Open
>
> Thanks in advance, my apologies if this is the wrong place to post this
> type of request.
>
Re: EMF/GEF IBM redbook tutorial updated for eclipse 3+ ? [message #178928 is a reply to message #178853] Sun, 24 April 2005 19:40 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jstan.ittc.ku.edu

You bet, I will send the compilation problems in a follow up response.
For starters, I can create a file of type workflow and it appears to be
recognized as a valid file for the workflow editor, but when I attempt to
open it I get this pop up:

Unable to instantiate editor: WorkflowEditor java.lang.VerifyError:
(class: com/ibm/itso/sal330r/gefdemo/editor/WorkflowEditor, method:
createActions signature: ()V) Incompatible argument to function

I know the compile errors will be more helpful, thanks for your responses!
Re: EMF/GEF IBM redbook tutorial updated for eclipse 3+ ? [message #178953 is a reply to message #178853] Sun, 24 April 2005 20:53 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jstan.ittc.ku.edu

Using

eclipse 3.0.1-r2 for linux
emf 2.0.1
gef 3.0.1

They all seem to be stemming from a few missing classes. Please pardon
the horrible copy job from eclipse, if I can provide these in a more
presentable format please advise on how to do so!

2 The import org.eclipse.ui.IFileEditorInput cannot be
resolved WorkflowEditor.java SAL330RGEFDemoApplication/src/com/ibm/itso/sal330r/gefdemo/e ditor line
72 April 24, 2005 2:51:11 PM
2 The import org.eclipse.ui.dialogs.SaveAsDialog cannot be
resolved WorkflowEditor.java SAL330RGEFDemoApplication/src/com/ibm/itso/sal330r/gefdemo/e ditor line
76 April 24, 2005 2:51:11 PM
2 The import org.eclipse.ui.internal.dialogs.MessageDialogWithToggle
cannot be
resolved WorkflowEditor.java SAL330RGEFDemoApplication/src/com/ibm/itso/sal330r/gefdemo/e ditor line
77 April 24, 2005 2:51:11 PM
2 The import org.eclipse.ui.part.FileEditorInput cannot be
resolved WorkflowEditor.java SAL330RGEFDemoApplication/src/com/ibm/itso/sal330r/gefdemo/e ditor line
78 April 24, 2005 2:51:11 PM
2 IFileEditorInput cannot be resolved or is not a
type WorkflowEditor.java SAL330RGEFDemoApplication/src/com/ibm/itso/sal330r/gefdemo/e ditor line
215 April 24, 2005 2:51:11 PM
2 FileEditorInput cannot be resolved or is not a
type WorkflowEditor.java SAL330RGEFDemoApplication/src/com/ibm/itso/sal330r/gefdemo/e ditor line
239 April 24, 2005 2:51:11 PM
2 The method addEditorAction(EditorPartAction) in the type WorkflowEditor
is not applicable for the arguments
(PrintAction) WorkflowEditor.java SAL330RGEFDemoApplication/src/com/ibm/itso/sal330r/gefdemo/e ditor line
406 April 24, 2005 2:51:11 PM
2 IFileEditorInput cannot be resolved or is not a
type WorkflowEditor.java SAL330RGEFDemoApplication/src/com/ibm/itso/sal330r/gefdemo/e ditor line
491 April 24, 2005 2:51:11 PM
2 MessageDialogWithToggle cannot be
resolved WorkflowEditor.java SAL330RGEFDemoApplication/src/com/ibm/itso/sal330r/gefdemo/e ditor line
493 April 24, 2005 2:51:11 PM
2 SaveAsDialog cannot be resolved or is not a
type WorkflowEditor.java SAL330RGEFDemoApplication/src/com/ibm/itso/sal330r/gefdemo/e ditor line
519 April 24, 2005 2:51:11 PM
2 IFileEditorInput cannot be resolved or is not a
type WorkflowEditor.java SAL330RGEFDemoApplication/src/com/ibm/itso/sal330r/gefdemo/e ditor line
520 April 24, 2005 2:51:11 PM
2 The method gotoMarker(IMarker) is undefined for the type
IEditorPart WorkflowEditor.java SAL330RGEFDemoApplication/src/com/ibm/itso/sal330r/gefdemo/e ditor line
827 April 24, 2005 2:51:11 PM
2 IFileEditorInput cannot be resolved or is not a
type WorkflowEditor.java SAL330RGEFDemoApplication/src/com/ibm/itso/sal330r/gefdemo/e ditor line
841 April 24, 2005 2:51:11 PM
2 FileEditorInput cannot be resolved or is not a
type WorkflowEditor.java SAL330RGEFDemoApplication/src/com/ibm/itso/sal330r/gefdemo/e ditor line
955 April 24, 2005 2:51:11 PM
2 FileEditorInput cannot be resolved or is not a
type WorkflowEditor.java SAL330RGEFDemoApplication/src/com/ibm/itso/sal330r/gefdemo/e ditor line
964 April 24, 2005 2:51:11 PM
1 The type IPluginDescriptor is
deprecated GEFDemoPlugin.java SAL330RGEFDemoApplication/src/com/ibm/itso/sal330r/gefdemo line
18 April 24, 2005 2:51:11 PM
1 The type IPluginDescriptor is
deprecated GEFDemoPlugin.java SAL330RGEFDemoApplication/src/com/ibm/itso/sal330r/gefdemo line
97 April 24, 2005 2:51:11 PM
1 The constructor AbstractUIPlugin(IPluginDescriptor) is
deprecated GEFDemoPlugin.java SAL330RGEFDemoApplication/src/com/ibm/itso/sal330r/gefdemo line
99 April 24, 2005 2:51:11 PM
1 The field IWorkbenchActionConstants.PRINT is
deprecated WorkflowEditorActionBarContributor.java SAL330RGEFDemoApplication/src/com/ibm/itso/sal330r/gefdemo/a ctions line
60 April 24, 2005 2:51:11 PM
1 The field IWorkbenchActionConstants.DELETE is
deprecated WorkflowEditorActionBarContributor.java SAL330RGEFDemoApplication/src/com/ibm/itso/sal330r/gefdemo/a ctions line
61 April 24, 2005 2:51:11 PM
1 The field IWorkbenchActionConstants.UNDO is
deprecated WorkflowEditorActionBarContributor.java SAL330RGEFDemoApplication/src/com/ibm/itso/sal330r/gefdemo/a ctions line
86 April 24, 2005 2:51:11 PM
1 The field IWorkbenchActionConstants.REDO is
deprecated WorkflowEditorActionBarContributor.java SAL330RGEFDemoApplication/src/com/ibm/itso/sal330r/gefdemo/a ctions line
87 April 24, 2005 2:51:11 PM
1 The method setTitle(String) from the type WorkbenchPart is
deprecated AbstractEditorPage.java SAL330RGEFDemoApplication/src/com/ibm/itso/sal330r/gefdemo/e ditor line
109 April 24, 2005 2:51:11 PM
1 The method addDropTargetListener(TransferDropTargetListener) from the
type EditPartViewer is
deprecated AbstractEditorPage.java SAL330RGEFDemoApplication/src/com/ibm/itso/sal330r/gefdemo/e ditor line
272 April 24, 2005 2:51:11 PM
1 The field IWorkbenchActionConstants.DELETE is
deprecated WorkflowEditor.java SAL330RGEFDemoApplication/src/com/ibm/itso/sal330r/gefdemo/e ditor line
772 April 24, 2005 2:51:11 PM
1 The method setTitle(String) from the type WorkbenchPart is
deprecated WorkflowEditor.java SAL330RGEFDemoApplication/src/com/ibm/itso/sal330r/gefdemo/e ditor line
966 April 24, 2005 2:51:11 PM
1 The field IWorkbenchActionConstants.UNDO is
deprecated WorkflowEditorContextMenuProvider.java SAL330RGEFDemoApplication/src/com/ibm/itso/sal330r/gefdemo/e ditor line
59 April 24, 2005 2:51:11 PM
1 The field IWorkbenchActionConstants.REDO is
deprecated WorkflowEditorContextMenuProvider.java SAL330RGEFDemoApplication/src/com/ibm/itso/sal330r/gefdemo/e ditor line
60 April 24, 2005 2:51:11 PM
1 The field IWorkbenchActionConstants.COPY is
deprecated WorkflowEditorContextMenuProvider.java SAL330RGEFDemoApplication/src/com/ibm/itso/sal330r/gefdemo/e ditor line
62 April 24, 2005 2:51:11 PM
1 The field IWorkbenchActionConstants.PASTE is
deprecated WorkflowEditorContextMenuProvider.java SAL330RGEFDemoApplication/src/com/ibm/itso/sal330r/gefdemo/e ditor line
63 April 24, 2005 2:51:11 PM
1 The field IWorkbenchActionConstants.DELETE is
deprecated WorkflowEditorContextMenuProvider.java SAL330RGEFDemoApplication/src/com/ibm/itso/sal330r/gefdemo/e ditor line
64 April 24, 2005 2:51:11 PM
1 The field IWorkbenchActionConstants.SAVE is
deprecated WorkflowEditorContextMenuProvider.java SAL330RGEFDemoApplication/src/com/ibm/itso/sal330r/gefdemo/e ditor line
75 April 24, 2005 2:51:11 PM
1 The import javax.swing.JButton is never used VEFtest.java VEF_test line
2 March 29, 2005 8:26:50 AM
1 The import javax.swing.JCheckBox is never
used VEFtest.java VEF_test line 3 March 29, 2005 8:26:50 AM
Re: EMF/GEF IBM redbook tutorial updated for eclipse 3+ ? [message #178969 is a reply to message #178953] Mon, 25 April 2005 03:51 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

It looks like either you aren't using the PDE to calculate classpath, or you
are missing a plug-in dependency somewhere. I think that GEF 3.0 may
require clients to specifically state their pre-reqs.
Previous Topic:endless loop when moving figure outside of display area
Next Topic:Connections do not appear
Goto Forum:
  


Current Time: Sun Jan 29 20:27:31 GMT 2023

Powered by FUDForum. Page generated in 0.19574 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top