Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Question about views
icon3.gif  Question about views [message #552304] Wed, 11 August 2010 16:01 Go to next message
123star  is currently offline 123star
Messages: 70
Registered: June 2010
Member
Hi,
I have problems understanding how to make the editor show the view of a port that I programmatically created:

I'm using the extension point notifyChanged(Notification ne) and when the user do a certain action I create a port in a class,
so I have the object Port but I still didn't manage to get it working.

I looked here:

http://wiki.eclipse.org/GMF_Tips#Creating_New_Elements_And_C orresponding_Views

but lot of things are missing from where I am in the code, in notifyChanged(Notification ne), for example DeviceEditPart and the code refers to constants that are not explained.

Can someone explain me how can I create a view of a Port knowing that I'm inside the method notifyChanged(Notification ne)?

Thanks in advance, 123star
Re: Question about views [message #552805 is a reply to message #552304] Fri, 13 August 2010 15:17 Go to previous message
123star  is currently offline 123star
Messages: 70
Registered: June 2010
Member
Anyone can help?
I really need this feature: how can i show in the diagram an element that I programmatically created in the model?
Previous Topic:ZEST graph viewer crashes to draw large graph.
Next Topic: Multiple calls
Goto Forum:
  


Current Time: Mon Sep 22 16:30:43 GMT 2014

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

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