|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.etools.systems.editor.SystemEditorUtilities
public class SystemEditorUtilities
Field Summary | |
---|---|
static String |
Copyright
|
Constructor Summary | |
---|---|
SystemEditorUtilities()
|
Method Summary | |
---|---|
static LpexView[] |
getAllLpexViews(LpexTextEditor editor)
Retrieves a list of all the view open in an editor. |
static TextEditorAction |
getBaseEditorAction(ITextEditor editor,
String actionId)
Method getBaseEditorAction. |
static IFile |
getIFile(ITextEditor editor)
Method getIFile. |
static IMenuManager |
getSourceMenu(IMenuManager menuManager)
|
static void |
removeAllShowLines(LpexTextEditor editor)
Removes all show lines from the bottom of the document to the top, including compile errors. |
static void |
removeAllShowLines(LpexTextEditor editor,
boolean ignoreCompileErrors)
Removes all show lines from the bottom of the document to the top, optionally including compile errors. |
static void |
removeMessages(LpexTextEditor editor,
int iElementStart,
int iElementEnd)
Removes all messages from all views open in the specified editor |
static void |
removeMessages(LpexTextEditor editor,
int iElementStart,
int iElementEnd,
boolean ignoreCompileErrors)
Removes all messages from all views open in the specified editor, optionally including compile errors. |
static void |
removeMessages(LpexView view,
int iElementStart,
int iElementEnd,
boolean ignoreCompileErrors,
LpexTextEditor editor)
Removes all message show elements associated with the given range of elements. |
static void |
setDateArea(LpexView view)
Method setDateArea. |
static void |
updateEditors()
Updates all open editors with the show date preference |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String Copyright
Constructor Detail |
---|
public SystemEditorUtilities()
Method Detail |
---|
public static LpexView[] getAllLpexViews(LpexTextEditor editor)
editor
- the editor to retrieve the view.
public static TextEditorAction getBaseEditorAction(ITextEditor editor, String actionId)
editor
- the editor to which the action belongs toactionId
- the id of the action to retrieve
public static void removeAllShowLines(LpexTextEditor editor)
public static void removeAllShowLines(LpexTextEditor editor, boolean ignoreCompileErrors)
public static void removeMessages(LpexTextEditor editor, int iElementStart, int iElementEnd, boolean ignoreCompileErrors)
public static void removeMessages(LpexTextEditor editor, int iElementStart, int iElementEnd)
public static void removeMessages(LpexView view, int iElementStart, int iElementEnd, boolean ignoreCompileErrors, LpexTextEditor editor)
public static IFile getIFile(ITextEditor editor)
editor
- the editor in which the source is open
public static IMenuManager getSourceMenu(IMenuManager menuManager)
public static void setDateArea(LpexView view)
public static void updateEditors()
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |