Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » [Announce] Directed Graph Example (Digraph1)
[Announce] Directed Graph Example (Digraph1) [message #235435] Tue, 12 June 2007 14:56 Go to next message
Anthony Hunter is currently offline Anthony HunterFriend
Messages: 446
Registered: July 2009
Senior Member
Hi Team,

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

The main objective of the digraph1 example was to provide a simple graphical
editor that demonstrates GEF's Model-View-Controller (MVC) architecture. We
have many other more complete examples, but we did not have a simple "Hello
World" type example that worked under GEF 3.3.

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

The example also demonstrates GEF in a view and GEF as an RCP application.

Let me know if you have any comments about the example.

Cheers...
Anthony
Re: [Announce] Directed Graph Example (Digraph1) [message #235556 is a reply to message #235435] Wed, 13 June 2007 10:13 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jakub.jurkiewicz.gmail.com

Thanks Anthony!

Great example! I had no idea that creating simple GEF example can be so
easy!
It would be great, if you wrote next examples based on this one, in
which new features were added (commands, zooming, context menu, outline
view, etc.)

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

Anthony Hunter wrote:
> Hi Team,
>
> I have posted a new example to
> http://www.eclipse.org/gef/reference/digraph1.php .
>
> The main objective of the digraph1 example was to provide a simple graphical
> editor that demonstrates GEF's Model-View-Controller (MVC) architecture. We
> have many other more complete examples, but we did not have a simple "Hello
> World" type example that worked under GEF 3.3.
>
> This first directed graph example is as simple as it gets.
>
> The example also demonstrates GEF in a view and GEF as an RCP application.
>
> Let me know if you have any comments about the example.
>
> Cheers...
> Anthony
>
>
Re: [Announce] Directed Graph Example (Digraph1) [message #235652 is a reply to message #235435] Thu, 14 June 2007 06:31 Go to previous messageGo to next message
boris is currently offline borisFriend
Messages: 3
Registered: July 2009
Junior Member
Graphical Editing Framework (GEF) Directed Graph Example (Digraph1)
Problem in RCP

I vave instal
eclipse-SDK-3.2.2-win32.zip
&
GEF-ALL-3.2.2.zip

These two imports cannot be resolved.
What can to be done?

package org.eclipse.gef.examples.digraph1.rcp;

import org.eclipse.equinox.app.IApplication;
import org.eclipse.equinox.app.IApplicationContext;

public class Digraph1Application implements IApplication {
....
}
Re: [Announce] Directed Graph Example (Digraph1) [message #235686 is a reply to message #235652] Thu, 14 June 2007 13:14 Go to previous message
Anthony Hunter is currently offline Anthony HunterFriend
Messages: 446
Registered: July 2009
Senior Member
Hi Boris,

I should have clearly stated that the example requires Eclipse 3.3 and GEF
3.3.

I update the example web page to make this clear.

Cheers...
Anthony

"boris starchev" <bstarchev@ru.acad.bg> wrote in message
news:d34749c2e562d4f6e095de2dbff49d7c$1@www.eclipse.org...
> Graphical Editing Framework (GEF) Directed Graph Example (Digraph1)
> Problem in RCP
>
> I vave instal eclipse-SDK-3.2.2-win32.zip
> &
> GEF-ALL-3.2.2.zip
>
> These two imports cannot be resolved.
> What can to be done?
>
> package org.eclipse.gef.examples.digraph1.rcp;
>
> import org.eclipse.equinox.app.IApplication;
> import org.eclipse.equinox.app.IApplicationContext;
>
> public class Digraph1Application implements IApplication {
> ...
> }
>
Previous Topic:notification of model from figure
Next Topic:Trouble controling width of TextFlow figure
Goto Forum:
  


Current Time: Sat Aug 20 03:35:39 GMT 2022

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

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

Back to the top