Domain Modeling Layer

com.ibm.xtools.presentation.services.layout
Interface ILayoutNodesProvider

All Superinterfaces:
IProvider

Deprecated. Use the org.eclipse.gmf.runtime.diagram.ui ILayoutNodeProvider and org.eclipse.gmf.runtime.diagram.ui.services.layout.LayoutType instead. The diagram.ui should be used in place of the presentation plugin whenever possible.

public interface ILayoutNodesProvider
extends IProvider

This is here for backwards compatibility only.

See Also:
org.eclipse.gmf.runtime.diagram.ui.services.layout.ILayoutNodesProvider

Field Summary
static String DEFAULT_LAYOUT
          Deprecated.  
static String RADIAL_LAYOUT
          Deprecated.  
 
Method Summary
 Runnable layoutNodes(List layoutNodes, boolean offsetFromBoundingBox, IAdaptable layoutHint)
          Deprecated. layoutNodes Layout this map of nodes, using the specified layout hint.
 
Methods inherited from interface org.eclipse.gmf.runtime.common.core.service.IProvider
addProviderChangeListener, provides, removeProviderChangeListener
 

Field Detail

DEFAULT_LAYOUT

static final String DEFAULT_LAYOUT
Deprecated. 

RADIAL_LAYOUT

static final String RADIAL_LAYOUT
Deprecated. 
Method Detail

layoutNodes

Runnable layoutNodes(List layoutNodes,
                     boolean offsetFromBoundingBox,
                     IAdaptable layoutHint)
Deprecated. 
layoutNodes Layout this map of nodes, using the specified layout hint.

Parameters:
layoutNodes - List of ILayoutNode objects that are to participate in the layout.
offsetFromBoundingBox - boolean indicating whether the Nodes should be laid out relative to the bounding box of the Nodes in the nodesToSizes Map.
layoutHint - IAdaptable hint to the provider to determine the layout kind. IAdaptable will typically adapt to string that can be one of ILayoutNodesProvider.DEFAULT_LAYOUT or ILayoutNodesProvider.RADIAL_LAYOUT.
Returns:
Runnable that contains the layout changes to be executed.

Domain Modeling Layer

© Copyright IBM Corp. 2009. All rights reserved.