Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Looking for a simple example
Looking for a simple example [message #234781] Wed, 30 May 2007 12:13 Go to next message
Ben H is currently offline Ben HFriend
Messages: 13
Registered: July 2009
Junior Member
Hello,

i am quite new to eclipse, but even more to gef.

i googled and found some examples for creating a "diagram schema editor"
etc.

but these examples are too overloaded to start with (at least for me)

now i am looking for a simple editor that only displays squares with
labels and some connections between them.

best regards,

Ben
Re: Looking for a simple example [message #234790 is a reply to message #234781] Wed, 30 May 2007 12:59 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mlevison.gmail.com

Ben Herfurth wrote:
> Hello,
>
> i am quite new to eclipse, but even more to gef.
>
> i googled and found some examples for creating a "diagram schema editor"
> etc.
>
> but these examples are too overloaded to start with (at least for me)
>
> now i am looking for a simple editor that only displays squares with
> labels and some connections between them.
>
> best regards,
>
> Ben
>

When you downloaded the gef plugins you probably also downloaded an
examples plugin that includes src. Look for a plug-in named:
org.eclipse.gef.examples.source - it contains 4 examples my two
favorites are Shapes and Logic diagram. Shapes is simple enough to
digest with a days worth of playing. Logic is drawing kit for Circuit
logic will take a few more days to digest.

Hope that helps
Mark - who finally spots a question he can answer - Levison
------------------------------------------------------------ ---------
Blog: http://www.notesfromatooluser.com/
Most Popular posts:
Aperture vs. Lightroom - best comparisons
http://www.notesfromatooluser.com/2007/02/aperture_vs_lig.ht ml
Scrum in a Nutshell or 5 minutes to learn Scrum
http://www.notesfromatooluser.com/2006/11/scrum_in_a_nuts.ht ml
Getting Things Done!!! Can't Keep Track of all the tasks you have to do?
Need a better Tool to Implement GTD?
http://www.notesfromatooluser.com/2006/12/getting_things_.ht ml
Re: Looking for a simple example [message #234797 is a reply to message #234790] Wed, 30 May 2007 13:15 Go to previous messageGo to next message
Ben H is currently offline Ben HFriend
Messages: 13
Registered: July 2009
Junior Member
I'll have a look at it,

Thank you :)
Re: Looking for a simple example [message #234890 is a reply to message #234781] Thu, 31 May 2007 17:47 Go to previous messageGo to next message
Anthony Hunter is currently offline Anthony HunterFriend
Messages: 446
Registered: July 2009
Senior Member
Hi Ben,

If you search the archives or Google HelloGef1 you will find the HelloGEF
example series that does just that, a simple GEF editor with squares.

I am looking at getting these examples up to date for GEF 3.3 over the
summer, as they have not been updated since GEF 2.1.3.

Cheers...
Anthony

"Ben Herfurth" <b.herfurth@gmx.de> wrote in message
news:ba97da2c194c9f9211e835a57e606b45$1@www.eclipse.org...
> Hello,
>
> i am quite new to eclipse, but even more to gef.
>
> i googled and found some examples for creating a "diagram schema editor"
> etc.
>
> but these examples are too overloaded to start with (at least for me)
>
> now i am looking for a simple editor that only displays squares with
> labels and some connections between them.
>
> best regards,
>
> Ben
>
Re: Looking for a simple example [message #235072 is a reply to message #234890] Tue, 05 June 2007 07:49 Go to previous messageGo to next message
Ben H is currently offline Ben HFriend
Messages: 13
Registered: July 2009
Junior Member
ah great, thank you for this.

I'll take a closer look at the example :)
Re: Looking for a simple example [message #235340 is a reply to message #234890] Mon, 11 June 2007 08:43 Go to previous messageGo to next message
Ben H is currently offline Ben HFriend
Messages: 13
Registered: July 2009
Junior Member
so as i see, there is no possibility to get it run under eclipse 3.2?

i imported hellogef1 into a project, and i get some errors, which i cannot
resolve.

Severity and Description Path Resource Location Creation Time Id
Project org.eclipse.gef.examples.hellogef is missing required Java
project: 'org.eclipse.core.boot' org.eclipse.gef.examples.hellogef Build
path 1181551339955 43
Project org.eclipse.gef.examples.hellogef is missing required Java
project:
'org.eclipse.core.runtime' org.eclipse.gef.examples.hellogef Build
path 1181551339955 42
Project org.eclipse.gef.examples.hellogef is missing required Java
project: 'org.eclipse.gef' org.eclipse.gef.examples.hellogef Build
path 1181551339955 41
Project org.eclipse.gef.examples.hellogef is missing required library:
'\org.eclipse.draw2d\runtime\draw2d.jar' org.eclipse.gef.examples.hellogef Build
path 1181551339955 44
Project org.eclipse.gef.examples.hellogef is missing required library:
'\org.eclipse.gef\runtime\gef.jar' org.eclipse.gef.examples.hellogef Build
path 1181551339955 45
The project cannot be built until build path errors are
resolved org.eclipse.gef.examples.hellogef Unknown 1181551339971 46


but they are actually in there ... *shrug*
Re: Looking for a simple example [message #235414 is a reply to message #235340] Tue, 12 June 2007 11:06 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jakub.jurkiewicz.gmail.com

Hi Ben,

Yesterday I tried to run examples from the IBM Redbook about using EMF
with GEF and I had the same problem.
What I did was to go to the properties of the project -> Java Build Path
-> Libraries tab -> Add Library... button (on the right) -> choose
Plug-in Dependencies from the list -> click Next -> click Finish -> go
to the Projects tab -> remove all projects from the list -> click OK
This should make these problems disappear, but I suppose other will
appear ;)

Hope this helps,

--
Jakub Jurkiewicz
http://eclipser-blog.blogspot.com/

Ben Herfurth wrote:
> so as i see, there is no possibility to get it run under eclipse 3.2?
>
> i imported hellogef1 into a project, and i get some errors, which i
> cannot resolve.
>
> Severity and Description Path Resource Location Creation
> Time Id
> Project org.eclipse.gef.examples.hellogef is missing required Java
> project: 'org.eclipse.core.boot'
> org.eclipse.gef.examples.hellogef Build path 1181551339955 43
> Project org.eclipse.gef.examples.hellogef is missing required Java
> project: 'org.eclipse.core.runtime'
> org.eclipse.gef.examples.hellogef Build path 1181551339955 42
> Project org.eclipse.gef.examples.hellogef is missing required Java
> project: 'org.eclipse.gef' org.eclipse.gef.examples.hellogef
> Build path 1181551339955 41
> Project org.eclipse.gef.examples.hellogef is missing required library:
> '\org.eclipse.draw2d\runtime\draw2d.jar'
> org.eclipse.gef.examples.hellogef Build path 1181551339955 44
> Project org.eclipse.gef.examples.hellogef is missing required library:
> '\org.eclipse.gef\runtime\gef.jar'
> org.eclipse.gef.examples.hellogef Build path 1181551339955 45
> The project cannot be built until build path errors are resolved
> org.eclipse.gef.examples.hellogef Unknown 1181551339971 46
>
>
> but they are actually in there ... *shrug*
>
Re: Looking for a simple example [message #235477 is a reply to message #234890] Tue, 12 June 2007 15:04 Go to previous message
Anthony Hunter is currently offline Anthony HunterFriend
Messages: 446
Registered: July 2009
Senior Member
Hi Again,

I have posted a new example to
http://www.eclipse.org/gef/reference/digraph1.php .

This first directed graph example is as simple as it gets.

Cheers...
Anthony


"Anthony Hunter" <anthonyh@ca.ibm.com> wrote in message
news:f3n1nl$kcf$1@build.eclipse.org...
> Hi Ben,
>
> If you search the archives or Google HelloGef1 you will find the HelloGEF
> example series that does just that, a simple GEF editor with squares.
>
> I am looking at getting these examples up to date for GEF 3.3 over the
> summer, as they have not been updated since GEF 2.1.3.
>
> Cheers...
> Anthony
>
> "Ben Herfurth" <b.herfurth@gmx.de> wrote in message
> news:ba97da2c194c9f9211e835a57e606b45$1@www.eclipse.org...
>> Hello,
>>
>> i am quite new to eclipse, but even more to gef.
>>
>> i googled and found some examples for creating a "diagram schema editor"
>> etc.
>>
>> but these examples are too overloaded to start with (at least for me)
>>
>> now i am looking for a simple editor that only displays squares with
>> labels and some connections between them.
>>
>> best regards,
>>
>> Ben
>>
>
>
Previous Topic:Standalone GEF
Next Topic:Border offset in a Rectangle
Goto Forum:
  


Current Time: Fri Apr 19 21:38:50 GMT 2024

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

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

Back to the top