Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Custom Property Sheet listener and events(Custom Property Sheet listener and events)
Custom Property Sheet listener and events [message #1734732] Fri, 10 June 2016 18:01 Go to next message
swaroop shastri is currently offline swaroop shastriFriend
Messages: 2
Registered: February 2016
Location: Bangalore
Junior Member
I have created a customproperty sheet in GEF for my ecore model
public class MyProperty extends AbstractPropertySection...
It has some text boxes, which are connected to element (ecore model) on canvas. If I change say label/name of element in canvas , it reflects on the property sheet and vice versa.

The issue is, when I change any text , it does not fire following code present on the canvas....could you tell me how to set dirty flag for this operation?

public void commandStackChanged(EventObject event) {


Thanks in advance
Re: Custom Property Sheet listener and events [message #1743709 is a reply to message #1734732] Mon, 19 September 2016 07:44 Go to previous message
Matthias Wienand is currently offline Matthias WienandFriend
Messages: 230
Registered: March 2015
Senior Member
When using the Eclipse UI AbstractPropertySection, no undoable commands are generated. Therefore, you should use as an alternative so that undoable commands are created for property changes.

Best regards,
Previous Topic:Handle on Mouse event for gef.graph.Node
Next Topic:GEF4 Add extra visual elements
Goto Forum:

Current Time: Fri Dec 01 13:20:47 GMT 2023

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

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

Back to the top