1

Is there an easier way to do this (retaining the ability to use VIEW_VISIBLE, VIEW_ACTIVATE, and VIEW_CREATE)?

public class MyView extends ViewPart {
    ...
    public void myMethod() {
        try {
            getSite().getPage().showView(ID, null, IWorkbenchPage.VIEW_VISIBLE);
        } catch (PartInitException e) {
            e.printStackTrace();
        }
        ...
    }
]
Ethan Reesor
  • 2,090
  • 1
  • 23
  • 40

1 Answers1

1

What Paul said answers my question

Ethan Reesor
  • 2,090
  • 1
  • 23
  • 40