Package org.locationtech.udig.image.georeferencing.internal.ui

Examples of org.locationtech.udig.image.georeferencing.internal.ui.GeoreferencingCommandEventChange


  public void update(Observable o, Object arg) {

    if (!(arg instanceof GeoreferencingCommandEventChange))
      return;
    GeoreferencingCommandEventChange cmdEvent = (GeoreferencingCommandEventChange) arg;

    switch (cmdEvent.getEvent()) {
    case IMAGE_LOADED:
      setItemsEnabled(true);
      break;
    default:
      setCertainToolsEnabled(cmd.canEnableImageTools());
View Full Code Here


    if (obs instanceof GeoReferencingCommand) {

      setCertainItemsEnabled(cmd.canEnableMapTools());

      GeoreferencingCommandEventChange cmdEvent = (GeoreferencingCommandEventChange) arg;
      MarkModel mark = cmdEvent.getMark();

      switch (cmdEvent.getEvent()) {
      case MARK_ADDED:
        addMarkOnTable(mark);
        break;
      case MARK_DELETED:
        deleteMarkOnTable(mark);
View Full Code Here

    enableRunButton(cmd.canExectue());
    enableSaveButton(cmd.canSave());

    if (!(arg instanceof GeoreferencingCommandEventChange))
      return;
    GeoreferencingCommandEventChange cmdEvent = (GeoreferencingCommandEventChange) arg;

    switch (cmdEvent.getEvent()) {
    case MARK_ADDED:
      enableSaveButton(true);
      break;
    case ALL_MARKS_DELETED:
      enableSaveButton(false);
View Full Code Here

TOP

Related Classes of org.locationtech.udig.image.georeferencing.internal.ui.GeoreferencingCommandEventChange

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.