Examples of AddElementAction


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

  @Override
  public void mouseClicked(MapEvent event) {
    if (SwingUtilities.isRightMouseButton(event.getMouseEvent())) {
      JPopupMenu popup = new JPopupMenu();

      popup.add(new JMenuItem(new AddElementAction(getMapInfo(), event
          .getFixToGridPosition())));

      if (CampaignClient.getInstance().getCurrentPlayer().isDm()) {
        popup.addSeparator();
View Full Code Here

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

public class PanelToolGeneral extends JToolBar {
  private static final long serialVersionUID = 1L;

  public PanelToolGeneral(final MapEditableInfo mapInfo,
      PanelMoveZoom<?> panelZoom) {
    JButton addElement = new JButton(new AddElementAction(mapInfo));
    addElement.setHideActionText(true);

    this.add(addElement);

    this.addSeparator();
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.