Class EclipseUtil


  • public class EclipseUtil
    extends java.lang.Object
    • Method Detail

      • isDarkThemeEnabled

        public static boolean isDarkThemeEnabled()
      • getActiveTheme

        public static java.lang.String getActiveTheme()
      • findIFile

        public static org.eclipse.core.resources.IFile findIFile​(ModuleElement ast)
      • getWorkspacePath

        public static java.lang.String getWorkspacePath()
      • getWorkspaceContainerAbsolutePath

        public static java.lang.String getWorkspaceContainerAbsolutePath​(java.lang.String workspacePath)
      • getWorkspaceFileAbsolutePath

        public static java.lang.String getWorkspaceFileAbsolutePath​(java.lang.String workspacePath)
      • openEditorAt

        public static void openEditorAt​(ModuleElement ast)
      • openEditorAt

        public static void openEditorAt​(java.lang.String location,
                                        Region region)
      • openEditorAt

        public static void openEditorAt​(java.io.File file,
                                        int line,
                                        int column,
                                        boolean highlightLine)
      • openEditorAt

        public static void openEditorAt​(org.eclipse.core.resources.IFile file,
                                        int line,
                                        int column,
                                        boolean highlightLine)
      • openEditorAt

        public static void openEditorAt​(org.eclipse.core.resources.IFile file,
                                        int line,
                                        int column,
                                        int length,
                                        boolean highlightLine)