Examples of clearSelection()


Examples of org.openstreetmap.josm.data.osm.DataSet.clearSelection()

            // Clear previous selection if SHIFT (add to selection) is not
            // pressed. Cannot use "setSelected()" because it will cause a
            // fireSelectionChanged event which is unnecessary at this point.
            if((mods & MouseEvent.SHIFT_DOWN_MASK) == 0) {
                ds.clearSelection();
            }

            // This will cycle through the available items.
            if(firstSelected == null) {
                ds.addSelected(firstItem);
View Full Code Here

Examples of org.pentaho.reporting.designer.core.model.selection.DocumentContextSelectionModel.clearSelection()

      final ReportDocumentContext renderContext = getRenderContext();

      if (clearSelectionOnDrag)
      {
        final DocumentContextSelectionModel selectionModel = renderContext.getSelectionModel();
        selectionModel.clearSelection();
        clearSelectionOnDrag = false;
      }

      selectionRectangleTarget = e.getPoint();
View Full Code Here

Examples of org.pentaho.reporting.designer.core.model.selection.DocumentContextSelectionModel.clearSelection()

        if (!e.isShiftDown())
        {
          if (!selectionModel.isSelected(element))
          {
            selectionModel.clearSelection();
            selectionModel.add(element);
            return;
          }
        }
      }
View Full Code Here

Examples of org.pentaho.reporting.designer.core.model.selection.DocumentContextSelectionModel.clearSelection()

        }
        else
        {
          if (!selectionModel.isSelected(element))
          {
            selectionModel.clearSelection();
            selectionModel.add(element);
          }
        }

        return;
View Full Code Here

Examples of org.pentaho.reporting.designer.core.model.selection.DocumentContextSelectionModel.clearSelection()

        return;
      }

      if (e.isShiftDown() == false)
      {
        selectionModel.clearSelection();
      }

      final Element element = rendererRoot.getElement();
      if (element instanceof RootLevelBand)
      {
View Full Code Here

Examples of org.pentaho.reporting.designer.core.model.selection.DocumentContextSelectionModel.clearSelection()

        }
        else
        {
          if (!selectionModel.isSelected(element))
          {
            selectionModel.clearSelection();
            selectionModel.add(element);
          }
        }
      }
    }
View Full Code Here

Examples of org.pentaho.reporting.designer.core.model.selection.ReportSelectionModel.clearSelection()

      final ReportRenderContext renderContext = getRenderContext();

      if (clearSelectionOnDrag)
      {
        final ReportSelectionModel selectionModel = renderContext.getSelectionModel();
        selectionModel.clearSelection();
        clearSelectionOnDrag = false;
      }

      selectionRectangleTarget = e.getPoint();
View Full Code Here

Examples of org.saiku.query.QueryHierarchy.clearSelection()

            if (!query.getDetails().getMeasures().contains(measure)) {
              query.getDetails().add(measure);
            }

          } else {
            qh.clearSelection();
            qh.clearFilters();
            qh.clearSort();
            query.moveHierarchy(qh, Axis.FILTER);
            qh.includeMember(m);
            levelSet.add(m.getLevel());
View Full Code Here

Examples of org.zkoss.zul.Listbox.clearSelection()

          if (((Listitem) item).getValue() instanceof Node) {
            nodes.add((Node) ((Listitem) item).getValue());
          }
        }
      }
      listbox.clearSelection();
      draggedNodes = nodes.toArray(new Node[] {});
    }
    if (dragged instanceof Treerow) {
      draggedNodes = new Node[] { (Node) ((Treeitem) ((Treerow) dragged)
          .getParent()).getValue() };
View Full Code Here

Examples of org.zkoss.zul.Tree.clearSelection()

        tree.addEventListener(Events.ON_SELECT, new EventListener() {
            @Override
            public void onEvent(Event event) {
                //undo the work done by this event
                //to be able to control it from the ON_CLICK event
                tree.clearSelection();
            }
        });
    }

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