Class TabRefreshEntitiesOperation
- java.lang.Object
-
- com._1c.g5.v8.dt.diagram.framework.ui.operations.AbstractDiagramOperation
-
- com._1c.g5.v8.dt.diagram.framework.ui.operations.NotUndoableOperation
-
- com._1c.g5.v8.dt.erd.ui.editors.operations.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 Summary
Constructors Constructor Description TabRefreshEntitiesOperation(Collection<MdObject> objectsToRefresh, DiagramTabItem tab, boolean isExecuted)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.core.runtime.IStatus
execute(org.eclipse.core.runtime.IProgressMonitor monitor, org.eclipse.core.runtime.IAdaptable info)
String
getLabel()
-
Methods inherited from class com._1c.g5.v8.dt.diagram.framework.ui.operations.NotUndoableOperation
canExecute, canRedo, canUndo, redo, undo
-
-
-
-
Constructor Detail
-
TabRefreshEntitiesOperation
public TabRefreshEntitiesOperation(Collection<MdObject> objectsToRefresh, DiagramTabItem tab, boolean isExecuted)
Constructor.- Parameters:
objectsToRefresh
- - objects to refresh. Can't benull
.tab
- - tab to refresh. Can't benull
.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 interfaceorg.eclipse.core.commands.operations.IUndoableOperation
- Overrides:
execute
in classcom._1c.g5.v8.dt.diagram.framework.ui.operations.NotUndoableOperation
- Throws:
org.eclipse.core.commands.ExecutionException
-
getLabel
public String getLabel()
- Specified by:
getLabel
in interfaceorg.eclipse.core.commands.operations.IUndoableOperation
- Overrides:
getLabel
in classcom._1c.g5.v8.dt.diagram.framework.ui.operations.NotUndoableOperation
-
-