# Deprecated API

## Contents

- Deprecated Methods
- Deprecated Constructors

Deprecated Methods
Method and Description
org.eclipse.gef4.zest.core.widgets.GraphConnection.getExternalConnection() Use `Widget.getData()` instead

Deprecated Constructors
Constructor and Description
org.eclipse.gef4.zest.core.widgets.GraphContainer(GraphContainer, int) Since Zest 2.0, use `GraphContainer.GraphContainer(GraphWidget, int)` .
org.eclipse.gef4.zest.core.widgets.GraphContainer(GraphWidget, int, String, Image) Since Zest 2.0, use `GraphContainer.GraphContainer(GraphWidget, int)` , `GraphNode.setText(String)`, and `GraphNode.setImage(Image)`
org.eclipse.gef4.zest.core.widgets.GraphItem(Widget, int, Object) Since Zest 2.0, use `#GraphItem(GraphWidget, int)` and `Widget.setData(Object)`
org.eclipse.gef4.zest.core.widgets.GraphNode(IContainer, int, Object) Since Zest 2.0, use `GraphNode.GraphNode(IContainer, int)` and `Widget.setData(Object)`
org.eclipse.gef4.zest.core.widgets.GraphNode(IContainer, int, String, Image) Since Zest 2.0, use `GraphNode.GraphNode(IContainer, int)`, `GraphNode.setText(String)`, and `GraphNode.setImage(Image)`
org.eclipse.gef4.zest.core.widgets.zooming.ZoomManager(ScalableFreeformLayeredPane, Viewport) Use `ZoomManager.ZoomManager(ScalableFigure, Viewport)` instead. Creates a new ZoomManager