[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools.gef] how to invoke propertysheetpage change according to Model's change
|
- From: tmxk2008@xxxxxxxxx (heima)
- Date: Wed, 22 Feb 2006 08:59:08 +0000 (UTC)
- Newsgroups: eclipse.tools.gef
- Organization: Eclipse
- User-agent: NewsPortal/0.36 (http://florian-amrhein.de/newsportal)
code in editpart is in below:
public void performRequest(Request req){
if(req.getType()==RequestConstants.REQ_OPEN){//when doubleClick will
invoke it
Column column = (Column) getModel();
column.setName("ColumnName");
}
}
Column is GEF's Model , and Column had added IPropertySource Correctly .
when I double-click the Model's figure will change correctly ,but the
propertySheetPage will not change ,and the eclipse's save-button will not
be usable.
welcome anyone's suggestion.