[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
|
Are you using the UndoablePropertySheetEntry? Look for references to that
class in the logic example
"heima" <tmxk2008@xxxxxxxxx> wrote in message
news:56482f51d47c908771a432bad4c09be7$1@xxxxxxxxxxxxxxxxxx
>
> 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.
>