src/main/java/chalmers/pimp/model/command/CommandFactory.java
public static ICommand createChangeColorCommand(
      IColorModel colorModel,
      IMementoTarget<ModelMemento> mementoTarget,
      IColor color
  ) {
    return new ChangeColorCommand(colorModel, mementoTarget, color);
  }
/**
   * Creates and returns a command that represents the action of changing the color.
   *
   * @param mementoTarget the memento target that will be used.
   * @param colorModel    the color model.
   * @param color         the new color.
   * @return a command that represents the action of changing the color.
   * @throws NullPointerException if any references are {@code null}.
   */
Creates and returns a command that represents the action of changing the color.
@param mementoTarget the memento target that will be used.
@param colorModel    the color model.
@param color         the new color.
@return a command that represents the action of changing the color.
@throws NullPointerException if any references are  null.
Creates and returns a command that represents the action of changing the color . @param mementoTarget the memento target that will be used . @param colorModel the color model . @param color the new color . @return a command that represents the action of changing the color . @throws NullPointerException if any references are null .
public static ICommand createChangeColorCommand(
      IColorModel colorModel,
      IMementoTarget<ModelMemento> mementoTarget,
      IColor color
  ) {
    return new ChangeColorCommand(colorModel, mementoTarget, color);
  }
public static ICommand createChangeColorCommand ( IColorModel colorModel , IMementoTarget < ModelMemento > mementoTarget , IColor color ) { return new ChangeColorCommand ( colorModel , mementoTarget , color ) ; }
Creates and returns a command that represents the action of changing the color.
Creates and returns a command that represents the action of changing the color .