Runtime

## Uses of Interface
org.eclipse.gmf.runtime.emf.type.core.IElementType

Packages that use IElementType
org.eclipse.gmf.runtime.diagram.ui.commands: Aurora internal packages Package Specification Diagram ui commands
org.eclipse.gmf.runtime.diagram.ui.editparts: Aurora internal packages Package Specification This package contains the edit part classes.
org.eclipse.gmf.runtime.diagram.ui.editpolicies: Aurora internal packages Package Specification This package contains the edit policy classes.
org.eclipse.gmf.runtime.diagram.ui.requests: Aurora internal packages Package Specification thispackage contains the supported request classes
org.eclipse.gmf.runtime.diagram.ui.tools: Aurora internal packages Package Specification This package contains the creation tool specific classes, they could create Notation views or Semantic elemetn sor both
org.eclipse.gmf.runtime.diagram.ui.util: Aurora internal packages Package Specification This package contains utility classes used by this plugin.
org.eclipse.gmf.runtime.emf.type.core: This package contains the classes that define primary classes in the Element Type framework.
org.eclipse.gmf.runtime.emf.type.core.commands: Provides a set of commands that are used to edit model elements.
org.eclipse.gmf.runtime.emf.type.core.edithelper: Provides the edit helper and edit helper advice for the Element Type framework.
org.eclipse.gmf.runtime.emf.type.core.requests: Provides a set of requests that are used to ask for commands to edit model elements.
org.eclipse.gmf.runtime.emf.type.ui: Provides UI-related classes that use the `ElementTypeRegistry`.
org.eclipse.gmf.runtime.emf.ui.services.modelingassistant: The Modeling Assistant Service provides an extensible algorithm for offering users easy access to the most common editing gestures in a particular context of model elements and/or diagrams.

Uses of IElementType in org.eclipse.gmf.runtime.diagram.ui.commands

Constructors in org.eclipse.gmf.runtime.diagram.ui.commands with parameters of type IElementType
`DeferredCreateConnectionViewAndElementCommand(IElementType type, IAdaptable sourceViewAdapter, IAdaptable targetViewAdapter, EditPartViewer currentViewer, PreferencesHint preferencesHint)` Constructor for DeferredCreateConnectionViewAndElementCommand.

Uses of IElementType in org.eclipse.gmf.runtime.diagram.ui.editparts

Methods in org.eclipse.gmf.runtime.diagram.ui.editparts that return IElementType
`IElementType` `IInsertableEditPart.getElementType()` getElementType Method for returning the semantic type of the element that can be inserted by default into this editpart.

Uses of IElementType in org.eclipse.gmf.runtime.diagram.ui.editpolicies

Methods in org.eclipse.gmf.runtime.diagram.ui.editpolicies with parameters of type IElementType
`protected void` `PopupBarEditPolicy.addPopupBarDescriptor(IElementType elementType, Image theImage, DragTracker theTracker, java.lang.String theTip)` allows plugins to add their own popup bar tools and tips
`protected void` `PopupBarEditPolicy.addPopupBarDescriptor(IElementType elementType, Image theImage, DragTracker theTracker)` adds popup bar descriptor
`protected void` `PopupBarEditPolicy.addPopupBarDescriptor(IElementType elementType, Image theImage)` default method for plugins which passes along the PopupBarTool as the tool to be used.
`protected void` `PopupBarEditPolicy.addPopupBarDescriptor(IElementType elementType, Image theImage, java.lang.String theTip)`
`protected void` `PopupBarEditPolicy.addPopupBarDescriptor(IElementType elementType, Image theImage, CreateRequest theRequest)` method used primarily to add UnspecifiedTypeCreationTool

Uses of IElementType in org.eclipse.gmf.runtime.diagram.ui.requests

Methods in org.eclipse.gmf.runtime.diagram.ui.requests with parameters of type IElementType
`CreateRequest` `CreateUnspecifiedTypeConnectionRequest.getRequestForType(IElementType relationshipType)` Returns the `CreateRequest` for the relationship type passed in.
`void` `CreateUnspecifiedTypeConnectionRequest.addRequest(IElementType relationshipType, Request request)`
`CreateRequest` `CreateUnspecifiedTypeRequest.getRequestForType(IElementType creationHint)` Returns the `CreateRequest` for the element type passed in.
`static Command` `CreateConnectionViewAndElementRequest.getCreateCommand(IElementType elementType, EditPart sourceEditPart, EditPart targetEditPart, PreferencesHint preferencesHint)` Method getCreateCommand.

Constructors in org.eclipse.gmf.runtime.diagram.ui.requests with parameters of type IElementType
`CreateViewAndElementRequest(IElementType type, PreferencesHint preferencesHint)` Constructor for CreateViewAndElementRequest.
`CreateViewAndElementRequest(IElementType type, EObject context, PreferencesHint preferencesHint)` Constructor for CreateViewAndElementRequest.
`CreateConnectionViewAndElementRequest(IElementType type, java.lang.String semanticHint, PreferencesHint preferencesHint)` Constructor.
`CreateConnectionViewAndElementRequest(IElementType type, PreferencesHint preferencesHint)` Constructor.

Uses of IElementType in org.eclipse.gmf.runtime.diagram.ui.tools

Methods in org.eclipse.gmf.runtime.diagram.ui.tools that return IElementType
`IElementType` `CreationTool.getElementType()`
`protected IElementType` `ConnectionCreationTool.getElementType()`

Methods in org.eclipse.gmf.runtime.diagram.ui.tools with parameters of type IElementType
`protected void` `ConnectionCreationTool.setSemanticRequestType(IElementType elementType)` Sets the elementType.

Constructors in org.eclipse.gmf.runtime.diagram.ui.tools with parameters of type IElementType
`PopupBarTool(EditPart epHost, IElementType elementType)` constructor
`CreationTool(IElementType elementType)` Method CreationTool.
`ConnectionCreationTool(IElementType elementType)` Method CreationTool.
`AddPopupBarTool(EditPart epHost, IElementType elementType)` Deprecated. constructor

Uses of IElementType in org.eclipse.gmf.runtime.diagram.ui.util

Subinterfaces of IElementType in org.eclipse.gmf.runtime.diagram.ui.util
`interface` `INotationType` Identifies a notation type, that is a type that is represented by a view only.

Uses of IElementType in org.eclipse.gmf.runtime.emf.type.core

Subinterfaces of IElementType in org.eclipse.gmf.runtime.emf.type.core
`interface` `IHintedType` A type that requires a semantic hint for view creation.
`interface` `IMetamodelType` Interface used to define application-layer types that map directly to an `EClass`.
`interface` `ISpecializationType` Interface used to define application-layer types that describe a specialization of a metamodel type.

Classes in org.eclipse.gmf.runtime.emf.type.core that implement IElementType
`class` `ElementType` Abstract implementation for application element types.
`class` `MetamodelType` Represents an element type that maps directly to a metamodel element type ( `EClass`).
`class` `NullElementType` Singleton element type that has no `EClass`.
`class` `SpecializationType` Represents an application type that specializes other application types.

Methods in org.eclipse.gmf.runtime.emf.type.core that return IElementType
`IElementType[]` `MetamodelType.getAllSuperTypes()`
`IElementType[]` `ISpecializationType.getSpecializedTypes()` Gets the element types that this type specializes.
`IElementType[]` `ElementTypeRegistry.getContainedTypes(EObject eContainer, EReference reference, IClientContext clientContext)` Gets the array of types that can be contained in the structural `feature` of `eContainer`.
`IElementType[]` `ElementTypeRegistry.getContainedTypes(EObject eContainer, EReference reference)` Gets the array of types that can be contained in the structural `feature` of `eContainer`.
`IElementType` `ElementTypeRegistry.getElementType(java.lang.Object o)` Convenience method to get an element type for `o`.
`IElementType` `ElementTypeRegistry.getElementType(EClass eClass)` Gets the registered element type for `eClass` that has no client contexts explicitly bound to it.
`IElementType` `ElementTypeRegistry.getElementType(EClass eClass, IClientContext clientContext)` Gets the registered element type for `eClass`.
`IElementType` `ElementTypeRegistry.getElementType(EObject eObject)` Gets the registered element type for `eObject`.
`IElementType` `ElementTypeRegistry.getElementType(EObject eObject, IClientContext clientContext)` Gets the registered element type for `eObject` in the `clientContext`.
`IElementType[]` `ElementTypeRegistry.getAllTypesMatching(EObject eObject, IClientContext clientContext)` Gets all of the element types (metamodel type and specialization types) that match `eObject` in breadth-first order (specializations before metamodel types).
`IElementType[]` `ElementTypeRegistry.getAllTypesMatching(EObject eObject)` Gets all of the element types (metamodel type and specialization types) that match `eObject` in breadth-first order (specializations before metamodel types).
`IElementType[]` `ElementTypeRegistry.getElementTypes(IClientContext clientContext)` Gets the element types (both metamodel types and specialization types) in the registry that are bound to the `clientContext`.
`IElementType` `ElementTypeRegistry.getType(java.lang.String id)` Gets the element type for `id`.
`IElementType` `EditHelperContext.getElementType()`
`IElementType[]` `SpecializationType.getSpecializedTypes()` Gets the element types that this type specializes.
`IElementType[]` `SpecializationType.getAllSuperTypes()`
`IElementType[]` `ElementType.getAllSuperTypes()`
`IElementType` `IEditHelperContext.getElementType()` Gets the `IElementType` that is the subject of the editing action.
`protected static IElementType` `AbstractElementTypeEnumerator.getElementType(java.lang.String id)` Gets the element type for `id` from the `ElementTypeRegistry`.
`IElementType[]` `IElementType.getAllSuperTypes()` Gets the element supertypes for this type.
`IElementType[]` `ISpecializationTypeDescriptor.getSpecializedTypes()` Gets the element types that this type specializes.

Methods in org.eclipse.gmf.runtime.emf.type.core with parameters of type IElementType
`boolean` `ISpecializationType.isSpecializationOf(IElementType type)` Answers whether or not I am a specialization of `type`.
`IClientContext` `ClientContextManager.getBinding(IElementType elementType)` Finds the `IClientContext`s that are bound to the `elementType`.
`IEditHelperAdvice[]` `ElementTypeRegistry.getEditHelperAdvice(IElementType type)` Gets the edit helper advice for `type` in order of most general advice to most specific advice.
`IEditHelperAdvice[]` `ElementTypeRegistry.getEditHelperAdvice(IElementType type, IClientContext clientContext)` Gets the edit helper advice for `type` to which the `clientContext` has been bound, in order of most general advice to most specific advice.
`boolean` `IClientContext.includes(IElementType elementType)` Queries whether I am bound to the specified `elementType`.
`void` `EditHelperContext.setElementType(IElementType elementType)` Sets the `EObject` that is the subject of the editing gesture.
`boolean` `ClientContext.includes(IElementType elementType)`
`boolean` `SpecializationType.isSpecializationOf(IElementType type)` Answers whether or not I am a specialization of `type`.
`protected void` `ElementType.setAllSupertypes(IElementType[] supertypes)`
`boolean` `MultiClientContext.includes(IElementType elementType)` Includes the `elementType` if all of my child contexts include the `elementType`.

Constructors in org.eclipse.gmf.runtime.emf.type.core with parameters of type IElementType
`EditHelperContext(IElementType elementType, IClientContext clientContext)` Constructs a new context with an `elementType` and a `clientContext` which describe the context in which an editing gesture will be made.
`SpecializationType(java.lang.String id, java.net.URL iconURL, java.lang.String displayName, IElementType[] elementTypes, IElementMatcher matcher, IContainerDescriptor descriptor, IEditHelperAdvice editHelperAdvice)` Constructs a new specialization type.

Uses of IElementType in org.eclipse.gmf.runtime.emf.type.core.commands

Methods in org.eclipse.gmf.runtime.emf.type.core.commands that return IElementType
`IElementType` `ConfigureElementCommand.getElementType()` Gets the element type.
`protected IElementType` `CreateElementCommand.getElementType()` Gets the element type for the new element.

Uses of IElementType in org.eclipse.gmf.runtime.emf.type.core.edithelper

Methods in org.eclipse.gmf.runtime.emf.type.core.edithelper with parameters of type IElementType
`protected EObject` `AbstractEditHelperAdvice.createType(EObject container, IElementType typeToCreate, IProgressMonitor progressMonitor)` Convenience method to create a new element of kind <codeO>typeToCreate in the context of `container`.
`protected EObject` `AbstractEditHelperAdvice.createType(EObject container, IElementType typeToCreate, java.util.Map requestParameters, IProgressMonitor progressMonitor)` Convenience method to create a new element of kind <codeO>typeToCreate in the context of `container`.

Uses of IElementType in org.eclipse.gmf.runtime.emf.type.core.requests

Methods in org.eclipse.gmf.runtime.emf.type.core.requests that return IElementType
`IElementType` `CreateElementRequest.getElementType()` Gets the element type for the new model element.
`IElementType` `ConfigureRequest.getTypeToConfigure()` Gets the element type that defines the attributes that the element should have

Constructors in org.eclipse.gmf.runtime.emf.type.core.requests with parameters of type IElementType
`CreateRelationshipRequest(org.eclipse.emf.transaction.TransactionalEditingDomain editingDomain, EObject container, EObject source, EObject target, IElementType elementType, EReference containmentFeature)` Constructs a new request to create a new relationship.
`CreateRelationshipRequest(org.eclipse.emf.transaction.TransactionalEditingDomain editingDomain, EObject container, EObject source, EObject target, IElementType elementType)` Constructs a new request to create a new relationship.
`CreateRelationshipRequest(org.eclipse.emf.transaction.TransactionalEditingDomain editingDomain, EObject source, EObject target, IElementType elementType)` Constructs a new request to create a new relationship.
`CreateRelationshipRequest(EObject source, EObject target, IElementType elementType)` Constructs a new request to create a new relationship.
`CreateRelationshipRequest(org.eclipse.emf.transaction.TransactionalEditingDomain editingDomain, IElementType elementType)` Constructs a new request to create a new relationship.
`CreateRelationshipRequest(IElementType elementType)` Constructs a new request to create a new relationship.
`CreateRelationshipRequest(EObject container, EObject source, EObject target, IElementType elementType, EReference containmentFeature)` Constructs a new request to create a new relationship.
`CreateRelationshipRequest(EObject container, EObject source, EObject target, IElementType elementType)` Constructs a new request to create a new relationship.
`CreateElementRequest(org.eclipse.emf.transaction.TransactionalEditingDomain editingDomain, EObject container, IElementType elementType)` Creates a request to create a new model element.
`CreateElementRequest(EObject container, IElementType elementType)` Creates a request to create a new model element.
`CreateElementRequest(IElementType elementType)` Creates a request to create a new model element.
`CreateElementRequest(org.eclipse.emf.transaction.TransactionalEditingDomain editingDomain, IElementType elementType)` Creates a request to create a new model element.
`CreateElementRequest(org.eclipse.emf.transaction.TransactionalEditingDomain editingDomain, EObject container, IElementType elementType, EReference containmentFeature)` Creates a request to create a new model element.
`CreateElementRequest(EObject container, IElementType elementType, EReference containmentFeature)` Creates a request to create a new model element.
`ConfigureRequest(org.eclipse.emf.transaction.TransactionalEditingDomain editingDomain, EObject elementToConfigure, IElementType typeToConfigure)` Constructs a new configure request.
`ConfigureRequest(EObject elementToConfigure, IElementType typeToConfigure)` Constructs a new configure request.

Uses of IElementType in org.eclipse.gmf.runtime.emf.type.ui

Constructors in org.eclipse.gmf.runtime.emf.type.ui with parameters of type IElementType
`ElementTypeImageDescriptor(IElementType elementType)` Constructs a new image descriptor for `elementType`.

Uses of IElementType in org.eclipse.gmf.runtime.emf.ui.services.modelingassistant

Methods in org.eclipse.gmf.runtime.emf.ui.services.modelingassistant that return IElementType
`IElementType` `GetTypesForSourceOperation.getRelationshipType()` Gets the relationshipType.
`IElementType` `SelectExistingElementForSourceOperation.getRelationshipType()` Gets the relationshipType.
`IElementType` `SelectExistingElementForTargetOperation.getRelationshipType()` Gets the relationshipType.
`IElementType` `GetTypesForTargetOperation.getRelationshipType()` Gets the relationshipType.

Methods in org.eclipse.gmf.runtime.emf.ui.services.modelingassistant with parameters of type IElementType
`java.util.List` `IModelingAssistantProvider.getTypesForSource(IAdaptable target, IElementType relationshipType)` Returns a list of element types to appear in the popup when creating a relationship from a target element to an unspecified source from which the user can select the source type.
`java.util.List` `IModelingAssistantProvider.getTypesForTarget(IAdaptable source, IElementType relationshipType)` Returns a list of element types to appear in the popup when creating a relationship from a source element to an unspecified target from which the user can select the target type.
`EObject` `IModelingAssistantProvider.selectExistingElementForSource(IAdaptable target, IElementType relationshipType)` Pops up a dialog that allows the user to select an existing element that is to be used as the source in a new relationship being created.
`EObject` `IModelingAssistantProvider.selectExistingElementForTarget(IAdaptable source, IElementType relationshipType)` Pops up a dialog that allows the user to select an existing element that is to be used as the target in a new relationship being created.
`java.util.List` `ModelingAssistantService.getTypesForSource(IAdaptable target, IElementType relationshipType)` Executes the `GetTypesForSourceOperation` using the `FORWARD` execution strategy.
`java.util.List` `ModelingAssistantService.getTypesForTarget(IAdaptable source, IElementType relationshipType)` Executes the `GetTypesForTargetOperation` using the `FORWARD` execution strategy.
`EObject` `ModelingAssistantService.selectExistingElementForSource(IAdaptable target, IElementType relationshipType)` Executes the `SelectExistingElementForSourceOperation` using the `FIRST` execution strategy.
`EObject` `ModelingAssistantService.selectExistingElementForTarget(IAdaptable source, IElementType relationshipType)` Executes the `SelectExistingElementForTargetOperation` using the `FIRST` execution strategy.
`java.util.List` `ModelingAssistantProvider.getTypesForSource(IAdaptable target, IElementType relationshipType)` Returns an empty list.
`java.util.List` `ModelingAssistantProvider.getTypesForTarget(IAdaptable source, IElementType relationshipType)` Returns an empty list.
`EObject` `ModelingAssistantProvider.selectExistingElementForSource(IAdaptable target, IElementType relationshipType)`
`EObject` `ModelingAssistantProvider.selectExistingElementForTarget(IAdaptable source, IElementType relationshipType)` Returns null.

Constructors in org.eclipse.gmf.runtime.emf.ui.services.modelingassistant with parameters of type IElementType
`GetTypesForSourceOperation(IAdaptable target, IElementType relationshipType)` Creates a new `GetTypesForSourceOperation`.
`SelectExistingElementForSourceOperation(IAdaptable target, IElementType relationshipType)` Creates a new `GetTypesForSourceOperation`.
`SelectExistingElementForTargetOperation(IAdaptable source, IElementType relationshipType)` Creates a new `GetTypesForTargetOperation`.
`GetTypesForTargetOperation(IAdaptable source, IElementType relationshipType)` Creates a new `GetTypesForTargetOperation`.

Runtime

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.