Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.ide.model.java.source.write
Interface TreeTransaction  view TreeTransaction download TreeTransaction.java

All Known Subinterfaces:
MultiTreeTransaction, SingleTreeTransaction

public interface TreeTransaction

A TreeTransaction is a set of changes made to the Tree model that are logically grouped into a single undoable change.


Method Summary
 void abort()
          Aborts this multi-tree transaction.
 javax.swing.undo.UndoableEdit commit()
          Logically ends a transaction, writes changes to the underlying file (if any), and releases all acquired resources.
 TreeManager getOwningManager()
          Gets the owning manager.
 

Method Detail

abort

public void abort()
Aborts this multi-tree transaction. All changes are undone and all acquired resources are released.


commit

public javax.swing.undo.UndoableEdit commit()
Logically ends a transaction, writes changes to the underlying file (if any), and releases all acquired resources.


getOwningManager

public TreeManager getOwningManager()
Gets the owning manager.