Rational Developer for Power Systems Software
V7.6

com.ibm.etools.systems.application.visual.editor.srcinfo.editparts
Class SourceInfoViewProvider

java.lang.Object
  extended by AbstractViewProvider
      extended by com.ibm.etools.systems.application.visual.editor.providers.DefaultSystemViewProvider
          extended by com.ibm.etools.systems.application.visual.editor.srcinfo.editparts.SourceInfoViewProvider

public class SourceInfoViewProvider
extends DefaultSystemViewProvider

View provider for source model elements.


Field Summary
static String copyright
           
 
Constructor Summary
SourceInfoViewProvider()
          Create a SourceInfoViewProvider.
 
Method Summary
protected  Class getDiagramViewClass(IAdaptable semanticAdapter, String diagramKind)
           
protected  Class getEdgeViewClass(IAdaptable semanticAdapter, View containerView, String semanticHint)
          Returns the connector view class to instantiate based on the passed params
protected  Class getNodeViewClass(IAdaptable semanticAdapter, View containerView, String semanticHint)
          Returns the shape view class to instantiate based on the passed params
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

public static final String copyright
See Also:
Constant Field Values
Constructor Detail

SourceInfoViewProvider

public SourceInfoViewProvider()
Create a SourceInfoViewProvider.

Method Detail

getNodeViewClass

protected Class getNodeViewClass(IAdaptable semanticAdapter,
                                 View containerView,
                                 String semanticHint)
Returns the shape view class to instantiate based on the passed params

Overrides:
getNodeViewClass in class DefaultSystemViewProvider
Parameters:
semanticAdapter -
containerView -
semanticHint -
Returns:
Class

getDiagramViewClass

protected Class getDiagramViewClass(IAdaptable semanticAdapter,
                                    String diagramKind)
Overrides:
getDiagramViewClass in class DefaultSystemViewProvider
See Also:
org.eclipse.gmf.runtime.diagram.core.providers.AbstractViewProvider#getDiagramViewClass(IAdaptable, java.lang.String)

getEdgeViewClass

protected Class getEdgeViewClass(IAdaptable semanticAdapter,
                                 View containerView,
                                 String semanticHint)
Returns the connector view class to instantiate based on the passed params

Overrides:
getEdgeViewClass in class DefaultSystemViewProvider
Parameters:
semanticAdapter -
containerView -
semanticHint -
Returns:
Class

Rational Developer for Power Systems Software
V7.6

Copyright 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.