Rational Developer for Power Systems Software
V7.6

com.ibm.etools.systems.application.visual.editor.providers
Class ApplicationModelDiagramLayoutProvider

java.lang.Object
  extended by AbstractLayoutNodeProvider
      extended by com.ibm.etools.systems.application.visual.editor.providers.ApplicationModelDiagramLayoutProvider

public class ApplicationModelDiagramLayoutProvider
extends AbstractLayoutNodeProvider

The layout provider for the Application Digram. Support vertical or horizontal orientation.


Field Summary
static String copyright
           
 
Constructor Summary
ApplicationModelDiagramLayoutProvider()
          Create a ApplicationModelDiagramLayoutProvider.
 
Method Summary
 boolean getCurrentOrientation(ApplicationModelEditPart appModelEditPart)
          Return current orientation.
 boolean getDefaultOrientation()
          Return current orientation.
 Runnable layoutLayoutNodes(List layoutNodes, boolean offsetFromBoundingBox, IAdaptable layoutHint)
           
 boolean provides(IOperation operation)
           
 void setOrientation(boolean usingTopDown)
          Set orientation.
 
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

ApplicationModelDiagramLayoutProvider

public ApplicationModelDiagramLayoutProvider()
Create a ApplicationModelDiagramLayoutProvider.

Method Detail

layoutLayoutNodes

public Runnable layoutLayoutNodes(List layoutNodes,
                                  boolean offsetFromBoundingBox,
                                  IAdaptable layoutHint)

provides

public boolean provides(IOperation operation)

getDefaultOrientation

public boolean getDefaultOrientation()
Return current orientation.


getCurrentOrientation

public boolean getCurrentOrientation(ApplicationModelEditPart appModelEditPart)
Return current orientation.


setOrientation

public void setOrientation(boolean usingTopDown)
Set orientation. True: use top-down. False: use left-right.


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.