Wednesday, July 16, 2014

Removing eclipse view title bar tab

public class Perspective implements IPerspectiveFactory {
  public void createInitialLayout(IPageLayout layout) {      
    String editorArea = layout.getEditorArea();

    layout.addStandaloneView(View.ID, false, IPageLayout.LEFT, 1.0f, editorArea);      

A standalone view's title can optionally be hidden. If hidden, then any controls typically shown with the title (such as the close button) are also hidden. Any contributions or other content from the view itself are always shown (e.g. toolbar or view menu contributions, content description).


No comments:

Post a Comment