de.cau.cs.kieler.core.ui.util
Class EditorUtils
java.lang.Object
de.cau.cs.kieler.core.ui.util.EditorUtils
public final class EditorUtils
- extends Object
Static utility class for working with editors.
- Rating

Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getLastActiveEditor
public static IEditorPart getLastActiveEditor()
- Return the last active editor. Returns the active editor of the current
page if it is not null. This might happen when you maximize a view and
minimize it again. Returns the first editor of any open editors if the
active editor is null.
- Returns:
- the last open active editor, maybe null if there is no open
editor or called from non-UI thread