com.partnersoft.codex
Class CodexStructuralEdit

java.lang.Object
  extended by com.partnersoft.codex.CodexEdit
      extended by com.partnersoft.codex.CodexStructuralEdit
Direct Known Subclasses:
GraveyardEdit

public abstract class CodexStructuralEdit
extends CodexEdit

This tells the gui that the structure of the Codex has changed and to reload the relevent part of the gui. After a CodexStructuralEdit, all references to the Codex hierarchy are considered invalid and should be discarded.

Author:
Russell Cagle Copyright 2007 Partner Software, Inc.

Field Summary
static int CREATE
           
static int DELETE
           
static int RELOAD
           
static int RENAME
           
 
Fields inherited from class com.partnersoft.codex.CodexEdit
applied, id
 
Constructor Summary
CodexStructuralEdit()
           
 
Method Summary
abstract  int getOperation()
          The operation applied to the edited object.
 
Methods inherited from class com.partnersoft.codex.CodexEdit
apply, dispose, getEditedNode, getId, isApplied, rollback, setApplied
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CREATE

public static final int CREATE
See Also:
Constant Field Values

DELETE

public static final int DELETE
See Also:
Constant Field Values

RELOAD

public static final int RELOAD
See Also:
Constant Field Values

RENAME

public static final int RENAME
See Also:
Constant Field Values
Constructor Detail

CodexStructuralEdit

public CodexStructuralEdit()
Method Detail

getOperation

public abstract int getOperation()
The operation applied to the edited object. This controls how the gui responds to the edit: * CREATED resources are opened immediately. * DELETED resources show us their parent so we can see where they got deleted. * RELOADED resources show us their parent. * RENAMED resources show us their parent.

Returns: