Package net.alteiar.campaign.player.gui.centerViews.map

Examples of net.alteiar.campaign.player.gui.centerViews.map.PanelGlobalMap


    }
  }

  private void addTabBattle(final BeanDocument doc, final MapBean bean) {
    if (doc.isAllowedToSee(CampaignClient.getInstance().getCurrentPlayer())) {
      addTab(doc.getDocumentName(), new PanelGlobalMap(bean));
    }

    new AuthorizationAdapter(doc) {
      @Override
      public void authorizationChanged(PropertyChangeEvent evt) {
View Full Code Here


  private void authorizationChange(final BeanDocument doc, final MapBean bean) {
    int idx = indexOf(doc);
    if (doc.isAllowedToSee(CampaignClient.getInstance().getCurrentPlayer())) {
      // do not add more than once
      if (idx < 0) {
        addTab(doc.getDocumentName(), new PanelGlobalMap(bean));
      }
    } else if (idx >= 0) {
      removeTabAt(idx);
    }
  }
View Full Code Here

TOP

Related Classes of net.alteiar.campaign.player.gui.centerViews.map.PanelGlobalMap

Copyright © 2018 www.massapicom. 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.