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 
 

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 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.
 

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 AbstractViewProvider.createEdge(IAdaptable semanticAdapter, View containerView, java.lang.String semanticHint, int index, boolean persisted, PreferencesHint preferencesHint)
           
 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
 Edge IViewProvider.createEdge(IAdaptable semanticAdapter, View containerView, java.lang.String semanticHint, int index, boolean persisted, PreferencesHint preferencesHint)
          create an Edge element.
 Node IViewProvider.createNode(IAdaptable semanticAdapter, View containerView, java.lang.String semanticHint, int index, boolean persisted, PreferencesHint preferencesHint)
          create a Node.
 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.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
 View ViewService.createEdge(IAdaptable semanticAdapter, View containerView, java.lang.String semanticHint, int index, PreferencesHint preferencesHint)
           
 

Methods in org.eclipse.gmf.runtime.diagram.core.services with parameters of type View
 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
 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
static Node ViewService.createNode(View container, 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
static Edge ViewService.createEdge(View source, View target, 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
 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)
           
 Node ViewService.createNode(IAdaptable semanticElement, View containerView, java.lang.String semanticHint, int index, PreferencesHint preferencesHint)
          creates a persisted Node
 Node ViewService.createNode(IAdaptable semanticAdapter, View containerView, java.lang.String semanticHint, int index, boolean persisted, PreferencesHint preferencesHint)
          creates a Node
 

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
CreateEdgeViewOperation(IAdaptable semanticAdapter, View containerView, java.lang.String semanticHint, int index, boolean persisted, PreferencesHint preferencesHint)
          Creates a new instance.
CreateChildViewOperation(IAdaptable semanticAdapter, View containerView, java.lang.String semanticHint, int index, boolean persisted, PreferencesHint preferencesHint)
          Method CreateChildViewOperation.
CreateViewForKindOperation(java.lang.Class viewKind, IAdaptable semanticAdapter, View containerView, java.lang.String semanticHint, int index, PreferencesHint preferencesHint)
           
CreateNodeViewOperation(IAdaptable semanticAdapter, View containerView, java.lang.String semanticHint, int index, boolean persisted, PreferencesHint preferencesHint)
          Constructor for CreateNodeViewOperation.
 

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.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.getContainerView(View eObject)
          Returns the container view, or null if the container is not a view or null
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.getChildByIdStr(View view, java.lang.String idStr)
          returns the first child whose id matched the given id
 

Methods in org.eclipse.gmf.runtime.diagram.core.util with parameters of type View
protected  void ViewRefactorHelper.copyViewFeatures(View oldView, View newView)
          Copies the notational features of the old view to the new 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.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
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.copyViewChildren(View oldView, View newView)
          Copies the notational properties of the old view children to the new view children
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  java.lang.String ViewRefactorHelper.getNewViewType(View oldView, EObject newElement)
          Returns the type of the new view that replaces the old one
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 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.destroy(View view)
          Destroys the supplied view notational element and remove any references this class may have to it.
static View ViewUtil.getContainerView(View eObject)
          Returns the container view, or null if the container is not a view or null
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 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 boolean ViewUtil.isPropertySupported(View view, java.lang.Object id)
          checks if the passed property is supported bythe passed view
static boolean ViewUtil.isFeatureSupported(View view, EStructuralFeature feature)
          checks if the passed feature is supported by the passed view
static boolean ViewUtil.isPropertySupported(View view, EStructuralFeature feature, EClass featureClass)
          checks if the passed feature is supported by the passed view
static java.lang.Object ViewUtil.getStructuralFeatureValue(View view, EStructuralFeature feature)
          Returns the value of the passed feature inside the passed view
static java.lang.Object ViewUtil.getPropertyValue(View view, EStructuralFeature feature, EClass featureClass)
          Returns the value of the featrue inside a specific EClass within the passed view
static void ViewUtil.setStructuralFeatureValue(View view, EStructuralFeature feature, java.lang.Object value)
          Sets the passed feature if possible on the passed view to the passed value.
static void ViewUtil.setPropertyValue(View view, EStructuralFeature feature, 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 EObject ViewUtil.resolveSemanticElement(View view)
          resolves the passed View's semantic element, and returns it.
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.getTargetConnections(View view)
          gets all the Edge's whose target is this view
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.getIdStr(View view)
          returns the unique GUID of the view
static void ViewUtil.repositionChildAt(View container, View child, int newIndex)
          reorders the child at the oldIndex to the newIndex
static View ViewUtil.getChildByIdStr(View view, java.lang.String idStr)
          returns the first child whose id matched the given id
static void ViewUtil.setPropertyValue(View view, java.lang.Object id, java.lang.Object value)
          Deprecated. use ViewUtil#setStructuralFeatureValue(View, EStructuralFeature, Object} instead
static java.lang.Object ViewUtil.getPropertyValue(View view, java.lang.Object id)
          Deprecated. use ViewUtil.getStructuralFeatureValue(View, EStructuralFeature) instead
 

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 Edge.setSource(View value)
          Sets the value of the 'Source' reference
 void Edge.setTarget(View value)
          Sets the value of the 'Target' reference
 void View.insertChild(View child)
           A utililty method to insert a persisted child
 void View.insertChildAt(View child, int index)
           A utililty method to insert a persisted child at a specific index
 void View.insertChild(View child, boolean persisted)
           A utililty method to insert a persisted or transient child
 void View.removeChild(View child)
           A utililty method to remove a child form a view
 

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
 NotificationChain EdgeImpl.basicSetSource(View newSource, NotificationChain msgs)
           
 void EdgeImpl.setSource(View newSource)
           
 NotificationChain EdgeImpl.basicSetTarget(View newTarget, NotificationChain msgs)
           
 void EdgeImpl.setTarget(View newTarget)
           
 void ViewImpl.insertChild(View child)
           
 void ViewImpl.insertChildAt(View child, int index)
           
 void ViewImpl.insertChild(View child, boolean persisted)
           
 void ViewImpl.removeChild(View child)
           
 


Runtime

Guidelines for using Eclipse APIs.

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