Class UngroupEntitiesHandler

  • All Implemented Interfaces:
    org.eclipse.core.commands.IHandler, org.eclipse.core.commands.IHandler2

    public class UngroupEntitiesHandler
    extends AbstractDiagramHandler
    Handler for "Ungroup" entities button.
    • Constructor Detail

      • UngroupEntitiesHandler

        public UngroupEntitiesHandler()
    • Method Detail

      • ungroup

        public void ungroup​(Collection<IErdEntity> groups,
                            DiagramTabItem tab)
        Ungroups given entities.
        Parameters:
        groups - - entities to ungroup. Entities should be instance of ErdEntityGroup. Can't be null.
        tab - - tab to ungroup entities. Can't be null.
      • ungroup

        public void ungroup​(Collection<IErdEntity> groups,
                            com._1c.g5.v8.dt.diagram.framework.model.Point position,
                            DiagramTabItem tab)
        Ungroups given entities with center on given point.
        Parameters:
        groups - - entities to ungroup. Entities should be instance of ErdEntityGroup. Can't be null.
        position - - location where ungroup. Can't be null.
        tab - - tab to ungroup entities. Can't be null.