[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Re: Editor doesn't recognizes model changes.

Hello Cayla,

added. But why is this? Shouldn`t it be called? Is this a bug?
I do not think so. I think aboutToBeShown()/aboutToBeHidden() are UI-specific methods reflecting UI component visibility.
Yu can check if "public void setInput(IWorkbenchPart part, ISelection selection)" method is called on any selection changes. If not then you listen for the central selection events available in a workbench.


3. This is the problem I described earlier: Sometimes suddenly I`m no
more abel to create vehicles. Now I know, that`s because an exception
is thrown. But I still can`t reproduce this problem. It appears suddenly
Once you reproduce this problem just get an exception from the log â it can contains some information about the actual reason of the problem.

org.eclipse.core.commands.operations.DefaultOperationHistory on line
517. The error message was "Widget is disposed", the stack was null.
Then you have to check if widget is disposed during notification processing.

-----------------
Alex Shatalin