| java.lang.Object de.loskutov.bco.ui.EclipseUtils
EclipseUtils | public class EclipseUtils (Code) | | author: Andrei |
getActiveEditor | public static IEditorPart getActiveEditor()(Code) | | current active editor in workbench |
getJavaInput | public static IJavaElement getJavaInput(IEditorPart part)(Code) | | Parameters: part - editor input as IJavaElement |
getJavaPackageName | public static String getJavaPackageName(IJavaElement resource)(Code) | | Parameters: resource - full package name in default java notation (with dots) |
getSelection | public static ITextSelection getSelection(ISelectionProvider selectionProvider)(Code) | | Parameters: selectionProvider - TextSelection or null, if provider does not provide TextSelection's |
selectInEditor | public static void selectInEditor(ITextEditor editor, int offset, int length)(Code) | | Parameters: editor - Parameters: offset - Parameters: length - |
|
|