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

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void browseArchetypes()
      Shows the browse archetypes dialog.
      void setAction​(@NotNull javax.swing.Action action, @NotNull java.lang.String name)
      Sets the Action instance for this editor action.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BrowseArchetypesAction

        public BrowseArchetypesAction​(@NotNull
                                      @NotNull java.awt.Component parent,
                                      @NotNull
                                      @NotNull ArchetypeChooserControl<G,​A,​R> archetypeChooserControl,
                                      @NotNull
                                      @NotNull ObjectChooser<G,​A,​R> objectChooser,
                                      @NotNull
                                      @NotNull ArchetypeSet<G,​A,​R> archetypeSet,
                                      @NotNull
                                      @NotNull javax.swing.ImageIcon closingIcon)
        Creates a new instance.
        Parameters:
        parent - the parent component for the dialog
        archetypeChooserControl - the archetype chooser control to search
        objectChooser - the object chooser to use when selecting search results
        archetypeSet - the archetype set for looking up archetypes
        closingIcon - the icon to display in the closing buttons of the archetype browser
    • Method Detail

      • browseArchetypes

        @ActionMethod
        public void browseArchetypes()
        Shows the browse archetypes dialog.
      • 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