Class SupplyDependencyContext


  • public class SupplyDependencyContext
    extends Object
    Contains element dependency context: element node name, element dependency EClass, and element dependency name. Examples of the dependencies are form items that may depend on attributes (via datapaths in form fields) and commands (via command names in buttons).
    • Constructor Detail

      • SupplyDependencyContext

        public SupplyDependencyContext​(String parentName,
                                       org.eclipse.emf.ecore.EClass dependencyEClass,
                                       String dependencyName)
        Creates new dependency context instance
        Parameters:
        parentName - the element name, cannot be null
        dependencyEClass - the dependency element EClass, can be null
        dependencyName - the dependency element name, can be null
      • SupplyDependencyContext

        public SupplyDependencyContext​(String parentName)
        Creates new dependency context instance
        Parameters:
        parentName - the element name, cannot be null
    • Method Detail

      • getParentName

        public String getParentName()
        Returns the element name.
        Returns:
        the parentName, never null
      • getDependencyEClass

        public org.eclipse.emf.ecore.EClass getDependencyEClass()
        Returns the dependency EClass
        Returns:
        the dependency EClass, can be null
      • getDependencyName

        public String getDependencyName()
        Returns the dependency element name
        Returns:
        the dependency name, can be null