This commit is contained in:
bancika
2011-01-12 18:25:44 +00:00
parent 09e4862bcc
commit f050ab5818
@@ -705,6 +705,12 @@ public class Presenter implements IPlugInPort {
} }
} }
/**
* Removes all the groups that contain at least one of the specified
* components.
*
* @param components
*/
private void ungroupComponents(Collection<IDIYComponent<?>> components) { private void ungroupComponents(Collection<IDIYComponent<?>> components) {
Iterator<Set<IDIYComponent<?>>> groupIterator = currentProject.getGroups().iterator(); Iterator<Set<IDIYComponent<?>>> groupIterator = currentProject.getGroups().iterator();
while (groupIterator.hasNext()) { while (groupIterator.hasNext()) {