Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Change layout on Creation via ModelChangeTrigger
Change layout on Creation via ModelChangeTrigger [message #1741806] Mon, 29 August 2016 18:37
Frank Sorek is currently offline Frank SorekFriend
Messages: 22
Registered: February 2016
Junior Member
Hi at all,

When I create a container, this container has a subnode and I want that this subnode is automatically arranged in the middle of the container.
I created a ModelChangeTrigger, which is registered in a service via session.getEventBroker().addLocalTrigger(object,MyOwnModelChangeTrigger) but I don't know exactly how to configure it. I looked at several ModelChangeTrigger in the sirius code but it doesn't helped me. How can I change the layout from the subnode in the method localChangesAboutToCommit(notifications) ?

Thanks in advance,

Frank
Previous Topic:Open diagram programmatically with custom input (no file)
Next Topic:[Properties View] Using Custom Widget
Goto Forum:
  


Current Time: Fri Mar 29 14:37:12 GMT 2024

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

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

Back to the top