eclipse/plugin/src/nl/tudelft/watchdog/eclipse/logic/document/EditorWrapper.java
package nl.tudelft.watchdog.eclipse.logic.document;
import org.eclipse.ui.texteditor.ITextEditor;
import nl.tudelft.watchdog.core.logic.document.EditorWrapperBase;
/**
* Wrapper class for Eclipse editor.
*/
public class EditorWrapper implements EditorWrapperBase {
/** The {@link ITextEditor}. */
protected transient ITextEditor editor;
/** Constructor. */
public EditorWrapper(ITextEditor editor) {
this.editor = editor;
}
/** Getting the current ITextEditor. */
public ITextEditor getEditor() {
return this.editor;
}
}