Ignore:
Timestamp:
2010-10-02T16:30:22+02:00 (14 years ago)
Author:
guardian
Message:

reintegrated fix from 22850

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/videomapping/src/org/openstreetmap/josm/plugins/videomapping/PositionLayer.java

    r23193 r23442  
    5151import org.openstreetmap.josm.tools.Shortcut;
    5252
    53 import com.sun.jna.StringArray;
    54 
    5553//Basic rendering and GPS layer interaction
    5654public class PositionLayer extends Layer implements MouseListener,MouseMotionListener {
     
    9694
    9795    @Override
    98     public Component[] getMenuEntries() {
    99         return new Component[]{
    100                 new JMenuItem(LayerListDialog.getInstance().createShowHideLayerAction(this)),
    101                 new JMenuItem(LayerListDialog.getInstance().createDeleteLayerAction(this)),
    102                 new JSeparator(),
     96        public Action[] getMenuEntries() {
     97        return new Action[]{
     98                LayerListDialog.getInstance().createActivateLayerAction(this),
     99                LayerListDialog.getInstance().createShowHideLayerAction(),
     100                LayerListDialog.getInstance().createDeleteLayerAction(),
     101                SeparatorLayerAction.INSTANCE,
    103102                //TODO here my stuff
    104                 new JSeparator(),
    105                 new JMenuItem(new LayerListPopup.InfoAction(this))};//TODO here infos about the linked videos
    106     }
     103                SeparatorLayerAction.INSTANCE,
     104                new LayerListPopup.InfoAction(this)};//TODO here infos about the linked videos
     105        }
     106
    107107     
    108108
Note: See TracChangeset for help on using the changeset viewer.