org.jhotdraw8.draw.action.GroupAction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.jhotdraw8.draw Show documentation
Show all versions of org.jhotdraw8.draw Show documentation
JHotDraw8 Drawing Framework
The newest version!
/*
* @(#)GroupAction.java
* Copyright © 2023 The authors and contributors of JHotDraw. MIT License.
*/
package org.jhotdraw8.draw.action;
import javafx.event.ActionEvent;
import javafx.scene.control.Alert;
import org.jhotdraw8.application.resources.Resources;
import org.jhotdraw8.collection.iterator.Iterators;
import org.jhotdraw8.draw.DrawLabels;
import org.jhotdraw8.draw.DrawingEditor;
import org.jhotdraw8.draw.DrawingView;
import org.jhotdraw8.draw.figure.Drawing;
import org.jhotdraw8.draw.figure.Figure;
import org.jhotdraw8.draw.figure.Layer;
import org.jhotdraw8.draw.model.DrawingModel;
import org.jspecify.annotations.Nullable;
import java.util.Collection;
import java.util.LinkedList;
import java.util.function.Supplier;
/**
* GroupAction.
*
* @author Werner Randelshofer
*/
public class GroupAction extends AbstractDrawingViewAction {
public static final String ID = "edit.group";
public static final String COMBINE_PATHS_ID = "edit.combinePaths";
public final @Nullable Supplier