[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

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.