Examples of fireBatchedEvents()


Examples of org.locationtech.udig.tools.edit.support.EditBlackboard.fireBatchedEvents()

            doMove(deltaX, deltaY, handler, editBlackboard2, tracker.selection);

            tracker.lastPoint = point;
            return null;
        } finally {
            editBlackboard2.fireBatchedEvents();
            handler.repaint();
        }
    }

    protected void doMove( int deltaX, int deltaY, EditToolHandler handler,
View Full Code Here

Examples of org.locationtech.udig.tools.edit.support.EditBlackboard.fireBatchedEvents()

                }

            }
        } finally {
            handler.setCurrentState(oldState);
            blackboard.fireBatchedEvents();
        }
    }

    private void increment( Map<PrimitiveShape, Integer> deletes, PrimitiveShape shape ) {
        if( !deletes.containsKey(shape) ){
View Full Code Here

Examples of org.locationtech.udig.tools.edit.support.EditBlackboard.fireBatchedEvents()

                default:
                    break;
                }
            }
        } finally {
            blackboard.fireBatchedEvents();
        }
    }

    enum Action{
        ADD, REMOVE
View Full Code Here

Examples of org.locationtech.udig.tools.edit.support.EditBlackboard.fireBatchedEvents()

        EditUtils.instance.cancelHideSelection(editLayer);

        EditBlackboard editBlackboard = handler.getEditBlackboard(editLayer);
        editBlackboard.startBatchingEvents();
        editBlackboard.clear();
        editBlackboard.fireBatchedEvents();

        handler.repaint();
    }

    public String getName() {
View Full Code Here

Examples of org.locationtech.udig.tools.edit.support.EditBlackboard.fireBatchedEvents()

        editBlackboard.startBatchingEvents();
        for( EditGeom geom : geoms ) {
            copyFeature(editBlackboard, geom);
        }
        handler.setCurrentState(this.currentState);
        editBlackboard.fireBatchedEvents();
        handler.repaint();
    }

    /**
     * Copies the geometry back onto the editblackboard.
View Full Code Here

Examples of org.locationtech.udig.tools.edit.support.EditBlackboard.fireBatchedEvents()

          if (animation != null) {
            animation.setValid(false);
            animation = null;
          }
        }
        editBlackboard.fireBatchedEvents();
      }
        }
    }

    /**
 
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.