[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
|
- From: tmxk2008@xxxxxxxxx (heima)
- Date: Wed, 22 Feb 2006 08:48:53 +0000 (UTC)
- Newsgroups: eclipse.tools.gef
- Organization: Eclipse
- User-agent: NewsPortal/0.36 (http://florian-amrhein.de/newsportal)
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!