Class GoLocationAction<G extends GameObject<G,​A,​R>,​A extends MapArchObject<A>,​R extends Archetype<G,​A,​R>>

    • Constructor Detail

      • GoLocationAction

        public GoLocationAction​(@NotNull
                                @NotNull MapViewManager<G,​A,​R> mapViewManager)
        Creates a new instance.
        Parameters:
        mapViewManager - the map view manager
    • Method Detail

      • setAction

        public void setAction​(@NotNull
                              @NotNull javax.swing.Action action,
                              @NotNull
                              @NotNull java.lang.String name)
        Description copied from interface: EditorAction
        Sets the Action instance for this editor action.
        Specified by:
        setAction in interface EditorAction
        Parameters:
        action - the action instance
        name - the name of the action
      • goLocation

        @ActionMethod
        public void goLocation()
        Opens the "go location" dialog.