public class CompletedChangeCommand
extends org.eclipse.emf.common.command.AbstractCommand
| Modifier and Type | Field and Description |
|---|---|
protected org.eclipse.emf.ecore.change.ChangeDescription |
iChangeDescription |
protected org.eclipse.emf.ecore.resource.Resource |
iResourcePrimary |
| Constructor and Description |
|---|
CompletedChangeCommand(org.eclipse.emf.ecore.change.ChangeDescription aChangeDescription,
org.eclipse.emf.ecore.resource.Resource aResourcePrimary) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canUndo() |
void |
dispose() |
void |
execute() |
org.eclipse.emf.ecore.change.ChangeDescription |
getChangeDescription() |
org.eclipse.emf.ecore.resource.Resource |
getPrimaryResource() |
protected boolean |
prepare() |
void |
redo() |
void |
setChangeDescription(org.eclipse.emf.ecore.change.ChangeDescription aChangeDescription) |
void |
setPrimaryResource(org.eclipse.emf.ecore.resource.Resource aResourcePrimary) |
void |
undo() |
protected org.eclipse.emf.ecore.change.ChangeDescription iChangeDescription
protected org.eclipse.emf.ecore.resource.Resource iResourcePrimary
public CompletedChangeCommand(org.eclipse.emf.ecore.change.ChangeDescription aChangeDescription,
org.eclipse.emf.ecore.resource.Resource aResourcePrimary)
public boolean canUndo()
canUndo in interface org.eclipse.emf.common.command.CommandcanUndo in class org.eclipse.emf.common.command.AbstractCommandpublic void dispose()
dispose in interface org.eclipse.emf.common.command.Commanddispose in class org.eclipse.emf.common.command.AbstractCommandpublic void execute()
public org.eclipse.emf.ecore.change.ChangeDescription getChangeDescription()
public org.eclipse.emf.ecore.resource.Resource getPrimaryResource()
protected boolean prepare()
prepare in class org.eclipse.emf.common.command.AbstractCommandpublic void redo()
public void setChangeDescription(org.eclipse.emf.ecore.change.ChangeDescription aChangeDescription)
public void setPrimaryResource(org.eclipse.emf.ecore.resource.Resource aResourcePrimary)
public void undo()
undo in interface org.eclipse.emf.common.command.Commandundo in class org.eclipse.emf.common.command.AbstractCommandCopyright © 2005-2016 Progress Software Corporation and/or its subsidiaries and affiliates. All rights reserved.