Index: applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/action/AnnotationPresetAction.java
===================================================================
--- applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/action/AnnotationPresetAction.java	(revision 3743)
+++ 	(revision )
@@ -1,82 +1,0 @@
-/**
- * 
- */
-package at.dallermassl.josm.plugin.surveyor.action;
-
-import java.util.List;
-
-import javax.swing.Action;
-
-import org.openstreetmap.josm.data.coor.LatLon;
-import org.openstreetmap.josm.gui.tagging.TaggingPreset;
-import org.openstreetmap.josm.gui.preferences.TaggingPresetPreference;
-
-import at.dallermassl.josm.plugin.surveyor.GpsActionEvent;
-import at.dallermassl.josm.plugin.surveyor.SurveyorAction;
-
-/**
- * @author cdaller
- *
- */
-public class AnnotationPresetAction implements SurveyorAction {
-    private String presetName;
-    private TaggingPreset preset;
-    
-
-    /* (non-Javadoc)
-     * @see at.dallermassl.josm.plugin.surveyor.SurveyorAction#actionPerformed(at.dallermassl.josm.plugin.surveyor.GpsActionEvent)
-     */
-    //@Override
-    public void actionPerformed(GpsActionEvent event) {
-        if(preset == null) {
-            return;
-        }
-        LatLon coordinates = event.getCoordinates();
-        System.out.println(getClass().getSimpleName() + " KOORD: " + coordinates.lat() + ", " 
-            + coordinates.lon() + ", preset=" + presetName);
-//        Node node = new Node(coordinates);
-//        node.put("created_by", "JOSM-surveyor-plugin");
-//        synchronized(LiveGpsLock.class) {
-//            Main.main.editLayer().data.nodes.add(node);
-//            Main.ds.setSelected(node);
-//        }
-//        Main.map.repaint();
-        
-        // call an annotationpreset to add additional properties...
-        preset.actionPerformed(null);
-
-    }
-
-
-    /* (non-Javadoc)
-     * @see at.dallermassl.josm.plugin.surveyor.SurveyorAction#setParameters(java.util.List)
-     */
-    //@Override
-    public void setParameters(List<String> parameters) {
-        if(parameters.size() == 0) {
-            throw new IllegalArgumentException("No annotation preset name given!");
-        }
-        presetName = parameters.get(0);
-        preset = getTaggingPreset(presetName);
-        if(preset == null) {
-            System.err.println("No valid preset '" + parameters.get(0) + "' found - disable action!");
-            return;
-        }        
-    }
-
-    /**
-     * Returns the preset with the given name or <code>null</code>.
-     * @param name the name of the annotation preset.
-     * @return  the preset with the given name.
-     */
-    protected TaggingPreset getTaggingPreset(String name) {
-        for(TaggingPreset preset : TaggingPresetPreference.taggingPresets) {
-            if(name.equals(preset.getValue(Action.NAME))) {
-                return preset;
-            }
-        }
-        return null;
-    }
-
-
-}
