Class ShowingOperationList

    • Constructor Detail

      • ShowingOperationList

        public ShowingOperationList(OperationEvaluator evaluator,
                                    Viewer viewer)
        Create a new operation list that displays its results on a viewer.
        Parameters:
        evaluator - the evaluator to use for generating results.
        viewer - the viewer to display results on.
    • Method Detail

      • operationResult

        protected Geometry operationResult(List<Geometry> geometries)
        Description copied from class: OperationList
        Calculate the result of the operation. This method is used to receive the result of the operation performed by a subclass.
        Specified by:
        operationResult in class  OperationList
        Parameters:
        geometries - the geometries to invoke the operation with.
        Returns:
        the resulting geometry.
      • resultUpdated

        protected void resultUpdated()
        Description copied from class: OperationList
        Called whenever the result has been calculated.
      • getEvaluator

        public OperationEvaluator getEvaluator()
        Get the evaluator that is used to generate results.
        Returns:
        the operation's evaluator.