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


  • public class ReplaceDialogManager<G extends GameObject<G,​A,​R>,​A extends MapArchObject<A>,​R extends Archetype<G,​A,​R>>
    extends java.lang.Object
    Creates and displays the replace dialog.
    • Constructor Detail

      • ReplaceDialogManager

        public ReplaceDialogManager​(@NotNull
                                    @NotNull java.awt.Component parent,
                                    @NotNull
                                    @NotNull CopyBuffer<G,​A,​R> copyBuffer,
                                    @NotNull
                                    @NotNull ObjectChooser<G,​A,​R> objectChooser,
                                    @NotNull
                                    @NotNull MapViewManager<G,​A,​R> mapViewManager,
                                    @NotNull
                                    @NotNull FaceObjectProviders faceObjectProviders,
                                    @NotNull
                                    @NotNull InsertionModeSet<G,​A,​R> insertionModeSet)
        Creates a new instance.
        Parameters:
        parent - the parent component for dialogs
        copyBuffer - the copy buffer's
        objectChooser - the object chooser to use
        mapViewManager - the map view manager to use
        faceObjectProviders - the face object providers for looking up faces
        insertionModeSet - the insertion mode set to use
    • Method Detail

      • showDialog

        public void showDialog​(@NotNull
                               @NotNull MapView<G,​A,​R> mapView)
        Displays the replace dialog.
        Parameters:
        mapView - the map view to operate on