Package org.locationtech.udig.tools.edit.activator

Examples of org.locationtech.udig.tools.edit.activator.DrawGeomsActivator


   *            an empty list.
   */
  @Override
  protected void initActivators(Set<Activator> activators) {
    activators.add(new EditStateListenerActivator());
    activators.add(new DrawGeomsActivator(DrawGeomsActivator.DrawType.LINE));
    activators.add(new DrawCurrentGeomVerticesActivator());
    activators.add(new ResetAllStateActivator());
    activators.add(new SetSnapBehaviourCommandHandlerActivator());
  }
View Full Code Here


        if (geometryType == null) {
            throw new NullPointerException("geomType cannot be null"); //$NON-NLS-1$
        }
        Set<Activator> activators = new HashSet<Activator>();
        activators.add(new EditStateListenerActivator());
        activators.add(new DrawGeomsActivator(geometryType));
        activators.add(new DrawCurrentGeomVerticesActivator());
        activators.add(new SetRenderingFilter());
        activators.add(new ClearCurrentSelectionActivator());
        return activators;
    }
View Full Code Here

        if (geometryType == null) {
            throw new NullPointerException("geomType cannot be null"); //$NON-NLS-1$
        }
        Set<Activator> activators = new HashSet<Activator>();
        activators.add(new EditStateListenerActivator());
        activators.add(new DrawGeomsActivator(geometryType));
        activators.add(new DrawCurrentGeomVerticesActivator());
        activators.add(new SetRenderingFilter());
        return activators;
    }
View Full Code Here

  }

  @Override
  protected void initActivators(Set<Activator> activators) {
    activators.add(new EditStateListenerActivator());
    activators.add(new DrawGeomsActivator(DrawGeomsActivator.DrawType.LINE));
    activators.add(new SetSnapBehaviourCommandHandlerActivator());
    activators.add(new DrawCurrentGeomVerticesActivator());
    // activators.add(new DrawOrthoAxesActivator());
    activators.add(new ResetAllStateActivator());
    activators.add(new SetRenderingFilter());
View Full Code Here

     * @param activators an empty list.
     */
    @Override
    protected void initActivators( Set<Activator> activators ) {
        activators.add(new EditStateListenerActivator());
        activators.add(new DrawGeomsActivator(DrawGeomsActivator.DrawType.LINE));
        activators.add(new DrawCurrentGeomVerticesActivator());
        activators.add(new ResetAllStateActivator());
        activators.add(new SetSnapBehaviourCommandHandlerActivator());
    }
View Full Code Here

   }

    @Override
    protected void initActivators( Set<Activator> activators ) {
        activators.add(new EditStateListenerActivator());
        DrawGeomsActivator drawGeomsActivator = new DrawGeomsActivator(DrawGeomsActivator.DrawType.POLYGON);
        drawGeomsActivator.setShowMouseLocation(false);
        activators.add(drawGeomsActivator);
        activators.add(new DrawEndPointsActivator());
        activators.add(new SetRenderingFilter());
        activators.add(new ClearCurrentSelectionActivator());
    }
View Full Code Here

TOP

Related Classes of org.locationtech.udig.tools.edit.activator.DrawGeomsActivator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.