Class EmfChange

java.lang.Object
com._1c.g5.aef2.emf.changes.EmfChange
All Implemented Interfaces:
IChange, IEmfChange

public class EmfChange extends Object implements IEmfChange
IEmfChange implementation.
  • Field Summary

    Fields inherited from interface com._1c.g5.aef2.changes.IChange

    NO_CHANGE
  • Constructor Summary

    Constructors
    Constructor
    Description
    EmfChange(org.eclipse.emf.transaction.TransactionalEditingDomain domain, org.eclipse.emf.common.command.Command command)
    Instantiates a new EMF change.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Applies the change.
    org.eclipse.emf.common.command.Command
     
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • EmfChange

      public EmfChange(org.eclipse.emf.transaction.TransactionalEditingDomain domain, org.eclipse.emf.common.command.Command command)
      Instantiates a new EMF change.
      Parameters:
      domain - the domain to execute the command on.
      command - the command.
  • Method Details

    • apply

      public void apply()
      Description copied from interface: IChange
      Applies the change.
      Specified by:
      apply in interface IChange
    • getCommand

      public org.eclipse.emf.common.command.Command getCommand()
      Specified by:
      getCommand in interface IEmfChange
      Returns:
      this change's EMF command.
    • toString

      public String toString()
      Overrides:
      toString in class Object