org.eclipse.stp.core.create.operations
Class RootSCAModelCreationOperation

java.lang.Object
  extended by org.eclipse.core.commands.operations.AbstractOperation
      extended by org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation
          extended by org.eclipse.stp.core.infrastructure.operations.AbstractScribblerOperation
              extended by org.eclipse.stp.core.create.operations.RootSCAModelCreationOperation
All Implemented Interfaces:
org.eclipse.core.commands.operations.IUndoableOperation, org.eclipse.wst.common.frameworks.datamodel.IDataModelOperation
Direct Known Subclasses:
ComponentTypeCreationOperation, CompositeCreationOperation, ModuleCreationOperation

public abstract class RootSCAModelCreationOperation
extends org.eclipse.stp.core.infrastructure.operations.AbstractScribblerOperation

Author:
Manish Bhargava IUndoableOperation for EObject which are root objects for a Resource.

Constructor Summary
RootSCAModelCreationOperation()
           
RootSCAModelCreationOperation(org.eclipse.wst.common.frameworks.datamodel.IDataModel model)
           
 
Method Summary
 org.eclipse.core.runtime.IStatus doExecute(org.eclipse.core.runtime.IProgressMonitor monitor)
           
 
Methods inherited from class org.eclipse.stp.core.infrastructure.operations.AbstractScribblerOperation
execute, redo, undo
 
Methods inherited from class org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation
getDataModel, getEnvironment, getID, getOperationExecutionFlags, getSchedulingRule, setDataModel, setEnvironment, setID
 
Methods inherited from class org.eclipse.core.commands.operations.AbstractOperation
addContext, canExecute, canRedo, canUndo, dispose, getContexts, getLabel, hasContext, removeContext, setLabel, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.core.commands.operations.IUndoableOperation
addContext, canExecute, canRedo, canUndo, dispose, getContexts, getLabel, hasContext, removeContext
 

Constructor Detail

RootSCAModelCreationOperation

public RootSCAModelCreationOperation()

RootSCAModelCreationOperation

public RootSCAModelCreationOperation(org.eclipse.wst.common.frameworks.datamodel.IDataModel model)
Method Detail

doExecute

public org.eclipse.core.runtime.IStatus doExecute(org.eclipse.core.runtime.IProgressMonitor monitor)
                                           throws org.eclipse.core.commands.ExecutionException
Specified by:
doExecute in class org.eclipse.stp.core.infrastructure.operations.AbstractScribblerOperation
Throws:
org.eclipse.core.commands.ExecutionException