EditorHelper function ( ExecutionEvent arg0 ) { IEditorPart loc0 = HandlerUtil . getActiveEditor ( arg0 ) ; if ( loc0 instanceof ITextEditor ) { return new EditorHelper ( ( ITextEditor ) loc0 ) ; } else { return null ; } }
static factory method : creates an editor corresponding to the itexteditor the user is currently interacting with . concode_field_sep ITextEditor textEditor concode_field_sep IWorkbenchWindow getWindow concode_elem_sep IDocument getDocument concode_elem_sep String getLine concode_elem_sep String enclosingDirectory concode_elem_sep IContainer getFirstParentFor concode_elem_sep int getLineNumber concode_elem_sep String getTitle concode_elem_sep ITextSelection getTextSelection concode_elem_sep IPath getFilePath concode_elem_sep IProject getProject concode_elem_sep int lineCount concode_elem_sep int getCurrentLineNo concode_elem_sep String getCurrentLine