editor in perspective layout [message #465267] |
Tue, 27 March 2007 16:49 |
Eclipse User |
|
|
|
Originally posted by: hansm.science.uva.nlDELETE
I feel completely in the dark about the following problem.
In the extension tab I created an editor as extension to org.eclipse.ui.editors
and filled in its id, class, etc. (As I understand, I can even create several
different editors).
Now in the IPerspectiveFactory subclass from an example is the code:
public void createInitialLayout (final IPageLayout layout) {
final String editorArea = layout.getEditorArea();
....
How do I connect the specific editor as defined to the layout returned in the
call layout.getEditorArea() in createInitialLayout? An editor does show up in my
code, but I am fairly certain it is not the one I programmed.
I searched through the documentation on editors, but could not find an example
how to do this.
Hans van der Meer
|
|
|
|
Powered by
FUDForum. Page generated in 0.03837 seconds