Examples of MergeContext


Examples of com.aragost.javahg.merge.MergeContext

        new UpdateMergeHelper(launchStream(), oracle, this).merge();
        return getReturnCode() == 0;
    }

    public MergeContext execute() throws IOException {
        MergeContext result = new MergeContext(this);
        result.processStream(launchStream("-y", "--tool", "internal:fail"), false);
        return result;
    }
View Full Code Here

Examples of org.locationtech.udig.tools.merge.MergeContext

        treeFeatures.addSelectionListener(new SelectionAdapter() {

            @Override
            public void widgetSelected(SelectionEvent e) {
                MergeContext mergeContextSingleton = MergeContext.getInstance();
                if (mergeContextSingleton.getMergeMode() == MergeContext.MERGEMODE_TOOL) {
                    // The handleTreeEventClick function selects in map the clicked treeFeature:
                    // such behaviour is not compatible with MERGEMODE_OPERATION due to filterChange
                    // listeners in place when in that mode, so the function call is allowed just
                    // when in TOOL mode
                handleTreeEventClick(e);
View Full Code Here

Examples of org.locationtech.udig.tools.merge.MergeContext

   */
  private void addPreSelectedFeatures() {
    // Use the currEventTriggeringLayer to store the layer that
    // pseudo-triggered (no actual
    // listener, just) this
    MergeContext mergeContextSingleton = MergeContext.getInstance();
    List<SimpleFeature> selectedFeatures = mergeContextSingleton
        .getPreselectedFeatures();
    this.currEventTriggeringLayer = mergeContextSingleton
        .getPreSelectedLayer();
    if (selectedFeatures != null) {
      this.addSourceFeatures(selectedFeatures);
      // Clear preselected features to prevent repeated additions
      mergeContextSingleton.clearPreselectedFeatures();
      this.display();
    }
  }
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.