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 13:05 Go to next message
123star  is currently offline 123star Friend
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 08:36 Go to previous message
Remi Schnekenburger is currently offline Remi SchnekenburgerFriend
Messages: 153
Registered: July 2009
Location: Paris Saclay, France
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: Thu Dec 08 06:23:18 GMT 2016

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

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