public interface IRemoveCommand
| Modifier and Type | Method and Description |
|---|---|
void |
addElement(MObject elementToRemove)
Add the given element to the collection of elements to remove.
|
void |
addElements(java.util.Collection<MObject> elementsToRemove)
Add the given elements to the collection of elements to remove.
|
void |
execute(org.modelio.vbasic.progress.IModelioProgress monitor)
Remove the elements from version control.
|
void |
execute(java.util.List<MObject> elementsToRemove,
org.modelio.vbasic.progress.IModelioProgress monitor)
Deprecated.
|
IRemoveConfig |
getConfiguration() |
boolean |
isBatchMode() |
void |
setBatch(boolean batchMode)
Set whether the command must be run in batch mode
|
void |
setUseProcessExtension(boolean val)
Set whether the the
process model extensions will be called. |
boolean |
useProcessExtension()
Tells whether the the
process model extensions will be called. |
@Deprecated void execute(java.util.List<MObject> elementsToRemove, org.modelio.vbasic.progress.IModelioProgress monitor) throws CmsException
execute(IModelioProgress) and addElements(Collection)elementsToRemove - elements to removemonitor - the progress monitor to use for reporting progress to the user. CmsException - in case of failurevoid execute(org.modelio.vbasic.progress.IModelioProgress monitor)
throws CmsException
monitor - the progress monitor to use for reporting progress to the user. CmsException - in case of failurevoid setUseProcessExtension(boolean val)
process model extensions will be called.val - true to use the process model extensions will be called.boolean useProcessExtension()
process model extensions will be called.process model extensions will be called.IRemoveConfig getConfiguration()
void setBatch(boolean batchMode)
batchMode - true for batch mode. false to allow GUI.boolean isBatchMode()
void addElements(java.util.Collection<MObject> elementsToRemove)
elementsToRemove - the elements to remove.void addElement(MObject elementToRemove)
elementToRemove - the element to remove.