Class AddAction<T>

java.lang.Object
spoon.support.modelobs.action.Action
spoon.support.modelobs.action.AddAction<T>

public class AddAction<T> extends Action
  • Constructor Details

    • AddAction

      public AddAction(Context context, T newValue)
  • Method Details

    • getChangedValue

      public T getChangedValue()
      Description copied from class: Action
      get the changed value of the model
      Specified by:
      getChangedValue in class Action
      Returns:
      the changed value
    • getNewValue

      public T getNewValue()
      Returns the added element
      Returns:
      the new element