Class AbstractSelectionHandler

  • All Implemented Interfaces:
    SelectionHandler

    public abstract class AbstractSelectionHandler
    extends java.lang.Object
    implements SelectionHandler
    Provides some basic implementation of the SelectionHandler interface. This implementation merely targets methods that can access or modify the content of the SelectionHandler via the asCollection() method, hence the latter method is left unimplemented here.
    Besides, no storage mechanism is implemented in this abstract class. Concrete implementation of this mechanism should be based on mutable Java Collection's, otherwise selection operation will fail.
    Finally, the content of the selection-handler is supposed to reflect the z-ordering of the Drawing it is associated with. This abstract implementation does not take care of this.
    Since:
    jpicedt 1.3.2
    Version:
    $Id: AbstractSelectionHandler.java,v 1.5.2.1 2007/09/02 11:56:15 reynal Exp $
    Author:
    Sylvain Reynal
    • Constructor Detail

      • AbstractSelectionHandler

        public AbstractSelectionHandler()