[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
|
- From: tmxk2008@xxxxxxxxx (heima)
- Date: Thu, 23 Feb 2006 06:52:57 +0000 (UTC)
- Newsgroups: eclipse.tools.gef
- Organization: Eclipse
- User-agent: NewsPortal/0.36 (http://florian-amrhein.de/newsportal)
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.