# Deprecated API

## Contents

- Terminally Deprecated
- Interfaces
- Classes
- Exception Classes
- Methods
- Constructors

Terminally Deprecated Elements
Element
Description
org.eclipse.zest.core.viewers.IEntityConnectionStyleProvider.getTooltip(Object)
Use `IEntityConnectionStyleProvider2.getTooltip(Object, Object)` instead.
org.eclipse.zest.core.widgets.ConstraintAdapter
No longer used in Zest 2.x. This class will be removed in a future release in accordance with the two year deprecation policy.
org.eclipse.zest.core.widgets.Graph.addConstraintAdapter(ConstraintAdapter)
No longer used in Zest 2.x. This class will be removed in a future release in accordance with the two year deprecation policy.
org.eclipse.zest.core.widgets.Graph.getGraphModel()
org.eclipse.zest.core.widgets.Graph.setConstraintAdapters(List<ConstraintAdapter>)
No longer used in Zest 2.x. This class will be removed in a future release in accordance with the two year deprecation policy.
org.eclipse.zest.core.widgets.GraphConnection.getExternalConnection()
Use `Widget.getData()` instead. This class will be removed in a future release in accordance with the two year deprecation policy.
org.eclipse.zest.core.widgets.GraphConnection.getLayoutRelationship()
Not used in Zest 2.x. This class will be removed in a future release in accordance with the two year deprecation policy.
org.eclipse.zest.core.widgets.GraphContainer(IContainer, int, String)
Since Zest 2.0, use `GraphContainer(Graph, int)`, `GraphNode.setText(String)`
org.eclipse.zest.core.widgets.GraphContainer(IContainer, int, String, Image)
Since Zest 2.0, use `GraphContainer(Graph, int)`, `GraphNode.setText(String)`, and `GraphNode.setImage(Image)`
org.eclipse.zest.core.widgets.GraphItem(Widget, int, Object)
Since Zest 2.0, use `GraphItem(Graph, int)` and `Widget.setData(Object)`
org.eclipse.zest.core.widgets.GraphNode(IContainer, int, Object)
Since Zest 2.0, use `GraphNode(IContainer, int, IFigure)` instead.
org.eclipse.zest.core.widgets.GraphNode(IContainer, int, String)
Since Zest 2.0, use `GraphNode(IContainer, int)` and `GraphNode.setText(String)`
org.eclipse.zest.core.widgets.GraphNode(IContainer, int, String, Object)
Since Zest 2.0, use `GraphNode(IContainer, int, IFigure)` and `GraphNode.setText(String)`
org.eclipse.zest.core.widgets.GraphNode(IContainer, int, String, Image)
Since Zest 2.0, use `GraphNode(IContainer, int)`, `GraphNode.setText(String)`, and `GraphNode.setImage(Image)`
org.eclipse.zest.core.widgets.GraphNode(IContainer, int, String, Image, Object)
Since Zest 2.0, use `GraphNode(IContainer, int, IFigure)`, `GraphNode.setText(String)` and `GraphNode.setImage(Image)`.
org.eclipse.zest.core.widgets.GraphNode.getLayoutEntity()
Not used in Zest 2.x. This class will be removed in a future release.
org.eclipse.zest.layouts.algorithms.AbstractLayoutAlgorithm.Zest1
No longer used in Zest 2.x. This class will be removed in a future release.
org.eclipse.zest.layouts.algorithms.CompositeLayoutAlgorithm.Zest1
Use `CompositeLayoutAlgorithm` instead. This class will be removed in a future release.
org.eclipse.zest.layouts.algorithms.ContinuousLayoutAlgorithm
No longer used in Zest 2.x. This class will be removed in a future release.
org.eclipse.zest.layouts.algorithms.DirectedGraphLayoutAlgorithm.Zest1
Use `DirectedGraphLayoutAlgorithm` instead. This class will be removed in a future release.
org.eclipse.zest.layouts.algorithms.GridLayoutAlgorithm.Zest1
Use `GridLayoutAlgorithm` instead. This class will be removed in a future release.
org.eclipse.zest.layouts.algorithms.HorizontalLayoutAlgorithm
No longer used in Zest 2.x. This class will be removed in a future release. Use `BoxLayoutAlgorithm` with `SWT.HORIZONTAL` instead.
org.eclipse.zest.layouts.algorithms.HorizontalShift
Use `HorizontalShiftAlgorithm` instead. This class will be removed in a future release.
org.eclipse.zest.layouts.algorithms.HorizontalTreeLayoutAlgorithm
No longer used in Zest 2.x. This class will be removed in a future release. Use `TreeLayoutAlgorithm` with `TreeLayoutAlgorithm.LEFT_RIGHT` instead.
org.eclipse.zest.layouts.algorithms.RadialLayoutAlgorithm.Zest1
Use `RadialLayoutAlgorithm` instead. This class will be removed in a future release.
org.eclipse.zest.layouts.algorithms.SpringLayoutAlgorithm.Zest1
Use `SpringLayoutAlgorithm` instead. This class will be removed in a future release.
org.eclipse.zest.layouts.algorithms.TreeLayoutAlgorithm.Zest1
Use `TreeLayoutAlgorithm` instead. This class will be removed in a future release.
org.eclipse.zest.layouts.algorithms.VerticalLayoutAlgorithm
No longer used in Zest 2.x. This class will be removed in a future release. Use `BoxLayoutAlgorithm` with `SWT.VERTICAL` instead.
org.eclipse.zest.layouts.constraints.BasicEdgeConstraints
No longer used in Zest 2.x. This class will be removed in a future release.
org.eclipse.zest.layouts.constraints.BasicEntityConstraint
No longer used in Zest 2.x. This class will be removed in a future release.
org.eclipse.zest.layouts.constraints.EntityPriorityConstraint
No longer used in Zest 2.x. This class will be removed in a future release.
org.eclipse.zest.layouts.constraints.LabelLayoutConstraint
No longer used in Zest 2.x. This class will be removed in a future release.
org.eclipse.zest.layouts.constraints.LayoutConstraint
No longer used in Zest 2.x. This interface will be removed in a future release.
org.eclipse.zest.layouts.dataStructures.BendPoint
No longer used in Zest 2.x. This class will be removed in a future release.
org.eclipse.zest.layouts.dataStructures.InternalNode
No longer used in Zest 2.x. This class will be removed in a future release.
org.eclipse.zest.layouts.dataStructures.InternalRelationship
No longer used in Zest 2.x. This class will be removed in a future release.
org.eclipse.zest.layouts.Filter
Use `LayoutFilter` instead. This interface will be removed in a future release.
org.eclipse.zest.layouts.InvalidLayoutConfiguration
No longer used in Zest 2.x. This class will be removed in a future release.
org.eclipse.zest.layouts.LayoutAlgorithm.Zest1
Use `LayoutAlgorithm` instead. This interface will be removed in a future release in accordance with the two year deprecation policy.
org.eclipse.zest.layouts.LayoutBendPoint
No longer used in Zest 2.x. This interface will be removed in a future release.
org.eclipse.zest.layouts.LayoutEntity
Use `NodeLayout` instead. This interface will be removed in a future release
org.eclipse.zest.layouts.LayoutGraph
No longer used in Zest 2.x. This interface will be removed in a future release.
org.eclipse.zest.layouts.LayoutItem
Use `EntityLayout` instead. This class will be removed in a future release.
org.eclipse.zest.layouts.LayoutIterationEvent
No longer used in Zest 2.x. This class will be removed in a future release.
org.eclipse.zest.layouts.LayoutRelationship
Use `ConnectionLayout` instead. This interface will be removed in a future release.
org.eclipse.zest.layouts.LayoutStyles
Since Zest 2.0, layout styles are set on the individual layout algorithms (e.g. `TreeLayoutAlgorithm.isResizing()`). This interface will be removed in a future release.
org.eclipse.zest.layouts.NestedLayoutEntity
Use `SubgraphLayout` instead. This interface will be removed in a future release.
org.eclipse.zest.layouts.progress.ProgressEvent
No longer used in Zest 2.x. This class will be removed in a future release.
org.eclipse.zest.layouts.progress.ProgressListener
No longer used in Zest 2.x. This interface will be removed in a future release.
org.eclipse.zest.layouts.progress.ProgressListener.Stub
No longer used in Zest 2.x. This interface will be removed in a future release.
org.eclipse.zest.layouts.Stoppable
No longer used in Zest 2.x. This interface will be removed in a future release.

Deprecated Interfaces
Interface
Description
org.eclipse.zest.core.widgets.ConstraintAdapter
No longer used in Zest 2.x. This class will be removed in a future release in accordance with the two year deprecation policy.
org.eclipse.zest.layouts.constraints.LayoutConstraint
No longer used in Zest 2.x. This interface will be removed in a future release.
org.eclipse.zest.layouts.Filter
Use `LayoutFilter` instead. This interface will be removed in a future release.
org.eclipse.zest.layouts.LayoutAlgorithm.Zest1
Use `LayoutAlgorithm` instead. This interface will be removed in a future release in accordance with the two year deprecation policy.
org.eclipse.zest.layouts.LayoutBendPoint
No longer used in Zest 2.x. This interface will be removed in a future release.
org.eclipse.zest.layouts.LayoutEntity
Use `NodeLayout` instead. This interface will be removed in a future release
org.eclipse.zest.layouts.LayoutGraph
No longer used in Zest 2.x. This interface will be removed in a future release.
org.eclipse.zest.layouts.LayoutItem
Use `EntityLayout` instead. This class will be removed in a future release.
org.eclipse.zest.layouts.LayoutRelationship
Use `ConnectionLayout` instead. This interface will be removed in a future release.
org.eclipse.zest.layouts.LayoutStyles
Since Zest 2.0, layout styles are set on the individual layout algorithms (e.g. `TreeLayoutAlgorithm.isResizing()`). This interface will be removed in a future release.
org.eclipse.zest.layouts.NestedLayoutEntity
Use `SubgraphLayout` instead. This interface will be removed in a future release.
org.eclipse.zest.layouts.progress.ProgressListener
No longer used in Zest 2.x. This interface will be removed in a future release.
org.eclipse.zest.layouts.Stoppable
No longer used in Zest 2.x. This interface will be removed in a future release.

Deprecated Classes
Class
Description
org.eclipse.zest.layouts.algorithms.AbstractLayoutAlgorithm.Zest1
No longer used in Zest 2.x. This class will be removed in a future release.
org.eclipse.zest.layouts.algorithms.CompositeLayoutAlgorithm.Zest1
Use `CompositeLayoutAlgorithm` instead. This class will be removed in a future release.
org.eclipse.zest.layouts.algorithms.ContinuousLayoutAlgorithm
No longer used in Zest 2.x. This class will be removed in a future release.
org.eclipse.zest.layouts.algorithms.DirectedGraphLayoutAlgorithm.Zest1
Use `DirectedGraphLayoutAlgorithm` instead. This class will be removed in a future release.
org.eclipse.zest.layouts.algorithms.GridLayoutAlgorithm.Zest1
Use `GridLayoutAlgorithm` instead. This class will be removed in a future release.
org.eclipse.zest.layouts.algorithms.HorizontalLayoutAlgorithm
No longer used in Zest 2.x. This class will be removed in a future release. Use `BoxLayoutAlgorithm` with `SWT.HORIZONTAL` instead.
org.eclipse.zest.layouts.algorithms.HorizontalShift
Use `HorizontalShiftAlgorithm` instead. This class will be removed in a future release.
org.eclipse.zest.layouts.algorithms.HorizontalTreeLayoutAlgorithm
No longer used in Zest 2.x. This class will be removed in a future release. Use `TreeLayoutAlgorithm` with `TreeLayoutAlgorithm.LEFT_RIGHT` instead.
org.eclipse.zest.layouts.algorithms.RadialLayoutAlgorithm.Zest1
Use `RadialLayoutAlgorithm` instead. This class will be removed in a future release.
org.eclipse.zest.layouts.algorithms.SpringLayoutAlgorithm.Zest1
Use `SpringLayoutAlgorithm` instead. This class will be removed in a future release.
org.eclipse.zest.layouts.algorithms.TreeLayoutAlgorithm.Zest1
Use `TreeLayoutAlgorithm` instead. This class will be removed in a future release.
org.eclipse.zest.layouts.algorithms.VerticalLayoutAlgorithm
No longer used in Zest 2.x. This class will be removed in a future release. Use `BoxLayoutAlgorithm` with `SWT.VERTICAL` instead.
org.eclipse.zest.layouts.constraints.BasicEdgeConstraints
No longer used in Zest 2.x. This class will be removed in a future release.
org.eclipse.zest.layouts.constraints.BasicEntityConstraint
No longer used in Zest 2.x. This class will be removed in a future release.
org.eclipse.zest.layouts.constraints.EntityPriorityConstraint
No longer used in Zest 2.x. This class will be removed in a future release.
org.eclipse.zest.layouts.constraints.LabelLayoutConstraint
No longer used in Zest 2.x. This class will be removed in a future release.
org.eclipse.zest.layouts.dataStructures.BendPoint
No longer used in Zest 2.x. This class will be removed in a future release.
org.eclipse.zest.layouts.dataStructures.InternalNode
No longer used in Zest 2.x. This class will be removed in a future release.
org.eclipse.zest.layouts.dataStructures.InternalRelationship
No longer used in Zest 2.x. This class will be removed in a future release.
org.eclipse.zest.layouts.LayoutIterationEvent
No longer used in Zest 2.x. This class will be removed in a future release.
org.eclipse.zest.layouts.progress.ProgressEvent
No longer used in Zest 2.x. This class will be removed in a future release.
org.eclipse.zest.layouts.progress.ProgressListener.Stub
No longer used in Zest 2.x. This interface will be removed in a future release.

Deprecated Exception Classes
Exception Class
Description
org.eclipse.zest.layouts.InvalidLayoutConfiguration
No longer used in Zest 2.x. This class will be removed in a future release.

Deprecated Methods
Method
Description
org.eclipse.zest.core.viewers.IEntityConnectionStyleProvider.getTooltip(Object)
Use `IEntityConnectionStyleProvider2.getTooltip(Object, Object)` instead.
org.eclipse.zest.core.widgets.Graph.addConstraintAdapter(ConstraintAdapter)
No longer used in Zest 2.x. This class will be removed in a future release in accordance with the two year deprecation policy.
org.eclipse.zest.core.widgets.Graph.getGraphModel()
org.eclipse.zest.core.widgets.Graph.setConstraintAdapters(List<ConstraintAdapter>)
No longer used in Zest 2.x. This class will be removed in a future release in accordance with the two year deprecation policy.
org.eclipse.zest.core.widgets.GraphConnection.getExternalConnection()
Use `Widget.getData()` instead. This class will be removed in a future release in accordance with the two year deprecation policy.
org.eclipse.zest.core.widgets.GraphConnection.getLayoutRelationship()
Not used in Zest 2.x. This class will be removed in a future release in accordance with the two year deprecation policy.
org.eclipse.zest.core.widgets.GraphNode.getLayoutEntity()
Not used in Zest 2.x. This class will be removed in a future release.

Deprecated Constructors
Constructor
Description
org.eclipse.zest.core.widgets.GraphContainer(IContainer, int, String)
Since Zest 2.0, use `GraphContainer(Graph, int)`, `GraphNode.setText(String)`
org.eclipse.zest.core.widgets.GraphContainer(IContainer, int, String, Image)
Since Zest 2.0, use `GraphContainer(Graph, int)`, `GraphNode.setText(String)`, and `GraphNode.setImage(Image)`
org.eclipse.zest.core.widgets.GraphItem(Widget, int, Object)
Since Zest 2.0, use `GraphItem(Graph, int)` and `Widget.setData(Object)`
org.eclipse.zest.core.widgets.GraphNode(IContainer, int, Object)
Since Zest 2.0, use `GraphNode(IContainer, int, IFigure)` instead.
org.eclipse.zest.core.widgets.GraphNode(IContainer, int, String)
Since Zest 2.0, use `GraphNode(IContainer, int)` and `GraphNode.setText(String)`
org.eclipse.zest.core.widgets.GraphNode(IContainer, int, String, Object)
Since Zest 2.0, use `GraphNode(IContainer, int, IFigure)` and `GraphNode.setText(String)`
org.eclipse.zest.core.widgets.GraphNode(IContainer, int, String, Image)
Since Zest 2.0, use `GraphNode(IContainer, int)`, `GraphNode.setText(String)`, and `GraphNode.setImage(Image)`
org.eclipse.zest.core.widgets.GraphNode(IContainer, int, String, Image, Object)
Since Zest 2.0, use `GraphNode(IContainer, int, IFigure)`, `GraphNode.setText(String)` and `GraphNode.setImage(Image)`.
org.eclipse.zest.layouts.algorithms.CompositeLayoutAlgorithm(int, LayoutAlgorithm[])
Since Zest 2.0, use `CompositeLayoutAlgorithm(LayoutAlgorithm[])`
org.eclipse.zest.layouts.algorithms.GridLayoutAlgorithm(int)
Since Zest 2.0, use `GridLayoutAlgorithm()`.
org.eclipse.zest.layouts.algorithms.RadialLayoutAlgorithm(int)
Since Zest 2.0, use `RadialLayoutAlgorithm()`.
org.eclipse.zest.layouts.algorithms.SpringLayoutAlgorithm(int)
Since Zest 2.0, use `SpringLayoutAlgorithm()`.