Class UsageDefaultLayoutProvider

java.lang.Object
org.eclipse.gmf.runtime.common.core.service.AbstractProvider
org.eclipse.gmf.runtime.diagram.ui.services.layout.AbstractLayoutNodeProvider
org.eclipse.gmf.runtime.diagram.ui.services.layout.AbstractLayoutEditPartProvider
org.eclipse.gmf.runtime.diagram.ui.providers.internal.DefaultProvider
org.eclipse.gmf.runtime.diagram.ui.providers.TopDownProvider
de.uka.ipd.sdq.pcm.gmf.usage.custom.layout.UsageDefaultLayoutProvider
All Implemented Interfaces:
org.eclipse.gmf.runtime.common.core.service.IProvider, org.eclipse.gmf.runtime.diagram.ui.services.layout.ILayoutNodeProvider

public class UsageDefaultLayoutProvider extends org.eclipse.gmf.runtime.diagram.ui.providers.TopDownProvider
Enable topdown layout for SEFFs.
  • Field Summary

    Fields inherited from class org.eclipse.gmf.runtime.diagram.ui.providers.internal.DefaultProvider

    layoutDefaultMargin, MAX_EDGE_PADDING, MIN_EDGE_END_POINTS_PADDING, MIN_EDGE_PADDING, minX, minY, mm, NODE_PADDING
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    final boolean
    provides(org.eclipse.gmf.runtime.common.core.service.IOperation operation)
    Check if we have a SEFF.

    Methods inherited from class org.eclipse.gmf.runtime.diagram.ui.providers.TopDownProvider

    createEdgesChangeBoundsCommands, createNodeChangeBoundCommands, getNodeMetrics, layoutEditParts, setLayoutDefaultMargin, translateFromGraph, translateToGraph

    Methods inherited from class org.eclipse.gmf.runtime.diagram.ui.providers.internal.DefaultProvider

    addAnchorsCommands, build_borderNodes, build_edges, build_graph, build_nodes, buildBorderNodes, buildEdges, buildGraph, buildNodes, canCreateBorderNode, canLayoutNodes, createGraph, createGraphLayout, createSubCommands, getMapMode, getRelevantConnections, initializeEdge, layoutEditParts, layoutTopDown, postProcessGraph, routeThrough, setNodeMetrics, shouldHandleConnectableListItems, supportsBorderNodes, update_diagram

    Methods inherited from class org.eclipse.gmf.runtime.diagram.ui.services.layout.AbstractLayoutEditPartProvider

    layoutLayoutNodes

    Methods inherited from class org.eclipse.gmf.runtime.diagram.ui.services.layout.AbstractLayoutNodeProvider

    getContainer, getNodeToSizeMap

    Methods inherited from class org.eclipse.gmf.runtime.common.core.service.AbstractProvider

    addProviderChangeListener, fireProviderChange, removeProviderChangeListener

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.eclipse.gmf.runtime.common.core.service.IProvider

    addProviderChangeListener, removeProviderChangeListener
  • Constructor Details

    • UsageDefaultLayoutProvider

      public UsageDefaultLayoutProvider()
  • Method Details

    • provides

      public final boolean provides(org.eclipse.gmf.runtime.common.core.service.IOperation operation)
      Check if we have a SEFF.
      Specified by:
      provides in interface org.eclipse.gmf.runtime.common.core.service.IProvider
      Overrides:
      provides in class org.eclipse.gmf.runtime.diagram.ui.providers.internal.DefaultProvider
      Parameters:
      operation - The layout operation to support
      Returns:
      true if we are in a SEFF diagram