Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » how to notify propertysheetpage change according to Mode's change
how to notify propertysheetpage change according to Mode's change [message #210051] Wed, 22 February 2006 08:48
Eclipse UserFriend
Originally posted by: tmxk2008.gmail.com

code like below ::
in editpart:

public void performRequest(Request req){

if (req.getType() == RequestConstants.REQ_OPEN){

Property property = (Property) getModel();

property.setName("name");
}
}

the editpart's propertyChangeListener had been added correctle ,and the
Model has implement IPropertySource correctly;

when I double-click the figure ,the figure'value will be change to "name"
,but the PropertySheetPage's value not change.

welcome any suggestion!
Previous Topic:How to change Model property number dynamically?
Next Topic:ZoomManager and Scrollbars
Goto Forum:
  


Current Time: Sat Nov 02 18:36:41 GMT 2024

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

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

Back to the top