Examples of removeSelection()


Examples of diva.canvas.interactor.SelectionModel.removeSelection()

            Interactor interactor = getInteractor();
            if (interactor instanceof SelectionInteractor) {
                // remove any selection handles, etc.
                SelectionModel model = ((SelectionInteractor) interactor).getSelectionModel();
                if (model.containsSelection(this)) {
                    model.removeSelection(this);
                }
            }
        }

        repaint();
View Full Code Here

Examples of diva.canvas.interactor.SelectionModel.removeSelection()

        Interactor interactor = fig.getInteractor();
        if (interactor instanceof SelectionInteractor) {
            // remove any selection handles, etc.
            SelectionModel model = ((SelectionInteractor) interactor).getSelectionModel();
            if (model.containsSelection(fig)) {
                model.removeSelection(fig);
            }
        }
        _figureLayer.remove(fig);
    }
View Full Code Here

Examples of edu.isi.karma.controller.command.selection.SuperSelection.removeSelection()

      Selection currentSel = superSel.getSelection(hTable.getId());
      if (currentSel != null) {
        outputColumns.addAll(currentSel.getInputColumns());
        oldSelections.put(currentSel.getHTableId(), currentSel);
        worksheet.getSelectionManager().removeSelection(currentSel);
        superSel.removeSelection(currentSel);
      }
    }
    if (type.equals("All")) {
      for (Selection sel : superSel.getAllSelection()) {
        if (sel != null) {
View Full Code Here

Examples of edu.isi.karma.controller.command.selection.SuperSelection.removeSelection()

    if (type.equals("All")) {
      for (Selection sel : superSel.getAllSelection()) {
        if (sel != null) {
          oldSelections.put(sel.getHTableId(), sel);
          worksheet.getSelectionManager().removeSelection(sel);
          superSel.removeSelection(sel);
        }
      }
    }
    WorksheetUpdateFactory.detectSelectionStatusChange(worksheetId, workspace, this);
    UpdateContainer uc = WorksheetUpdateFactory.createWorksheetHierarchicalAndCleaningResultsUpdates(worksheetId, superSel);
View Full Code Here

Examples of edu.isi.karma.controller.command.selection.SuperSelection.removeSelection()

      Selection t = new LargeSelection(workspace, worksheetId, hTable.getId(), factory.getNewId("SEL"), superSel.getName(), currentSel, anotherSel, operation);
      worksheet.getSelectionManager().addSelection(t);
      outputColumns.addAll(t.getInputColumns());
      previousSelection = superSel.getSelection(t.getHTableId());
      if (previousSelection != null)
        superSel.removeSelection(previousSelection);
      superSel.addSelection(t);
     
    }catch (Exception e) {
      return getErrorUpdate("The operation is undefined");
    }
View Full Code Here

Examples of edu.isi.karma.controller.command.selection.SuperSelection.removeSelection()

      superSel.addSelection(previousSelection);
      outputColumns.addAll(previousSelection.getInputColumns());
    }
    if (currentSel != null) {
      worksheet.getSelectionManager().removeSelection(currentSel);
      superSel.removeSelection(currentSel);
    }
    WorksheetUpdateFactory.detectSelectionStatusChange(worksheetId, workspace, this);
    UpdateContainer uc = WorksheetUpdateFactory.createWorksheetHierarchicalAndCleaningResultsUpdates(worksheetId, superSel)
    uc.add(new WorksheetSuperSelectionListUpdate(worksheetId));
    return uc;
View Full Code Here

Examples of org.rstudio.core.client.dom.WindowEx.removeSelection()

                     else
                     {
                        if (isIncrementalFindSupported())
                        {
                           clearTerm();
                           contentWindow.removeSelection();
                        }
                     }
                  }
               }
            }
View Full Code Here

Examples of org.rstudio.core.client.dom.WindowEx.removeSelection()

      if (contentWindow == null)
         return;
     
      // if this is an incremental search then reset the selection first
      if (incremental)
         contentWindow.removeSelection();
     
      contentWindow.find(term, false, !forwards, true, false);
   }
  
   private boolean isFindSupported()
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.