|
Runtime | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use IElementType | |
---|---|
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.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[] |
SpecializationType.getAllSuperTypes()
|
IElementType[] |
MetamodelType.getAllSuperTypes()
|
IElementType[] |
IElementType.getAllSuperTypes()
Gets the element supertypes for this type. |
IElementType[] |
ElementType.getAllSuperTypes()
|
IElementType[] |
ElementTypeRegistry.getAllTypesMatching(org.eclipse.emf.ecore.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.getAllTypesMatching(org.eclipse.emf.ecore.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.getContainedTypes(org.eclipse.emf.ecore.EObject eContainer,
org.eclipse.emf.ecore.EReference reference)
Gets the array of types that can be contained in the structural feature of eContainer . |
IElementType[] |
ElementTypeRegistry.getContainedTypes(org.eclipse.emf.ecore.EObject eContainer,
org.eclipse.emf.ecore.EReference reference,
IClientContext clientContext)
Gets the array of types that can be contained in the structural feature of eContainer . |
IElementType |
IEditHelperContext.getElementType()
Gets the IElementType that is the subject of the editing
action. |
IElementType |
EditHelperContext.getElementType()
|
IElementType |
ElementTypeRegistry.getElementType(org.eclipse.emf.ecore.EClass eClass)
Gets the registered element type for eClass that
has no client contexts explicitly bound to it. |
IElementType |
ElementTypeRegistry.getElementType(org.eclipse.emf.ecore.EClass eClass,
IClientContext clientContext)
Gets the registered element type for eClass . |
IElementType |
ElementTypeRegistry.getElementType(org.eclipse.emf.ecore.EObject eObject)
Gets the registered element type for eObject . |
IElementType |
ElementTypeRegistry.getElementType(org.eclipse.emf.ecore.EObject eObject,
IClientContext clientContext)
Gets the registered element type for eObject in the
clientContext . |
IElementType |
ElementTypeRegistry.getElementType(java.lang.Object o)
Convenience method to get an element type for o . |
protected static IElementType |
AbstractElementTypeEnumerator.getElementType(java.lang.String id)
Gets the element type for id from the
ElementTypeRegistry . |
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[] |
SpecializationType.getSpecializedTypes()
Gets the element types that this type specializes. |
IElementType[] |
ISpecializationTypeDescriptor.getSpecializedTypes()
Gets the element types that this type specializes. |
IElementType[] |
ISpecializationType.getSpecializedTypes()
Gets the element types that this type specializes. |
IElementType |
ElementTypeRegistry.getType(java.lang.String id)
Gets the element type for id . |
Methods in org.eclipse.gmf.runtime.emf.type.core with parameters of type IElementType | |
---|---|
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 |
MultiClientContext.includes(IElementType elementType)
Includes the elementType if all of my child contexts
include the elementType . |
boolean |
IClientContext.includes(IElementType elementType)
Queries whether I am bound to the specified elementType . |
boolean |
ClientContext.includes(IElementType elementType)
|
boolean |
SpecializationType.isSpecializationOf(IElementType type)
Answers whether or not I am a specialization of type . |
boolean |
ISpecializationType.isSpecializationOf(IElementType type)
Answers whether or not I am a specialization of type . |
protected void |
ElementType.setAllSupertypes(IElementType[] supertypes)
|
void |
EditHelperContext.setElementType(IElementType elementType)
Sets the EObject that is the subject of the editing
gesture. |
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 | |
---|---|
protected IElementType |
CreateElementCommand.getElementType()
Gets the element type for the new element. |
IElementType |
ConfigureElementCommand.getElementType()
Gets the element type. |
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 org.eclipse.emf.ecore.EObject |
AbstractEditHelperAdvice.createType(org.eclipse.emf.ecore.EObject container,
IElementType typeToCreate,
IProgressMonitor progressMonitor)
Convenience method to create a new element of kind container . |
protected org.eclipse.emf.ecore.EObject |
AbstractEditHelperAdvice.createType(org.eclipse.emf.ecore.EObject container,
IElementType typeToCreate,
java.util.Map requestParameters,
IProgressMonitor progressMonitor)
Convenience method to create a new element of kind 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 | |
---|---|
ConfigureRequest(org.eclipse.emf.ecore.EObject elementToConfigure,
IElementType typeToConfigure)
Constructs a new configure request. |
|
ConfigureRequest(org.eclipse.emf.transaction.TransactionalEditingDomain editingDomain,
org.eclipse.emf.ecore.EObject elementToConfigure,
IElementType typeToConfigure)
Constructs a new configure request. |
|
CreateElementRequest(org.eclipse.emf.ecore.EObject container,
IElementType elementType)
Creates a request to create a new model element. |
|
CreateElementRequest(org.eclipse.emf.ecore.EObject container,
IElementType elementType,
org.eclipse.emf.ecore.EReference containmentFeature)
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,
org.eclipse.emf.ecore.EObject container,
IElementType elementType)
Creates a request to create a new model element. |
|
CreateElementRequest(org.eclipse.emf.transaction.TransactionalEditingDomain editingDomain,
org.eclipse.emf.ecore.EObject container,
IElementType elementType,
org.eclipse.emf.ecore.EReference containmentFeature)
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. |
|
CreateRelationshipRequest(org.eclipse.emf.ecore.EObject container,
org.eclipse.emf.ecore.EObject source,
org.eclipse.emf.ecore.EObject target,
IElementType elementType)
Constructs a new request to create a new relationship. |
|
CreateRelationshipRequest(org.eclipse.emf.ecore.EObject container,
org.eclipse.emf.ecore.EObject source,
org.eclipse.emf.ecore.EObject target,
IElementType elementType,
org.eclipse.emf.ecore.EReference containmentFeature)
Constructs a new request to create a new relationship. |
|
CreateRelationshipRequest(org.eclipse.emf.ecore.EObject source,
org.eclipse.emf.ecore.EObject target,
IElementType elementType)
Constructs a new request to create a new relationship. |
|
CreateRelationshipRequest(IElementType elementType)
Constructs a new request to create a new relationship. |
|
CreateRelationshipRequest(org.eclipse.emf.transaction.TransactionalEditingDomain editingDomain,
org.eclipse.emf.ecore.EObject container,
org.eclipse.emf.ecore.EObject source,
org.eclipse.emf.ecore.EObject target,
IElementType elementType)
Constructs a new request to create a new relationship. |
|
CreateRelationshipRequest(org.eclipse.emf.transaction.TransactionalEditingDomain editingDomain,
org.eclipse.emf.ecore.EObject container,
org.eclipse.emf.ecore.EObject source,
org.eclipse.emf.ecore.EObject target,
IElementType elementType,
org.eclipse.emf.ecore.EReference containmentFeature)
Constructs a new request to create a new relationship. |
|
CreateRelationshipRequest(org.eclipse.emf.transaction.TransactionalEditingDomain editingDomain,
org.eclipse.emf.ecore.EObject source,
org.eclipse.emf.ecore.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. |
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 |
SelectExistingElementForTargetOperation.getRelationshipType()
Gets the relationshipType. |
IElementType |
SelectExistingElementForSourceOperation.getRelationshipType()
Gets the relationshipType. |
IElementType |
GetTypesForTargetOperation.getRelationshipType()
Gets the relationshipType. |
IElementType |
GetTypesForSourceOperation.getRelationshipType()
Gets the relationshipType. |
Methods in org.eclipse.gmf.runtime.emf.ui.services.modelingassistant with parameters of type IElementType | |
---|---|
java.util.List |
ModelingAssistantService.getTypesForSource(IAdaptable target,
IElementType relationshipType)
Executes the GetTypesForSourceOperation using the
FORWARD execution strategy. |
java.util.List |
ModelingAssistantProvider.getTypesForSource(IAdaptable target,
IElementType relationshipType)
Returns an empty list. |
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 |
ModelingAssistantService.getTypesForTarget(IAdaptable source,
IElementType relationshipType)
Executes the GetTypesForTargetOperation using the
FORWARD execution strategy. |
java.util.List |
ModelingAssistantProvider.getTypesForTarget(IAdaptable source,
IElementType relationshipType)
Returns an empty list. |
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. |
org.eclipse.emf.ecore.EObject |
ModelingAssistantService.selectExistingElementForSource(IAdaptable target,
IElementType relationshipType)
Executes the SelectExistingElementForSourceOperation using the
FIRST execution strategy. |
org.eclipse.emf.ecore.EObject |
ModelingAssistantProvider.selectExistingElementForSource(IAdaptable target,
IElementType relationshipType)
|
org.eclipse.emf.ecore.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. |
org.eclipse.emf.ecore.EObject |
ModelingAssistantService.selectExistingElementForTarget(IAdaptable source,
IElementType relationshipType)
Executes the SelectExistingElementForTargetOperation using the
FIRST execution strategy. |
org.eclipse.emf.ecore.EObject |
ModelingAssistantProvider.selectExistingElementForTarget(IAdaptable source,
IElementType relationshipType)
Returns null. |
org.eclipse.emf.ecore.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. |
Constructors in org.eclipse.gmf.runtime.emf.ui.services.modelingassistant with parameters of type IElementType | |
---|---|
GetTypesForSourceOperation(IAdaptable target,
IElementType relationshipType)
Creates a new GetTypesForSourceOperation . |
|
GetTypesForTargetOperation(IAdaptable source,
IElementType relationshipType)
Creates a new GetTypesForTargetOperation . |
|
SelectExistingElementForSourceOperation(IAdaptable target,
IElementType relationshipType)
Creates a new GetTypesForSourceOperation . |
|
SelectExistingElementForTargetOperation(IAdaptable source,
IElementType relationshipType)
Creates a new GetTypesForTargetOperation . |
|
Runtime | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.