public abstract class ModelAccess extends Object
Constructor and Description |
---|
ModelAccess() |
Modifier and Type | Method and Description |
---|---|
abstract void |
addUndoableEditListener(UndoableEditListener listener) |
long |
dirtyIntervalMillis()
Returns length in milliseconds since last edit if the model source buffer
is dirty, or 0 if the model source is not dirty.
|
abstract void |
finishUndoRedo() |
abstract void |
flush() |
boolean |
isAutoSync() |
abstract void |
prepareForUndoRedo() |
void |
prepareSync() |
abstract void |
removeUndoableEditListener(UndoableEditListener listener) |
void |
setAutoSync(boolean value) |
abstract Model.State |
sync() |
void |
unsetDirty()
Unset mark for dirty source buffer.
|
public abstract void addUndoableEditListener(UndoableEditListener listener)
public abstract void removeUndoableEditListener(UndoableEditListener listener)
public abstract void prepareForUndoRedo()
public abstract void finishUndoRedo()
public void prepareSync()
public abstract Model.State sync() throws IOException
IOException
public abstract void flush()
public boolean isAutoSync()
public void setAutoSync(boolean value)
public long dirtyIntervalMillis()
public void unsetDirty()