Examples of EditStateListenerActivator


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

                LineString.class, LinearRing.class, Polygon.class, MultiPolygon.class}));
    }

    @Override
    protected void initActivators( Set<Activator> activators ) {
        activators.add(new EditStateListenerActivator());
        activators.add(new ResetHandlerActivator());
        activators.add(new SetRenderingFilter());
        activators.add(new ClearCurrentSelectionActivator());
    }
View Full Code Here

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

   * @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

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

    public static Set<Activator> createDefaultCreateActivators( DrawType geometryType ) {
        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

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

    public static Set<Activator> createDefaultEditActivators( DrawType geometryType ) {
        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

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

    }
  }

  @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());
View Full Code Here

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

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

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

     *
     * @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

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

        helper.add(new ValidToolDetectionActivator(new Class[]{Geometry.class, Polygon.class, MultiPolygon.class, LineString.class, MultiLineString.class}));
   }

    @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());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.