Class EclipseUtil


  • public class EclipseUtil
    extends Object
    • Method Detail

      • isDarkThemeEnabled

        public static boolean isDarkThemeEnabled()
      • getActiveTheme

        public static String getActiveTheme()
      • findIFile

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

        public static String getWorkspacePath()
      • getWorkspaceContainerAbsolutePath

        public static String getWorkspaceContainerAbsolutePath​(String workspacePath)
      • getWorkspaceFileAbsolutePath

        public static String getWorkspaceFileAbsolutePath​(String workspacePath)
      • openEditorAt

        public static void openEditorAt​(ModuleElement ast)
      • openEditorAt

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

        public static void openEditorAt​(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)