Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Refresh Component view
Refresh Component view [message #633326] Sat, 16 October 2010 09:05 Go to next message
123star  is currently offline 123star
Messages: 70
Registered: June 2010
Member
Hi,

I programmatically added some ports to a Component in a Class diagram, I can see the new ports in the model viewer, but the ports don't show in the compartment of the Component in the editor.

I tried to refresh the view by calling refresh() on the editpart of the component, but didn't work.
How can I refresh the view?

Thanks in advance, 123star
Re: Refresh Component view [message #633997 is a reply to message #633326] Wed, 20 October 2010 04:36 Go to previous message
Remi Schnekenburger is currently offline Remi Schnekenburger
Messages: 127
Registered: July 2009
Senior Member
Hi,

Do you see them if you close and reopen the diagram? This would mean that the port is graphically added, and that there is only a problem of refresh.
In the case you don't see them, this means that the graphical add action did not work.

Regards,
RĂ©mi


Previous Topic:How can I add a UML interface to UML profile using Papyrus?
Next Topic:Cannot install nightly build
Goto Forum:
  


Current Time: Tue Jul 22 05:38:09 EDT 2014

Powered by FUDForum. Page generated in 0.01718 seconds