[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.gef] Re: how to invoke propertysheetpage change according to Model's change


thanks for Randy Hudson's reply. I have try what you said ,to change my model within command . but still the same . Does me misuse it ? looking forward to your reply . code like below:

protected Command getDirectEditCommand(DirectEditRequest request) {
RenameNodeCommand cmd = new RenameNodeCommand();
cmd.setNode((Node) getHost().getModel());
cmd.setName("nodeName"); //cmd.setName((String) request.getCellEditor().getValue());
return cmd;
}


besides,the editpolicy had been installed correctly.