Searched refs:selections (Results 1 – 8 of 8) sorted by relevance
1039 List<SelectionItem> selections = selectionManager.getSelections(); in addMenuItems() local1040 boolean selectedOne = selections.size() == 1; in addMenuItems()1041 boolean notRoot = selectedOne && !selections.get(0).isRoot(); in addMenuItems()1042 boolean haveSelection = selections.size() > 0; in addMenuItems()1129 final List<SelectionItem> selections = getSelections(); in performDefaultAction() local1130 if (selections.size() > 0) { in performDefaultAction()1131 NodeProxy primary = selections.get(0).getNode(); in performDefaultAction()1153 for (SelectionItem item : selections) { in performDefaultAction()1184 final List<SelectionItem> selections = getSelections(); in performRename() local1185 if (selections.size() > 0) { in performRename()[all …]
77 List<SelectionItem> selections = selectionManager.getSelections(); in paint() local78 int n = selections.size(); in paint()82 for (SelectionItem s : selections) { in paint()107 NodeProxy node = selections.get(0).getNode(); in paint()
155 List<SelectionItem> selections = mCanvas.getSelectionManager().getSelections(); in paint() local156 for (SelectionItem item : selections) { in paint()
121 List<SelectionItem> selections = selectionManager.getSelections(); in updateSelection() local122 if (selections.size() > 0) { in updateSelection()127 NodeProxy node = selections.get(0).getNode(); in updateSelection()140 selections = Collections.emptyList(); in updateSelection()145 for (SelectionItem item : selections) { in updateSelection()349 List<SelectionItem> selections = in getSelectedNodes() local351 List<INode> nodes = new ArrayList<INode>(selections.size()); in getSelectedNodes()352 for (SelectionItem item : selections) { in getSelectedNodes()
745 List<SelectionItem> selections = selectionManager.getSelections(); in dragStart() local749 if (!selections.isEmpty()) { in dragStart()753 for (SelectionItem cs : selections) { in dragStart()774 if (selections.size() == 1) { in dragStart()779 mDragSelection.addAll(selections); in dragStart()782 for (SelectionItem cs : selections) { in dragStart()798 mDragSelection.addAll(selections); in dragStart()
79 List<SelectionItem> selections = selectionManager.getSelections(); in addMenuItems() local80 if (selections.size() == 0) { in addMenuItems()84 SelectionItem first = selections.get(0); in addMenuItems()
1058 List<SelectionItem> selections = mSelectionManager.getSelections(); in getNodesToExplode() local1059 if (selections.size() > 0) { in getNodesToExplode()1062 for (SelectionItem item : selections) { in getNodesToExplode()1394 List<SelectionItem> selections = getSelectionManager().getSelections(); in updateMenuActionState() local1395 boolean hasSelection = !selections.isEmpty(); in updateMenuActionState()1396 if (hasSelection && selections.size() == 1 && selections.get(0).isRoot()) { in updateMenuActionState()
161 List<SelectionItem> selections = mCanvas.getSelectionManager().getSelections(); in populateDynamicContextMenu() local162 if (selections.size() == 0) { in populateDynamicContextMenu()165 List<INode> nodes = new ArrayList<INode>(selections.size()); in populateDynamicContextMenu()166 for (SelectionItem item : selections) { in populateDynamicContextMenu()