[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.gef] how to notify propertysheetpage change according to Mode's change

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!