Examples of AddRemoveElementToView


Examples of net.alteiar.campaign.player.gui.centerViews.map.tools.actions.filter.AddRemoveElementToView

      if (filter instanceof CharacterMapFilter) {
        Boolean haveVision = ((CharacterMapFilter) filter).getViewer()
            .contains(element.getId());

        JCheckBoxMenuItem menuItem = new JCheckBoxMenuItem(
            new AddRemoveElementToView(getMapEditableInfo(),
                element, !haveVision));
        menuItem.setSelected(haveVision);
        popup.add(menuItem);
      }
      popup.addSeparator();
View Full Code Here

Examples of net.alteiar.campaign.player.gui.centerViews.map.tools.actions.filter.AddRemoveElementToView

    JButton hideAll = new JButton(new ShowHideAllAction(mapInfo, false));
    this.add(hideAll);
  }

  private void initAutomatiqueMapFilter() {
    JButton btnAddElementToView = new JButton(new AddRemoveElementToView(
        mapInfo, true, "Ajouter vision"));

    JButton btnRemoveElementToView = new JButton(
        new AddRemoveElementToView(mapInfo, false, "Enlever vision"));

    final CharacterMapFilter filter = CampaignClient.getInstance().getBean(
        mapInfo.getMap().getFilter());

    JLabel lblVision = new JLabel("Vision max:");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.