Class EclipseUtil
- java.lang.Object
-
- org.eclipse.epsilon.common.dt.util.EclipseUtil
-
public class EclipseUtil extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.eclipse.core.resources.IFile
findIFile(ModuleElement ast)
static java.lang.String
getActiveTheme()
static java.lang.String
getWorkspaceContainerAbsolutePath(java.lang.String workspacePath)
static java.lang.String
getWorkspaceFileAbsolutePath(java.lang.String workspacePath)
static java.lang.String
getWorkspacePath()
static boolean
isDarkThemeEnabled()
static void
openEditorAt(java.io.File file, int line, int column, boolean highlightLine)
static void
openEditorAt(java.lang.String location, Region region)
static void
openEditorAt(org.eclipse.core.resources.IFile file, int line, int column, boolean highlightLine)
static void
openEditorAt(org.eclipse.core.resources.IFile file, int line, int column, int length, boolean highlightLine)
static void
openEditorAt(ModuleElement ast)
-
-
-
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)
-
-