Search in sources :

Example 6 with DirectionalFields

use of com.revolsys.record.property.DirectionalFields in project com.revolsys.open by revolsys.

the class AbstractRecordLayer method actionFlipFields.

private void actionFlipFields(final LayerRecord record) {
    final DirectionalFields property = DirectionalFields.getProperty(record);
    property.reverseFieldValues(record);
}
Also used : DirectionalFields(com.revolsys.record.property.DirectionalFields)

Example 7 with DirectionalFields

use of com.revolsys.record.property.DirectionalFields in project com.revolsys.open by revolsys.

the class ReverseRecordGeometryUndo method redoDo.

@Override
protected void redoDo() {
    final DirectionalFields property = DirectionalFields.getProperty(this.record);
    property.reverseGeometry(this.record);
}
Also used : DirectionalFields(com.revolsys.record.property.DirectionalFields)

Example 8 with DirectionalFields

use of com.revolsys.record.property.DirectionalFields in project com.revolsys.open by revolsys.

the class ReverseRecordGeometryUndo method undoDo.

@Override
protected void undoDo() {
    final DirectionalFields property = DirectionalFields.getProperty(this.record);
    property.reverseGeometry(this.record);
}
Also used : DirectionalFields(com.revolsys.record.property.DirectionalFields)

Aggregations

DirectionalFields (com.revolsys.record.property.DirectionalFields)8 LineString (com.revolsys.geometry.model.LineString)2 Geometry (com.revolsys.geometry.model.Geometry)1 Point (com.revolsys.geometry.model.Point)1 ArrayRecord (com.revolsys.record.ArrayRecord)1