Examples of RenameLayerAction


Examples of org.openstreetmap.josm.actions.RenameLayerAction

    components.add(new JSeparator());
    components.add(syncaudio);
    if (Main.pref.getBoolean("marker.traceaudio", true)) {
      components.add(moveaudio);
    }
    components.add(new JMenuItem(new RenameLayerAction(getAssociatedFile(),
        this)));
    components.add(new JSeparator());
    components.add(new JMenuItem(new LayerListPopup.InfoAction(this)));
    return components.toArray(new Component[0]);
  }
View Full Code Here

Examples of org.openstreetmap.josm.actions.RenameLayerAction

    if (Main.applet) {
      return new Component[] {
          new JMenuItem(new LayerListDialog.ShowHideLayerAction(this)),
          new JMenuItem(new LayerListDialog.DeleteLayerAction(this)),
          new JSeparator(),
          new JMenuItem(new RenameLayerAction(getAssociatedFile(),
              this)), new JSeparator(),
          new JMenuItem(new LayerListPopup.InfoAction(this)) };
    }
    return new Component[] {
        new JMenuItem(new LayerListDialog.ShowHideLayerAction(this)),
        new JMenuItem(new LayerListDialog.DeleteLayerAction(this)),
        new JSeparator(),
        new JMenuItem(new SaveAction(this)),
        new JMenuItem(new SaveAsAction(this)),
        new JMenuItem(new GpxExportAction(this)),
        new JMenuItem(new ConvertToGpxLayerAction()),
        new JSeparator(),
        new JMenuItem(new RenameLayerAction(getAssociatedFile(), this)),
        new JSeparator(),
        new JMenuItem(new LayerListPopup.InfoAction(this)) };
  }
View Full Code Here

Examples of org.openstreetmap.josm.actions.RenameLayerAction

                    new LayerGpxExportAction(this),
                    new ConvertToGpxLayerAction()}));
        }
        actions.addAll(Arrays.asList(new Action[]{
                SeparatorLayerAction.INSTANCE,
                new RenameLayerAction(getAssociatedFile(), this)}));
        if (ExpertToggleAction.isExpert() && Main.pref.getBoolean("data.layer.upload_discouragement.menu_item", false)) {
            actions.add(new ToggleUploadDiscouragedLayerAction(this));
        }
        actions.addAll(Arrays.asList(new Action[]{
                new ConsistencyTestAction(),
View Full Code Here

Examples of org.openstreetmap.josm.actions.RenameLayerAction

    public Action[] getMenuEntries() {
        return new Action[] {
                LayerListDialog.getInstance().createShowHideLayerAction(),
                LayerListDialog.getInstance().createDeleteLayerAction(),
                SeparatorLayerAction.INSTANCE,
                new RenameLayerAction(null, this),
                SeparatorLayerAction.INSTANCE,
                new LayerListPopup.InfoAction(this) };
    }
View Full Code Here

Examples of org.openstreetmap.josm.actions.RenameLayerAction

                new ConvertToDataLayerAction(this),
                new DownloadAlongTrackAction(data),
                new DownloadWmsAlongTrackAction(data),
                SeparatorLayerAction.INSTANCE,
                new ChooseTrackVisibilityAction(this),
                new RenameLayerAction(getAssociatedFile(), this),
                SeparatorLayerAction.INSTANCE,
                new LayerListPopup.InfoAction(this) };
    }
View Full Code Here

Examples of org.openstreetmap.josm.actions.RenameLayerAction

                LayerListDialog.getInstance().createShowHideLayerAction(),
                LayerListDialog.getInstance().createDeleteLayerAction(),
                SeparatorLayerAction.INSTANCE,
                // color,
                new OffsetAction(),
                new RenameLayerAction(this.getAssociatedFile(), this),
                SeparatorLayerAction.INSTANCE,
                new LayerListPopup.InfoAction(this) };
    }
View Full Code Here

Examples of org.openstreetmap.josm.actions.RenameLayerAction

    public Action[] getMenuEntries() {

        List<Action> entries = new ArrayList<>();
        entries.add(LayerListDialog.getInstance().createShowHideLayerAction());
        entries.add(LayerListDialog.getInstance().createDeleteLayerAction());
        entries.add(new RenameLayerAction(null, this));
        entries.add(SeparatorLayerAction.INSTANCE);
        entries.add(new CorrelateGpxWithImages(this));
        if (!menuAdditions.isEmpty()) {
            entries.add(SeparatorLayerAction.INSTANCE);
            entries.addAll(menuAdditions);
View Full Code Here

Examples of org.openstreetmap.josm.actions.RenameLayerAction

        if (Main.pref.getBoolean("marker.traceaudio", true)) {
            components.add (new MoveAudio());
        }
        components.add(new JumpToNextMarker(this));
        components.add(new JumpToPreviousMarker(this));
        components.add(new RenameLayerAction(getAssociatedFile(), this));
        components.add(SeparatorLayerAction.INSTANCE);
        components.add(new LayerListPopup.InfoAction(this));
        return components.toArray(new Action[components.size()]);
    }
View Full Code Here

Examples of org.openstreetmap.josm.actions.RenameLayerAction

    public Action[] getMenuEntries() {
        return new Action[]{
                    LayerListDialog.getInstance().createShowHideLayerAction(),
                    LayerListDialog.getInstance().createDeleteLayerAction(),
                    SeparatorLayerAction.INSTANCE,
                    new RenameLayerAction(this.getAssociatedFile(), this),
                    SeparatorLayerAction.INSTANCE,
                    new LayerListPopup.InfoAction(this)};
    }
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.