Runtime

Uses of Interface
org.eclipse.gmf.runtime.emf.type.core.IClientContext

Packages that use IClientContext
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.requests Provides a set of requests that are used to ask for commands to edit model elements. 
 

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

Classes in org.eclipse.gmf.runtime.emf.type.core that implement IClientContext
 class ClientContext
          The implementation of the client context interface.
 class MultiClientContext
          Implements a multi-context, which is a compound context representing a group of client contexts.
 

Methods in org.eclipse.gmf.runtime.emf.type.core that return IClientContext
 IClientContext ClientContextManager.getBinding(org.eclipse.gmf.runtime.emf.type.core.internal.descriptors.IEditHelperAdviceDescriptor advice)
          Finds the IClientContext that is bound to the advice.
 IClientContext ClientContextManager.getBinding(IElementType elementType)
          Finds the IClientContexts that are bound to the elementType.
 IClientContext ClientContextManager.getBinding(IElementTypeDescriptor elementTypeDescriptor)
          Finds the IClientContext that is bound to the elementTypeDescriptor.
 IClientContext IEditHelperContext.getClientContext()
          Gets the client context in which the editing gesture will be performed.
 IClientContext EditHelperContext.getClientContext()
           
 IClientContext ClientContextManager.getClientContext(java.lang.String contextId)
          Obtains a client context by its unique identifier.
 IClientContext ClientContextManager.getClientContextFor(org.eclipse.emf.ecore.EObject eObject)
          Obtains the client contexts to which the specified object belongs.
static IClientContext ClientContextManager.getDefaultClientContext()
          Gets the default client context.
 

Methods in org.eclipse.gmf.runtime.emf.type.core with parameters of type IClientContext
 void MultiClientContext.add(IClientContext context)
          Adds the given context to this multi-context.
 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, IClientContext clientContext)
          Gets the array of types that can be contained in the structural feature of eContainer.
 IEditHelperAdvice[] ElementTypeRegistry.getEditHelperAdvice(org.eclipse.emf.ecore.EObject eObject, IClientContext clientContext)
          Gets the edit helper advice for eObject 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.
 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, IClientContext clientContext)
          Gets the registered element type for eObject in the clientContext.
 IElementType[] ElementTypeRegistry.getElementTypes(IClientContext clientContext)
          Gets the element types (both metamodel types and specialization types) in the registry that are bound to the clientContext.
 IMetamodelType[] ElementTypeRegistry.getMetamodelTypes(IClientContext clientContext)
          Gets the metamodel types in the registry that are bound to the clientContext.
 ISpecializationType[] ElementTypeRegistry.getSpecializationTypes(IClientContext clientContext)
          Gets the specialization types in the registry that are bound to the clientContext.
 void ClientContextManager.registerClientContext(IClientContext clientContext)
          Registers the clientContext.
 void EditHelperContext.setClientContext(IClientContext clientContext)
          Sets the client context in which the editing gesture will be performed.
 

Constructors in org.eclipse.gmf.runtime.emf.type.core with parameters of type IClientContext
EditHelperContext(org.eclipse.emf.ecore.EObject eObject, IClientContext clientContext)
          Constructs a new context with an eObject and a clientContext which describe the context in which an editing gesture will be made.
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.
 

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

Methods in org.eclipse.gmf.runtime.emf.type.core.requests that return IClientContext
 IClientContext IEditCommandRequest.getClientContext()
          Gets the client context for this request.
 IClientContext CreateElementRequest.getClientContext()
          Infers the client context from CreateElementRequest.getElementType() if the context has not be explicity set.
 IClientContext AbstractEditCommandRequest.getClientContext()
           
 

Methods in org.eclipse.gmf.runtime.emf.type.core.requests with parameters of type IClientContext
 void IEditCommandRequest.setClientContext(IClientContext clientContext)
          Sets the client context for this request.
 void CreateElementRequest.setClientContext(IClientContext clientContext)
           
 void AbstractEditCommandRequest.setClientContext(IClientContext clientContext)
           
 


Runtime

Guidelines for using Eclipse APIs.

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