Create editor with multiple parts in Eclipse 4.x -
i want create application can open files. when opening file, editor should open in normal eclipse ide. want in editor multiple parts (e.g. treeview of opened data , data in plaintext)
is there way describe contents of editor in application.e4xmi , opening "view"? this:
application.e4xmi: partstack (id = "editor.partstack") |- part (datatreeviewer.java) |- part (plaintextviewer.java) \- part (imagepart.java) openhandler.java: partstack ps = openpartstack("editor.partstack"); addtomainpartstack(ps);
or have describe editor contents programmatically in openhandler? this:
openhandler.java: partstack ps = createnewpartstack(); ps.add(new datatreeviewer()); ps.add(new plaintextviewer()); ps.add(new imagepart()); addtomainpartstack(ps);
i used partdescriptor
editor part , ordinary ctabfolder
pages in editor.
Comments
Post a Comment