org.eclipse.emf.edit.tree.impl
Class TreePackageImpl

java.lang.Object
  |
  +--org.eclipse.emf.common.notify.impl.NotifierImpl
        |
        +--org.eclipse.emf.ecore.impl.EObjectImpl
              |
              +--org.eclipse.emf.ecore.impl.EModelElementImpl
                    |
                    +--org.eclipse.emf.ecore.impl.ENamedElementImpl
                          |
                          +--org.eclipse.emf.ecore.impl.EPackageImpl
                                |
                                +--org.eclipse.emf.edit.tree.impl.TreePackageImpl
All Implemented Interfaces:
EModelElement, ENamedElement, EObject, EPackage, InternalEObject, Notifier, TreePackage

public class TreePackageImpl
extends EPackageImpl
implements TreePackage

An implementation of the model Package.


Inner classes inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
EObjectImpl.EPropertiesHolder, EObjectImpl.EPropertiesHolderImpl
 
Inner classes inherited from class org.eclipse.emf.ecore.EPackage
EPackage.Descriptor, EPackage.Registry
 
Fields inherited from class org.eclipse.emf.ecore.impl.EPackageImpl
eClassifiers, ecoreFactory, ecorePackage, eFactoryInstance, eNameToEClassifierMap, eSubpackages, IS_ABSTRACT, IS_CHANGEABLE, IS_COMPOSITE, IS_ID, IS_INTERFACE, IS_RESOLVABLE, IS_RESOLVE_PROXIES, IS_SERIALIZABLE, IS_TRANSIENT, IS_UNIQUE, IS_UNSETTABLE, IS_VOLATILE, NS_PREFIX_EDEFAULT, NS_URI_EDEFAULT, nsPrefix, nsURI
 
Fields inherited from class org.eclipse.emf.ecore.impl.ENamedElementImpl
name, NAME_EDEFAULT
 
Fields inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eAnnotations
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eContainer, eContainerFeatureID, ELAST_EOBJECT_FLAG, eProperties
 
Fields inherited from class org.eclipse.emf.common.notify.impl.NotifierImpl
eAdapters, EDELIVER, eFlags, ELAST_NOTIFIER_FLAG
 
Fields inherited from interface org.eclipse.emf.edit.tree.TreePackage
eINSTANCE, eNAME, eNS_PREFIX, eNS_URI, TREE_NODE, TREE_NODE__CHILDREN, TREE_NODE__DATA, TREE_NODE__PARENT, TREE_NODE_FEATURE_COUNT
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Method Summary
 void createPackageContents()
          Creates the meta-model objects for the package.
 TreeFactory getTreeFactory()
          
 EReference getTreeNode_Children()
          
 EReference getTreeNode_Data()
          
 EReference getTreeNode_Parent()
          
 EClass getTreeNode()
          
static TreePackage init()
          Creates, registers, and initializes the Package for this model, and for any others upon which it depends.
 void initializePackageContents()
          Complete the initialization of the package and its meta-model.
 
Methods inherited from class org.eclipse.emf.ecore.impl.EPackageImpl
addAnnotation, addEEnumLiteral, addEOperation, addEParameter, basicSetEFactoryInstance, createEAttribute, createEClass, createEDataType, createEEnum, createEReference, createResource, eBasicRemoveFromContainer, eGet, eInverseAdd, eInverseRemove, eIsSet, eSet, eStaticClass, eUnset, getEClassifier, getEClassifiers, getEFactoryInstance, getESubpackages, getESuperPackage, getNsPrefix, getNsURI, initEAttribute, initEAttribute, initEAttribute, initEClass, initEDataType, initEEnum, initEReference, initEReference, initEReference, setEFactoryInstance, setNamespaceURI, setNsPrefix, setNsURI, toString
 
Methods inherited from class org.eclipse.emf.ecore.impl.ENamedElementImpl
getName, getNameGen, setName
 
Methods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eObjectForURIFragmentSegment, eURIFragmentSegment, getEAnnotation, getEAnnotations
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicSetContainer, eClass, eContainer, eContainerFeatureID, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicFeatureID, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicSet, eDynamicUnset, eGet, eHasSettings, eInternalResource, eIsProxy, eProperties, eProxyURI, eResource, eSetClass, eSetProxyURI, eSetResource, eSetting, eSettingDelegate, eSettings, eStaticFeatureCount
 
Methods inherited from class org.eclipse.emf.common.notify.impl.NotifierImpl
eAdapters, eDeliver, eNotificationRequired, eNotify, eSetDeliver
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.ecore.EPackage
getEClassifier, getEClassifiers, getEFactoryInstance, getESubpackages, getESuperPackage, getNsPrefix, getNsURI, setEFactoryInstance, setNsPrefix, setNsURI
 
Methods inherited from interface org.eclipse.emf.ecore.ENamedElement
getName, setName
 
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Method Detail

init

public static TreePackage init()
Creates, registers, and initializes the Package for this model, and for any others upon which it depends. Simple dependencies are satisfied by calling this method on all dependent packages before doing anything else. This method drives initialization for interdependent packages directly, in parallel with this package, itself.

Of this package and its interdependencies, all packages which have not yet been registered by their URI values are first created and registered. The packages are then initialized in two steps: meta-model objects for all of the packages are created before any are initialized, since one package's meta-model objects may refer to those of another.

Invocation of this method will not affect any packages that have already been initialized.

See Also:
TreePackage.eNS_URI, createPackageContents(), initializePackageContents()

getTreeNode

public EClass getTreeNode()
Specified by:
getTreeNode in interface TreePackage
Following copied from interface: org.eclipse.emf.edit.tree.TreePackage
Returns:
the meta object for class 'Node'.
See Also:
TreeNode

getTreeNode_Parent

public EReference getTreeNode_Parent()
Specified by:
getTreeNode_Parent in interface TreePackage
Following copied from interface: org.eclipse.emf.edit.tree.TreePackage
Returns:
the meta object for the container reference 'Parent'.
See Also:
TreeNode.getParent(), TreePackage.getTreeNode()

getTreeNode_Children

public EReference getTreeNode_Children()
Specified by:
getTreeNode_Children in interface TreePackage
Following copied from interface: org.eclipse.emf.edit.tree.TreePackage
Returns:
the meta object for the containment reference list 'Children'.
See Also:
TreeNode.getChildren(), TreePackage.getTreeNode()

getTreeNode_Data

public EReference getTreeNode_Data()
Specified by:
getTreeNode_Data in interface TreePackage
Following copied from interface: org.eclipse.emf.edit.tree.TreePackage
Returns:
the meta object for the reference 'Data'.
See Also:
TreeNode.getData(), TreePackage.getTreeNode()

getTreeFactory

public TreeFactory getTreeFactory()
Specified by:
getTreeFactory in interface TreePackage
Following copied from interface: org.eclipse.emf.edit.tree.TreePackage
Returns:
the factory that creates the instances of the model.

createPackageContents

public void createPackageContents()
Creates the meta-model objects for the package. This method is guarded to have no affect on any invocation but its first.

initializePackageContents

public void initializePackageContents()
Complete the initialization of the package and its meta-model. This method is guarded to have no affect on any invocation but its first.

Copyright 2001-2003 IBM Corporation and others.
All Rights Reserved.