Skip
Skip

Reputation: 6531

Eclipse RCP - hiding the editor

I followed the Vogella RCP Tutorial and created an Application, lloking like that:

enter image description here

The "My View" was added explicitely to the perspective.
The Editor below was there on default.

Questions:

Upvotes: 1

Views: 730

Answers (1)

Luiz E.
Luiz E.

Reputation: 7279

in your perspective

public void createInitialLayout(IPageLayout layout) {
        this.layout = layout;

        String editorAreaId = layout.getEditorArea();
        layout.setEditorAreaVisible(false);
}

this should disable your editor

Upvotes: 6

Related Questions