[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Re: check a property while reading file

Hi,

thank you! I debug the suggested methods.
Now I running into the problem that the document element is not the xmi root element. The document element name is "Network" and is a child of element "PSC". The property I want to check is a attribute of "PSC" with name "version". How can I access the value of attribute "version"?
Any suggestion?


Martin


Alex Shatalin wrote, On 20.02.2009 11:57:
Hello Martin,

You can start with org.eclipse.gmf.runtime.diagram.ui.resources.editor.parts.DiagramDocumentEditor.setInput(). DiagramDocumentEditor is one of the superclasses for generated ???DiagramEditor class.

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