LPEX
4.4.0

com.ibm.lpex.alef
Class LpexAbstractTextEditor.TextEditorSavable

java.lang.Object
  extended by Saveable
      extended by com.ibm.lpex.alef.LpexAbstractTextEditor.TextEditorSavable
Enclosing class:
LpexAbstractTextEditor

protected static class LpexAbstractTextEditor.TextEditorSavable
extends Saveable

This text editor's savable.


Constructor Summary
LpexAbstractTextEditor.TextEditorSavable(ITextEditor textEditor)
          Creates a new savable for this text editor.
 
Method Summary
 void disconnectEditor()
          Disconnects the editor from this savable.
 void doSave(IProgressMonitor monitor)
           
 boolean equals(Object obj)
           
 Object getAdapter(Class adapter)
          Explicit comment needed to suppress wrong warning caused by http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4848177
 ImageDescriptor getImageDescriptor()
           
 String getName()
           
 String getToolTipText()
           
 int hashCode()
           
 boolean isDirty()
           
 boolean supportsBackgroundSave()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LpexAbstractTextEditor.TextEditorSavable

public LpexAbstractTextEditor.TextEditorSavable(ITextEditor textEditor)
Creates a new savable for this text editor.

Parameters:
textEditor - the text editor
Method Detail

disconnectEditor

public void disconnectEditor()
Disconnects the editor from this savable.


getName

public String getName()

getToolTipText

public String getToolTipText()

getImageDescriptor

public ImageDescriptor getImageDescriptor()

doSave

public void doSave(IProgressMonitor monitor)
            throws CoreException
Throws:
CoreException

isDirty

public boolean isDirty()

supportsBackgroundSave

public boolean supportsBackgroundSave()

hashCode

public int hashCode()

equals

public boolean equals(Object obj)

getAdapter

public Object getAdapter(Class adapter)
Explicit comment needed to suppress wrong warning caused by http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4848177

See Also:
Saveable

LPEX
4.4.0

Copyright � 2016 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.