public final class TLspEditOperation extends Object
An event that represents a high-level description of an editing interaction with an object.
The editing operation contains the following things:
edit operation type
the editing property keyas a key, and the operation descriptor as a value. The property key can be retrieved from the editing operation type
|Constructor and Description|
Creates a new edit operation.
|Modifier and Type||Method and Description|
Returns an immutable map containing the edit operation properties.
Returns the edit operation type
public TLspEditOperation(TLspEditOperationType aType, Map<Object,Object> aProperties)
aType- the edit operation type
aProperties- the properties. These will be wrapped in an immutable map, so that external access is limited to read-only. Note that this map should contain at least the editing operation descriptor, with
the editing property keyas a key, and the operation descriptor as a value.
public TLspEditOperationType getType()
public Map<Object,Object> getProperties()
the editing property keyas a key, and the operation descriptor as a value. To retrieve the editing descriptor, use TLspEditOperationType.getPropertyKey() as a key.