Creating an Editor for a single Attribute [message #1721031] |
Fri, 22 January 2016 17:43 |
Samuel Leisering Messages: 34 Registered: July 2014 |
Member |
|
|
Hi,
So far i created Editors for my EMF-Models by extending their respective generated Editors.
This has the andvantages of loading the file, providing me with an EditingDomain, etc.
Suppose I have a functioning Standalone, non-EMF Editor that is capable of editing some specific file-type (for instance, XML.) This includes Syntax highlighting, autocomplete, etc.
In my EMF model there is a class that has some general Attributes, and one Attribute that is designed to contain XML-Content, and I want to create an Editor for this class type.
I created an MultiPage Editor, where first page is a simple Form for the general Attributes.
Can i include the existing XML-Editor as a page in my Editor *and* provide it with the single attribute of my object as the input? Or do i have to reimplement the editor (and all functionality provided by TextEditor, which it extends) to work with a single EMF-attribute?
Thanks,
Samuel
|
|
|
|
Powered by
FUDForum. Page generated in 0.02322 seconds