Class TypeItemFolder


  • public class TypeItemFolder
    extends Object
    Support class for source tree viewer. Parent item for type items.
    • Constructor Detail

      • TypeItemFolder

        public TypeItemFolder​(Configuration configuration,
                              org.eclipse.emf.ecore.EClass mdClass,
                              org.eclipse.emf.ecore.EStructuralFeature feature,
                              TypeItemFolder.SourceType sourceType,
                              TypeItem typeItem)
        Constructor.
        Parameters:
        configuration - - folder configuration. Can't be null.
        mdClass - - md class of object which folder represents. Can't be null.
        feature - - feature which folder represents. Can't be null.
        sourceType - - folder source type. Can't be null.
        typeItem - - type set which folder represents. Can't be null.
    • Method Detail

      • getConfiguration

        public Configuration getConfiguration()
        Returns folder configuration. Can't return null.
        Returns:
        the configuration
      • getMdClass

        public org.eclipse.emf.ecore.EClass getMdClass()
        Returns md class which folder represents.
        Returns:
        md class which folder represents. Can't be null.
      • getFeature

        public org.eclipse.emf.ecore.EStructuralFeature getFeature()
        Returns feature which folder represents.
        Returns:
        feature which folder represents. Can't return null.
      • getSourceType

        public TypeItemFolder.SourceType getSourceType()
        Returns folder source type. Can't return null.
        Returns:
        the sourceType
      • getTypeItem

        public TypeItem getTypeItem()
        Returns type which folder represents.
        Returns:
        type which folder represents. Can't be null.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object