Interface IAdd

All Known Subinterfaces:
IAddFeature, IConnectionPattern, IPattern
All Known Implementing Classes:
AbstractAddFeature, AbstractAddPictogramElementFeature, AbstractAddShapeFeature, AbstractConnectionPattern, AbstractPattern, AddFeatureForPattern, IdPattern, TypedPattern

public interface IAdd
The Interface IAdd.
  • Method Details

    • canAdd

      boolean canAdd(IAddContext context)
      Checks, if the add can be executed.
      Parameters:
      context - the context needed to execute the add
      Returns:
      true, if the add can be executed
    • add

      Executes the add.
      Parameters:
      context - the context needed to execute the add
      Returns:
      the added pictogram element