Community
Participate
Working Groups
void checkForNoEditors() {
IWorkbenchPage activePage = window.getActivePage();
if ((activePage == null)
|| (activePage.getActiveEditor() == null)) {
|| (activePage.getEditorReferences().length == 0)) {
select(DefaultJpaSelection.NULL_SELECTION, null);
}