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

    • Constructor Detail

      • InsertArchAction

        public InsertArchAction​(@NotNull
                                @NotNull ObjectChooser<G,​A,​R> objectChooser,
                                @NotNull
                                @NotNull MapViewSettings mapViewSettings)
        Creates a new instance.
        Parameters:
        objectChooser - the object chooser
        mapViewSettings - the map view settings instance for looking up options
    • 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
      • insertArch

        @ActionMethod
        public void insertArch()
        Action method for "insert arch".