The action is applicable to selections containing elements of type ICompilationUnit, IMember or IFile.
ICompilationUnit
IMember
IFile
This class may be instantiated; it is not intended to be subclassed.
9596979899100101102103104105
return null; } @Override public void open() { final OpenAction action = (OpenAction) editor .getAction(IErlangEditorActionDefinitionIds.OPEN); if (action != null) { action.run(); } }
110111112113114115116117118119120
} protected abstract void addFoldingSupport(final ISourceViewer viewer); protected void createCommonActions() { openAction = new OpenAction(this); openAction.setActionDefinitionId(IErlangEditorActionDefinitionIds.OPEN_EDITOR); setAction(IErlangEditorActionDefinitionIds.OPEN, openAction); final ResourceBundle keyBundle = ErlangEditorMessages .getBundleForConstructedKeys();