Package de.yaams.extensions.basemap.tiled.core

Examples of de.yaams.extensions.basemap.tiled.core.TileSet


    moveUpButton.setEnabled(selectedRow > 0);

    moveDownButton.setEnabled(selectedRow > -1 && selectedRow < tilesetTable.getRowCount() - 1);

    Vector<?> tilesets = map.getTilesets();
    TileSet set = null;
    try {
      set = (TileSet) tilesets.get(selectedRow);
    } catch (IndexOutOfBoundsException e) {
    }

    editButton.setEnabled(set != null);
    removeButton.setEnabled(set != null);
    saveButton.setEnabled(set != null && set.getSource() != null);
    saveAsButton.setEnabled(set != null);
    embedButton.setEnabled(set != null && set.getSource() != null);
  }
View Full Code Here


    return null;
  }

  private void createSetAndDispose() {
    newTileset = new TileSet();
    newTileset.setName(tilesetName.getText());
    newTileset.setDefaultProperties(defaultSetProperties);

    if (tilebmpCheck.isSelected()) {
      final String file = tilebmpFile.getText();
View Full Code Here

TOP

Related Classes of de.yaams.extensions.basemap.tiled.core.TileSet

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.