Class ListWorkingCopy<T>

Type Parameters:
T - the list objects type.
All Implemented Interfaces:
IEditableModel, IModel, IList<T>, IValidable, Iterable<T>, Collection<T>, List<T>

public class ListWorkingCopy<T> extends ListModel<T>
List working copy – editable proxy buffer for another list.
  • Constructor Details

    • ListWorkingCopy

      public ListWorkingCopy(IList<T> original)
      Instantiates a new list working copy.
      Parameters:
      original - the original list.
  • Method Details

    • validate

      public org.eclipse.core.runtime.IStatus validate()
      Description copied from interface: IValidable
      Validates this object state.
      Specified by:
      validate in interface IValidable
      Overrides:
      validate in class Validable
      Returns:
      the validation status.
    • getChange

      public IChange getChange()
      Returns:
      change describing the modifications done to the model.
    • isOnline

      public boolean isOnline()
      Specified by:
      isOnline in interface IModel
      Overrides:
      isOnline in class Model
      Returns:
      true if this model is online, false otherwise.