Saros
Distributed Collaborative Editing and Distributed Party Programming
|
Public Member Functions | |
SplitOperation (Operation op1, Operation op2) | |
Operation | getFirst () |
Operation | getSecond () |
String | toString () |
boolean | equals (Object obj) |
int | hashCode () |
List< ITextOperation > | getTextOperations () |
List< TextEditActivity > | toTextEdit (SPath path, User source) |
Operation | invert () |
Protected Member Functions | |
ITextOperation | combine (ITextOperation op1, ITextOperation op2) |
boolean | isReplace (Operation op1, Operation op2) |
Protected Attributes | |
Operation | op1 |
Operation | op2 |
The SplitOperation contains two operations to be performed after each other. It is used when an operation needs to be split up under certain transformation conditions.
de.fu_berlin.inf.dpp.concurrent.jupiter.internal.text.SplitOperation.SplitOperation | ( | Operation | op1, |
Operation | op2 | ||
) |
ITextOperation de.fu_berlin.inf.dpp.concurrent.jupiter.internal.text.SplitOperation.combine | ( | ITextOperation | op1, |
ITextOperation | op2 | ||
) | [protected] |
boolean de.fu_berlin.inf.dpp.concurrent.jupiter.internal.text.SplitOperation.equals | ( | Object | obj | ) |
Operation de.fu_berlin.inf.dpp.concurrent.jupiter.internal.text.SplitOperation.getFirst | ( | ) |
Operation de.fu_berlin.inf.dpp.concurrent.jupiter.internal.text.SplitOperation.getSecond | ( | ) |
List<ITextOperation> de.fu_berlin.inf.dpp.concurrent.jupiter.internal.text.SplitOperation.getTextOperations | ( | ) |
Returns a list of all operations represented by this operation that perform text changes in the order they should be executed. This method can return an empty list (for NoOperations for instance).
Implements de.fu_berlin.inf.dpp.concurrent.jupiter.Operation.
int de.fu_berlin.inf.dpp.concurrent.jupiter.internal.text.SplitOperation.hashCode | ( | ) |
Operation de.fu_berlin.inf.dpp.concurrent.jupiter.internal.text.SplitOperation.invert | ( | ) |
Implements de.fu_berlin.inf.dpp.concurrent.jupiter.Operation.
boolean de.fu_berlin.inf.dpp.concurrent.jupiter.internal.text.SplitOperation.isReplace | ( | Operation | op1, |
Operation | op2 | ||
) | [protected] |
op1 | |
op2 |
String de.fu_berlin.inf.dpp.concurrent.jupiter.internal.text.SplitOperation.toString | ( | ) |
List<TextEditActivity> de.fu_berlin.inf.dpp.concurrent.jupiter.internal.text.SplitOperation.toTextEdit | ( | SPath | path, |
User | source | ||
) |
Returns a sequence of TextEditActivitys which represent this operation if applied in order to the editor denoted by the given path by the user identified by the given source.
Implements de.fu_berlin.inf.dpp.concurrent.jupiter.Operation.
The first operation.
The second operation.