mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-11 01:32:08 +10:00
double click on a component button to select all of that type
This commit is contained in:
+2
-1
@@ -157,7 +157,8 @@ public class ComponentProcessor {
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns properties mutual for all the selected components.
|
||||
* Returns properties that have the same value for all the selected
|
||||
* components.
|
||||
*
|
||||
* @param selectedComponents
|
||||
* @return
|
||||
|
||||
+1
-8
@@ -1062,14 +1062,7 @@ public class Presenter implements IPlugInPort {
|
||||
drawingManager.setTheme(theme);
|
||||
}
|
||||
|
||||
/**
|
||||
* Updates the selection with the specified {@link ComponentTransferable}.
|
||||
* Also, updates control point map with all components that are stuck to the
|
||||
* newly selected components.
|
||||
*
|
||||
* @param newSelection
|
||||
*/
|
||||
private void updateSelection(List<IDIYComponent<?>> newSelection) {
|
||||
public void updateSelection(List<IDIYComponent<?>> newSelection) {
|
||||
this.selectedComponents = newSelection;
|
||||
Map<IDIYComponent<?>, Set<Integer>> controlPointMap = new HashMap<IDIYComponent<?>, Set<Integer>>();
|
||||
for (IDIYComponent<?> component : selectedComponents) {
|
||||
|
||||
Reference in New Issue
Block a user