# Deprecated API

## Contents

- Deprecated Interfaces
- Deprecated Methods

Deprecated Interfaces
Interface and Description
org.eclipse.graphiti.features.ICustomUndoableFeature Use `ICustomUndoRedoFeature` instead

Deprecated Methods
Method and Description
org.eclipse.graphiti.ui.editor.GraphicalComposite.commandStackChanged(EventObject) Replaced by `GraphicalComposite.stackChanged(CommandStackEvent)` because the class `CommandStackListener` is deprecated by GEF
org.eclipse.graphiti.mm.algorithms.AbstractText.getAngle() This attribute exists because of compatibility (after removing old diagrams would not be readable any more). It is replaced by the new attribute rotation.
org.eclipse.graphiti.mm.algorithms.styles.Style.getAngle() This attribute exists because of compatibility (after removing old diagrams would not be readable any more). It is replaced by the new attribute rotation.
org.eclipse.graphiti.tb.IToolBehaviorProvider.getDiagramScrollingBehavior() Scroll bar based infinite canvas is a workaround for GEF limitations.
org.eclipse.graphiti.tb.DefaultToolBehaviorProvider.getDiagramScrollingBehavior() Scroll bar based infinite canvas is a workaround for Bug 195527 and can be harmed by GEF modifications. It will be removed then
org.eclipse.graphiti.mm.algorithms.impl.AlgorithmsFactoryImpl.getPackage()
org.eclipse.graphiti.mm.algorithms.styles.impl.StylesFactoryImpl.getPackage()
org.eclipse.graphiti.mm.impl.MmFactoryImpl.getPackage()
org.eclipse.graphiti.mm.pictograms.impl.PictogramsFactoryImpl.getPackage()
org.eclipse.graphiti.pattern.DirectEditingFeatureForPattern.redo(IContext) use `DirectEditingFeatureForPattern.postRedo(IContext)` instead
org.eclipse.graphiti.pattern.DeleteFeatureForPattern.redo(IContext) use `DeleteFeatureForPattern.postRedo(IContext)` instead
org.eclipse.graphiti.pattern.CreateFeatureForPattern.redo(IContext) use `CreateFeatureForPattern.postRedo(IContext)` instead
org.eclipse.graphiti.pattern.CreateConnectionFeatureForPattern.redo(IContext) use `CreateConnectionFeatureForPattern.postRedo(IContext)` instead
org.eclipse.graphiti.pattern.AddFeatureForPattern.redo(IContext) use `AddFeatureForPattern.postRedo(IContext)` instead
org.eclipse.graphiti.pattern.UpdateFeatureForPattern.redo(IContext) use `UpdateFeatureForPattern.postRedo(IContext)` instead
org.eclipse.graphiti.pattern.ResizeShapeFeatureForPattern.redo(IContext) use `ResizeShapeFeatureForPattern.postRedo(IContext)` instead
org.eclipse.graphiti.pattern.RemoveFeatureForPattern.redo(IContext) use `RemoveFeatureForPattern.postRedo(IContext)` instead
org.eclipse.graphiti.pattern.ReconnectionFeatureForPattern.redo(IContext) use `ReconnectionFeatureForPattern.postRedo(IContext)` instead
org.eclipse.graphiti.pattern.MoveShapeFeatureForPattern.redo(IContext) use `MoveShapeFeatureForPattern.postRedo(IContext)` instead
org.eclipse.graphiti.pattern.LayoutFeatureForPattern.redo(IContext) use `LayoutFeatureForPattern.postRedo(IContext)` instead
org.eclipse.graphiti.mm.algorithms.AbstractText.setAngle(Integer) This attribute exists because of compatibility (after removing old diagrams would not be readable any more). It is replaced by the new attribute rotation.
org.eclipse.graphiti.mm.algorithms.styles.Style.setAngle(Integer) This attribute exists because of compatibility (after removing old diagrams would not be readable any more). It is replaced by the new attribute rotation.
org.eclipse.graphiti.pattern.DirectEditingFeatureForPattern.undo(IContext) use `DirectEditingFeatureForPattern.postUndo(IContext)` instead
org.eclipse.graphiti.pattern.DeleteFeatureForPattern.undo(IContext) use `DeleteFeatureForPattern.postUndo(IContext)` instead
org.eclipse.graphiti.pattern.CreateFeatureForPattern.undo(IContext) use `CreateFeatureForPattern.postUndo(IContext)` instead
org.eclipse.graphiti.pattern.CreateConnectionFeatureForPattern.undo(IContext) use `CreateConnectionFeatureForPattern.postUndo(IContext)` instead
org.eclipse.graphiti.pattern.AddFeatureForPattern.undo(IContext) use `AddFeatureForPattern.postUndo(IContext)` instead
org.eclipse.graphiti.pattern.UpdateFeatureForPattern.undo(IContext) use `UpdateFeatureForPattern.postUndo(IContext)` instead
org.eclipse.graphiti.pattern.ResizeShapeFeatureForPattern.undo(IContext) use `ResizeShapeFeatureForPattern.postUndo(IContext)` instead
org.eclipse.graphiti.pattern.RemoveFeatureForPattern.undo(IContext) use `RemoveFeatureForPattern.postUndo(IContext)` instead
org.eclipse.graphiti.pattern.ReconnectionFeatureForPattern.undo(IContext) use `ReconnectionFeatureForPattern.postUndo(IContext)` instead
org.eclipse.graphiti.pattern.MoveShapeFeatureForPattern.undo(IContext) use `MoveShapeFeatureForPattern.postUndo(IContext)` instead
org.eclipse.graphiti.pattern.LayoutFeatureForPattern.undo(IContext) use `LayoutFeatureForPattern.postUndo(IContext)` instead