use of org.eclipse.wst.xsd.ui.internal.adt.design.figures.IFigureFactory in project webtools.sourceediting by eclipse.
the class BaseEditPart method getFigureFactory.
public IFigureFactory getFigureFactory() {
EditPartFactory factory = getViewer().getEditPartFactory();
// $NON-NLS-1$
Assert.isTrue(factory instanceof IFigureFactory, "EditPartFactory must be an instanceof of IFigureFactory");
return (IFigureFactory) factory;
}
Aggregations