Search in sources :

Example 1 with StashWindowController

use of delta.games.lotro.gui.character.stash.StashWindowController in project lotro-companion by dmorcellet.

the class CharacterFileWindowController method showStash.

private void showStash() {
    // Stash
    String serverName = _toon.getServerName();
    String toonName = _toon.getName();
    String id = StashWindowController.getIdentifier(serverName, toonName);
    WindowController controller = _windowsManager.getWindow(id);
    if (controller == null) {
        controller = new StashWindowController(_toon);
        _windowsManager.registerWindow(controller);
        controller.getWindow().setLocationRelativeTo(getFrame());
    }
    controller.bringToFront();
}
Also used : StashWindowController(delta.games.lotro.gui.character.stash.StashWindowController) CraftingWindowController(delta.games.lotro.gui.stats.crafting.CraftingWindowController) WindowController(delta.common.ui.swing.windows.WindowController) DefaultWindowController(delta.common.ui.swing.windows.DefaultWindowController) StashWindowController(delta.games.lotro.gui.character.stash.StashWindowController) TraitPointsEditionWindowController(delta.games.lotro.gui.stats.traitPoints.TraitPointsEditionWindowController) CharacterLogWindowController(delta.games.lotro.gui.log.CharacterLogWindowController)

Aggregations

DefaultWindowController (delta.common.ui.swing.windows.DefaultWindowController)1 WindowController (delta.common.ui.swing.windows.WindowController)1 StashWindowController (delta.games.lotro.gui.character.stash.StashWindowController)1 CharacterLogWindowController (delta.games.lotro.gui.log.CharacterLogWindowController)1 CraftingWindowController (delta.games.lotro.gui.stats.crafting.CraftingWindowController)1 TraitPointsEditionWindowController (delta.games.lotro.gui.stats.traitPoints.TraitPointsEditionWindowController)1