Skip to main content



      Home
Home » Eclipse Projects » GEF » where are the figures?
where are the figures? [message #61690] Mon, 03 February 2003 17:49
Eclipse UserFriend
Hello World,

i only want make grpahs of my values, but it looks like i need more time to
implement this as i need time for the rest of my plugin. ;-(... Anyways i'm
frustrated but keep on fighting..

Since it looks like implement usage of draw2d and property sheet need much
work that is already done in gef, i want to use gef, but i'm afraid that is
much overscaled for such a simple graph view.

So as a gef newbie i start with the shape sample and try to use that in a
view.

So i add in the method "createPartControl(Composite parent)" of my view -
some code of the HelloGef editor.

GraphicalViewer viewer = new GraphicalViewerImpl();
viewer.setRootEditPart(new FreeformGraphicalRootEditPart());
viewer.setEditPartFactory(new GraphicalPartFactory());
HelloModel model = new HelloModel();
viewer.setContents(model);

No error so far, but i cant see something in my view.
I had read the gef documentation, but i dont need all the policy and command
stuff, since i only wan to show some simple lines.

Can someone give me a hint, a code snippet and link to something to read...
Thanks!!!!!!!!!

Stefan
Previous Topic:draw2d & property sheet
Next Topic:Pop up menu with IFigure
Goto Forum:
  


Current Time: Sun May 11 16:44:51 EDT 2025

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

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

Back to the top