Interface ECPProject

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String TYPE
      The type of the ECPElement.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void close()
      This closes an opened object.
      void deleteElements​(java.util.Collection<java.lang.Object> objects)
      Deletes a collection of Objects by delegating the task to the provider.
      org.eclipse.emf.common.util.EList<java.lang.Object> getContents()
      Returns the list of the direct content objects; each is of type Object.
      boolean hasDirtyContents()
      Checks whether the model, associated with this project is dirty.
      boolean isOpen()
      Whether an object is open or not.
      void open()
      This opens a closed object.
      void saveContents()
      Saves the currently pending changes of the model.
      • Methods inherited from interface java.lang.Comparable

        compareTo
      • Methods inherited from interface org.eclipse.emf.edit.domain.IEditingDomainProvider

        getEditingDomain
    • Field Detail

    • Method Detail

      • getContents

        org.eclipse.emf.common.util.EList<java.lang.Object> getContents()
        Returns the list of the direct content objects; each is of type Object. The contents may be directly modified. Adding an object will remove it from the previous container;
        Returns:
        A list of Object
      • saveContents

        void saveContents()
        Saves the currently pending changes of the model. This method delegates to the provider.
      • hasDirtyContents

        boolean hasDirtyContents()
        Checks whether the model, associated with this project is dirty.
        Returns:
        true if model is dirty, false otherwise
      • deleteElements

        void deleteElements​(java.util.Collection<java.lang.Object> objects)
        Deletes a collection of Objects by delegating the task to the provider.
        Parameters:
        objects - the collection of Objects to delete
      • isOpen

        boolean isOpen()
        Whether an object is open or not.
        Returns:
        true if it is open, false otherwise
      • open

        void open()
        This opens a closed object. If the object was already opened, nothing happens.
      • close

        void close()
        This closes an opened object. If the object was already closed, nothing happens.