org.mftech.dawn.runtime.client.modify
Class SetPropertyCommand

java.lang.Object
  extended by org.eclipse.core.commands.operations.AbstractOperation
      extended by org.eclipse.emf.workspace.AbstractEMFOperation
          extended by org.eclipse.gmf.runtime.emf.commands.core.command.AbstractTransactionalCommand
              extended by org.eclipse.gmf.runtime.diagram.core.commands.SetPropertyCommand
                  extended by org.mftech.dawn.runtime.client.modify.SetPropertyCommand
All Implemented Interfaces:
org.eclipse.core.commands.operations.IUndoableOperation, org.eclipse.gmf.runtime.common.core.command.ICommand, org.eclipse.gmf.runtime.common.core.internal.command.ICommandWithSettableResult

public class SetPropertyCommand
extends org.eclipse.gmf.runtime.diagram.core.commands.SetPropertyCommand

A command to a set a property of a view taken from http://dev.eclipse.org/newslists/news.eclipse.modeling.gmf/msg00767.html

Author:
melaasar

Constructor Summary
SetPropertyCommand(org.eclipse.emf.transaction.TransactionalEditingDomain editingDomain, org.eclipse.core.runtime.IAdaptable viewAdapter, java.lang.String propertyId, java.lang.String propertyName, java.lang.Object newValue)
           
SetPropertyCommand(org.eclipse.emf.transaction.TransactionalEditingDomain editingDomain, java.lang.String label, org.eclipse.core.runtime.IAdaptable viewAdapter, java.lang.String propertyId, java.lang.Object newValue)
           
 
Method Summary
 java.util.List getAffectedFiles()
           
 
Methods inherited from class org.eclipse.gmf.runtime.diagram.core.commands.SetPropertyCommand
getLabel
 
Methods inherited from class org.eclipse.gmf.runtime.emf.commands.core.command.AbstractTransactionalCommand
compose, getCommandResult, internalSetResult, reduce
 
Methods inherited from class org.eclipse.emf.workspace.AbstractEMFOperation
canRedo, canUndo, dispose, execute, getEditingDomain, getOptions, redo, undo
 
Methods inherited from class org.eclipse.core.commands.operations.AbstractOperation
addContext, canExecute, getContexts, 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.gmf.runtime.common.core.command.ICommand
setLabel
 
Methods inherited from interface org.eclipse.core.commands.operations.IUndoableOperation
addContext, canExecute, canRedo, canUndo, dispose, execute, getContexts, hasContext, redo, removeContext, undo
 

Constructor Detail

SetPropertyCommand

public SetPropertyCommand(org.eclipse.emf.transaction.TransactionalEditingDomain editingDomain,
                          java.lang.String label,
                          org.eclipse.core.runtime.IAdaptable viewAdapter,
                          java.lang.String propertyId,
                          java.lang.Object newValue)

SetPropertyCommand

public SetPropertyCommand(org.eclipse.emf.transaction.TransactionalEditingDomain editingDomain,
                          org.eclipse.core.runtime.IAdaptable viewAdapter,
                          java.lang.String propertyId,
                          java.lang.String propertyName,
                          java.lang.Object newValue)
Method Detail

getAffectedFiles

public java.util.List getAffectedFiles()
Specified by:
getAffectedFiles in interface org.eclipse.gmf.runtime.common.core.command.ICommand
Overrides:
getAffectedFiles in class org.eclipse.gmf.runtime.diagram.core.commands.SetPropertyCommand