Runtime

Uses of Interface
org.eclipse.gmf.runtime.notation.View

Packages that use View
org.eclipse.gmf.runtime.diagram.core.commands Aurora internal packages Package Specification this package contains all the supported commands by the diagram layer 
org.eclipse.gmf.runtime.diagram.core.providers   
org.eclipse.gmf.runtime.diagram.core.services   
org.eclipse.gmf.runtime.diagram.core.services.view Aurora internal packages Package Specification Provides a set of classes to use when creating views
org.eclipse.gmf.runtime.diagram.core.util Aurora internal packages Package Specification This package contains utility classes used by this plugin. 
org.eclipse.gmf.runtime.diagram.core.view.factories Aurora internal packages Package Specification ToDo: Fill in specific content 
org.eclipse.gmf.runtime.notation Notation meta-model primary package. 
org.eclipse.gmf.runtime.notation.impl Aurora internal packages Package Specification ToDo: Fill in specific content 
org.eclipse.gmf.runtime.notation.util Aurora internal packages Package Specification This package contains utility classes used by this plugin. 
 

Uses of View in org.eclipse.gmf.runtime.diagram.core.commands
 

Methods in org.eclipse.gmf.runtime.diagram.core.commands that return View
protected  View UpdateGroupLocationCommand.getGroupView()
          Gets the group view to be updated.
protected  View DeleteCommand.getView()
          getter for the View that will be deleted
 

Constructors in org.eclipse.gmf.runtime.diagram.core.commands with parameters of type View
DeleteCommand(org.eclipse.emf.transaction.TransactionalEditingDomain editingDomain, View view)
          Creates a new Delete command
DeleteCommand(View view)
          Creates a new Delete command.
UpdateGroupLocationCommand(org.eclipse.emf.transaction.TransactionalEditingDomain domain, View groupView)
          Creates a new instance.
 

Uses of View in org.eclipse.gmf.runtime.diagram.core.providers
 

Methods in org.eclipse.gmf.runtime.diagram.core.providers with parameters of type View
 Edge IViewProvider.createEdge(IAdaptable semanticAdapter, View containerView, java.lang.String semanticHint, int index, boolean persisted, PreferencesHint preferencesHint)
          create an Edge element.
 Edge AbstractViewProvider.createEdge(IAdaptable semanticAdapter, View containerView, java.lang.String semanticHint, int index, boolean persisted, PreferencesHint preferencesHint)
           
 Node IViewProvider.createNode(IAdaptable semanticAdapter, View containerView, java.lang.String semanticHint, int index, boolean persisted, PreferencesHint preferencesHint)
          create a Node.
 Node AbstractViewProvider.createNode(IAdaptable semanticAdapter, View containerView, java.lang.String semanticHint, int index, boolean persisted, PreferencesHint preferencesHint)
           
protected  java.lang.Class AbstractViewProvider.getEdgeViewClass(IAdaptable semanticAdapter, View containerView, java.lang.String semanticHint)
          Returns the edge view class to instantiate based on the passed params
protected  java.lang.Class AbstractViewProvider.getNodeViewClass(IAdaptable semanticAdapter, View containerView, java.lang.String semanticHint)
          Returns the node view class to instantiate based on the passed params
 boolean ViewProviderConfiguration.supports(java.lang.Class viewKind, IAdaptable semanticAdapter, View containerView, java.lang.String semanticHint)
          Determines if the provider understands the given context The provider understands the request if: 1- There are no listed provider contexts 2- The context matches one of the provider contexts
 

Uses of View in org.eclipse.gmf.runtime.diagram.core.services
 

Methods in org.eclipse.gmf.runtime.diagram.core.services that return View
 View ViewService.createEdge(IAdaptable semanticAdapter, View containerView, java.lang.String semanticHint, int index, PreferencesHint preferencesHint)
           
 View ViewService.createView(java.lang.Class viewKind, IAdaptable semanticAdapter, View containerView, java.lang.String semanticHint, int index, boolean persisted, PreferencesHint preferencesHint)
          A convenience method to create a view with the given parameters
 

Methods in org.eclipse.gmf.runtime.diagram.core.services with parameters of type View
 Edge ViewService.createEdge(IAdaptable semanticAdapter, View containerView, java.lang.String semanticHint, int index, boolean persisted, PreferencesHint preferencesHint)
           
 View ViewService.createEdge(IAdaptable semanticAdapter, View containerView, java.lang.String semanticHint, int index, PreferencesHint preferencesHint)
           
static Edge ViewService.createEdge(View source, View target, org.eclipse.emf.ecore.EObject eObject, java.lang.String type, PreferencesHint preferencesHint)
          Creates an edge for a given eObject and with a given type and connects it between a given source and a given target
static Edge ViewService.createEdge(View source, View target, java.lang.String type, PreferencesHint preferencesHint)
          Creates an edge with a given type and connects it between the given source and target
 Node ViewService.createNode(IAdaptable semanticAdapter, View containerView, java.lang.String semanticHint, int index, boolean persisted, PreferencesHint preferencesHint)
          creates a Node
 Node ViewService.createNode(IAdaptable semanticElement, View containerView, java.lang.String semanticHint, int index, PreferencesHint preferencesHint)
          creates a persisted Node
static Node ViewService.createNode(View container, org.eclipse.emf.ecore.EObject eObject, java.lang.String type, PreferencesHint preferencesHint)
          Creates a node for a given eObject and with a given type and inserts it into a given container
static Node ViewService.createNode(View container, java.lang.String type, PreferencesHint preferencesHint)
          Creates a node for a with a given type and inserts it thegiven container
 View ViewService.createView(java.lang.Class viewKind, IAdaptable semanticAdapter, View containerView, java.lang.String semanticHint, int index, boolean persisted, PreferencesHint preferencesHint)
          A convenience method to create a view with the given parameters
 boolean ViewService.provides(java.lang.Class viewKind, IAdaptable semanticAdapter, View containerView, java.lang.String semanticHint, int index, boolean persisted, PreferencesHint preferencesHint)
          A convenience method to determine whether there is a provider that can create a view with the given parameters
 

Uses of View in org.eclipse.gmf.runtime.diagram.core.services.view
 

Methods in org.eclipse.gmf.runtime.diagram.core.services.view that return View
 View CreateChildViewOperation.getContainerView()
          Method getParent.
 

Constructors in org.eclipse.gmf.runtime.diagram.core.services.view with parameters of type View
CreateChildViewOperation(IAdaptable semanticAdapter, View containerView, java.lang.String semanticHint, int index, boolean persisted, PreferencesHint preferencesHint)
          Method CreateChildViewOperation.
CreateEdgeViewOperation(IAdaptable semanticAdapter, View containerView, java.lang.String semanticHint, int index, boolean persisted, PreferencesHint preferencesHint)
          Creates a new instance.
CreateNodeViewOperation(IAdaptable semanticAdapter, View containerView, java.lang.String semanticHint, int index, boolean persisted, PreferencesHint preferencesHint)
          Constructor for CreateNodeViewOperation.
CreateViewForKindOperation(java.lang.Class viewKind, IAdaptable semanticAdapter, View containerView, java.lang.String semanticHint, int index, PreferencesHint preferencesHint)
           
 

Uses of View in org.eclipse.gmf.runtime.diagram.core.util
 

Methods in org.eclipse.gmf.runtime.diagram.core.util that return View
static View ViewUtil.getChildByIdStr(View view, java.lang.String idStr)
          returns the first child whose id matched the given id
static View ViewUtil.getChildBySemanticHint(View view, java.lang.String semanticHint)
          gets a the first child in the passed View that had the same type as the passed semantic hint.
static View ViewUtil.getContainerView(View eObject)
          Returns the container view, or null if the container is not a view or null
static View ViewUtil.getTopViewToPersist(View view)
          Returns the top view that should be persisted, starting from the passed view, it could return the passed view itself if it is a transient view, other wise it will check its parent and so on ...
static View ViewUtil.getViewContainer(org.eclipse.emf.ecore.EObject obj)
          Goes up through the containers of the passed in EObject and returns the first container that is a View
 

Methods in org.eclipse.gmf.runtime.diagram.core.util with parameters of type View
 void ViewRefactorHelper.copyViewAppearance(View oldView, View newView, java.util.List excludeStyles)
          Copies the appearance of the old view to the new view.
protected  void ViewRefactorHelper.copyViewChild(View oldView, View newView, Node oldChildNode)
          If the child view has the same element as the parent and also has a type, it is considered a subview and therefore only its properties are copied to matching subviews (if any) of the new parent.
protected  void ViewRefactorHelper.copyViewChildren(View oldView, View newView)
          Copies the notational properties of the old view children to the new view children
protected  void ViewRefactorHelper.copyViewFeatures(View oldView, View newView)
          Copies the notational features of the old view to the new view
protected  void ViewRefactorHelper.copyViewStyle(View oldView, View newView, Style oldStyle, java.util.List excludeStyles)
          Copies the given style features of the old view to the new view
protected  void ViewRefactorHelper.copyViewStyles(View oldView, View newView)
          Copies the style features of the old view to the new view
protected  void ViewRefactorHelper.copyViewStyles(View oldView, View newView, java.util.List excludeStyles)
          Copies all styles feature from the old view to the new view
static void ViewUtil.destroy(View view)
          Destroys the supplied view notational element and remove any references this class may have to it.
static java.util.Set<Edge> ViewUtil.getAllInnerEdges(View view)
           
static void ViewUtil.getAllRelatedEdgesForView(View view, java.util.Set<Edge> allEdges)
          Constructs a set of all source and target edges from a view and all its children down to the leaves of a view hierarchy
static View ViewUtil.getChildByIdStr(View view, java.lang.String idStr)
          returns the first child whose id matched the given id
static View ViewUtil.getChildBySemanticHint(View view, java.lang.String semanticHint)
          gets a the first child in the passed View that had the same type as the passed semantic hint.
static View ViewUtil.getContainerView(View eObject)
          Returns the container view, or null if the container is not a view or null
static java.lang.String ViewUtil.getIdStr(View view)
          returns the unique GUID of the view
protected  java.lang.String ViewRefactorHelper.getNewViewType(View oldView, org.eclipse.emf.ecore.EObject newElement)
          Returns the type of the new view that replaces the old one
static java.lang.Object ViewUtil.getPropertyValue(View view, org.eclipse.emf.ecore.EStructuralFeature feature, org.eclipse.emf.ecore.EClass featureClass)
          Returns the value of the featrue inside a specific EClass within the passed view
static java.lang.Object ViewUtil.getPropertyValue(View view, java.lang.Object id)
          Deprecated. use ViewUtil.getStructuralFeatureValue(View, EStructuralFeature) instead
static java.lang.String ViewUtil.getSemanticEClassName(View view)
          return eClass Name of the view's semantic element, this method works only if the semantic element is a NameElement, otherwise it will return an Empty String
static java.lang.String ViewUtil.getSemanticElementClassId(View view)
          gets the View's semantic element Class Id, this could be used to check the semantic element type
static java.util.List ViewUtil.getSourceConnections(View view)
          gets all the Edge's whose source is this view
static java.util.List ViewUtil.getSourceConnectionsConnectingVisibleViews(View view)
          gets all the Edge's whose source is this view
static java.lang.Object ViewUtil.getStructuralFeatureValue(View view, org.eclipse.emf.ecore.EStructuralFeature feature)
          Returns the value of the passed feature inside the passed view
static java.util.List ViewUtil.getTargetConnections(View view)
          gets all the Edge's whose target is this view
static java.util.List ViewUtil.getTargetConnectionsConnectingVisibleViews(View view)
          gets all the Edge's whose target is this view
static View ViewUtil.getTopViewToPersist(View view)
          Returns the top view that should be persisted, starting from the passed view, it could return the passed view itself if it is a transient view, other wise it will check its parent and so on ...
static void ViewUtil.insertChildView(View containerView, View childView, int index, boolean persisted)
          inserts a child View in a container. the view will be inserted in the persisted collection if the persisted flag is true; otherwise it will be added to the transied collection.
static boolean ViewUtil.isFeatureSupported(View view, org.eclipse.emf.ecore.EStructuralFeature feature)
          checks if the passed feature is supported by the passed view
static boolean ViewUtil.isPropertySupported(View view, org.eclipse.emf.ecore.EStructuralFeature feature, org.eclipse.emf.ecore.EClass featureClass)
          checks if the passed feature is supported by the passed view
static boolean ViewUtil.isPropertySupported(View view, java.lang.Object id)
          checks if the passed property is supported bythe passed view
static void ViewUtil.persistElement(View view)
          move the supplied view from, and all of its parents from the transient collections to the persisted collections.
static void ViewUtil.repositionChildAt(View container, View child, int newIndex)
          reorders the child at the oldIndex to the newIndex
static org.eclipse.emf.ecore.EObject ViewUtil.resolveSemanticElement(View view)
          resolves the passed View's semantic element, and returns it.
static void ViewUtil.setPropertyValue(View view, org.eclipse.emf.ecore.EStructuralFeature feature, org.eclipse.emf.ecore.EClass featureClass, java.lang.Object value)
          Sets the passed featrue on the passed EClass inside the passed view to the new value if possible
static void ViewUtil.setPropertyValue(View view, java.lang.Object id, java.lang.Object value)
          Deprecated. use ViewUtil#setStructuralFeatureValue(View, EStructuralFeature, Object} instead
static void ViewUtil.setStructuralFeatureValue(View view, org.eclipse.emf.ecore.EStructuralFeature feature, java.lang.Object value)
          Sets the passed feature if possible on the passed view to the passed value.
 

Uses of View in org.eclipse.gmf.runtime.diagram.core.view.factories
 

Methods in org.eclipse.gmf.runtime.diagram.core.view.factories that return View
 View ViewFactory.createView(IAdaptable semanticAdapter, View containerView, java.lang.String semanticHint, int index, boolean persisted, PreferencesHint preferencesHint)
          factory method, that will be called by the view service to creat the view
 

Methods in org.eclipse.gmf.runtime.diagram.core.view.factories with parameters of type View
 View ViewFactory.createView(IAdaptable semanticAdapter, View containerView, java.lang.String semanticHint, int index, boolean persisted, PreferencesHint preferencesHint)
          factory method, that will be called by the view service to creat the view
 

Uses of View in org.eclipse.gmf.runtime.notation
 

Subinterfaces of View in org.eclipse.gmf.runtime.notation
 interface Diagram
          A representation of the model object 'Diagram'.
 interface Edge
          A representation of the model object 'Edge'.
 interface Node
          A representation of the model object 'Node'.
 

Methods in org.eclipse.gmf.runtime.notation that return View
 View Edge.getSource()
          Returns the value of the 'Source' reference.
 View Edge.getTarget()
          Returns the value of the 'Target' reference.
 

Methods in org.eclipse.gmf.runtime.notation with parameters of type View
 void View.insertChild(View child)
           A utililty method to insert a persisted child
 void View.insertChild(View child, boolean persisted)
           A utililty method to insert a persisted or transient child
 void View.insertChildAt(View child, int index)
           A utililty method to insert a persisted child at a specific index
 void View.removeChild(View child)
           A utililty method to remove a child form a view
 void Edge.setSource(View value)
          Sets the value of the 'Source' reference
 void Edge.setTarget(View value)
          Sets the value of the 'Target' reference
 

Uses of View in org.eclipse.gmf.runtime.notation.impl
 

Classes in org.eclipse.gmf.runtime.notation.impl that implement View
 class DiagramImpl
          An implementation of the model object 'Diagram'
 class EdgeImpl
          An implementation of the model object 'Edge'
 class NodeImpl
          An implementation of the model object 'Node'
 class ViewImpl
          An implementation of the model object 'View'
 

Fields in org.eclipse.gmf.runtime.notation.impl declared as View
protected  View EdgeImpl.source
          The cached value of the 'Source' reference
protected  View EdgeImpl.target
          The cached value of the 'Target' reference
 

Methods in org.eclipse.gmf.runtime.notation.impl that return View
 View EdgeImpl.getSource()
           
 View EdgeImpl.getTarget()
           
 

Methods in org.eclipse.gmf.runtime.notation.impl with parameters of type View
 org.eclipse.emf.common.notify.NotificationChain EdgeImpl.basicSetSource(View newSource, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain EdgeImpl.basicSetTarget(View newTarget, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 void ViewImpl.insertChild(View child)
           
 void ViewImpl.insertChild(View child, boolean persisted)
           
 void ViewImpl.insertChildAt(View child, int index)
           
 void ViewImpl.removeChild(View child)
           
 void EdgeImpl.setSource(View newSource)
           
 void EdgeImpl.setTarget(View newTarget)
           
 

Uses of View in org.eclipse.gmf.runtime.notation.util
 

Methods in org.eclipse.gmf.runtime.notation.util with parameters of type View
 java.lang.Object NotationSwitch.caseView(View object)
          Returns the result of interpreting the object as an instance of 'View'
 


Runtime

Guidelines for using Eclipse APIs.

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