Class TabRefreshEntitiesOperation

  • All Implemented Interfaces:
    org.eclipse.core.commands.operations.IUndoableOperation

    public class TabRefreshEntitiesOperation
    extends com._1c.g5.v8.dt.diagram.framework.ui.operations.NotUndoableOperation
    Instance of this class represents "Refresh tab entities" operation.
    • Constructor Detail

      • TabRefreshEntitiesOperation

        public TabRefreshEntitiesOperation​(Collection<MdObject> objectsToRefresh,
                                           DiagramTabItem tab,
                                           boolean isExecuted)
        Constructor.
        Parameters:
        objectsToRefresh - - objects to refresh. Can't be null.
        tab - - tab to refresh. Can't be null.
        isExecuted - - true if operation already executed.
    • Method Detail

      • execute

        public org.eclipse.core.runtime.IStatus execute​(org.eclipse.core.runtime.IProgressMonitor monitor,
                                                        org.eclipse.core.runtime.IAdaptable info)
                                                 throws org.eclipse.core.commands.ExecutionException
        Specified by:
        execute in interface org.eclipse.core.commands.operations.IUndoableOperation
        Overrides:
        execute in class com._1c.g5.v8.dt.diagram.framework.ui.operations.NotUndoableOperation
        Throws:
        org.eclipse.core.commands.ExecutionException
      • getLabel

        public String getLabel()
        Specified by:
        getLabel in interface org.eclipse.core.commands.operations.IUndoableOperation
        Overrides:
        getLabel in class com._1c.g5.v8.dt.diagram.framework.ui.operations.NotUndoableOperation