Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Draw2D and Properties view
Draw2D and Properties view [message #218006] Fri, 16 June 2006 12:37 Go to next message
Eclipse User
Originally posted by: tanmay.cmu.edu

Hi,

I have a Multi page editor with one page for editing source and another for
displaying the graphical representation based on that source. The graphical
representation uses the Draw2D API.

The graphical view contains rectangles of whom I'm trying to display the
properties when selected figure in the basic properties view but have been
unsuccessful so far.

The MultiPageEditor has one page as a text editor and other as a
Canvas with draw2D figures on it. I'm not trying to edit the figures, they
are created based on the XMI file in the text editor. I'm just trying to
fill the properties view when I click certain figures.

Best Regards,

Tanmay
Re: Draw2D and Properties view [message #218207 is a reply to message #218006] Tue, 20 June 2006 14:06 Go to previous message
Mohammed Mostafa is currently offline Mohammed Mostafa
Messages: 143
Registered: July 2009
Senior Member
This is a multipart message in MIME format.
--=_alternative 0063BAA285257193_=
Content-Type: text/plain; charset="US-ASCII"

If you have Edit Parts; then you can make your edit parts adapt
IPropertySource. Another way will be to make your EditPart's model
implements IPropertySource this will take care of it as well
--=_alternative 0063BAA285257193_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">If you have Edit Parts; then you can
make your edit parts adapt IPropertySource. Another way will be to make
your EditPart's model implements IPropertySource this will take care of
it as well</font>
--=_alternative 0063BAA285257193_=--
Previous Topic:Polyline
Next Topic:Indicate GEF command did nothing to stack?
Goto Forum:
  


Current Time: Thu Aug 21 12:06:50 EDT 2014

Powered by FUDForum. Page generated in 0.01768 seconds