use of org.eclipse.wst.xsd.ui.internal.adt.design.ADTFloatingToolbar in project webtools.sourceediting by eclipse.
the class ADTMultiPageEditor method createGraphPageComposite.
protected Composite createGraphPageComposite() {
Composite parent = new Composite(getContainer(), SWT.FLAT);
parent.setBackground(ColorConstants.white);
parent.setLayout(new InternalLayout());
floatingToolbar = new ADTFloatingToolbar(getModel());
floatingToolbar.createControl(parent);
floatingToolbar.getControl().setVisible(true);
EditPartFactory editPartFactory = getEditorModeManager().getCurrentMode().getEditPartFactory();
floatingToolbar.setEditPartFactory(editPartFactory);
createViewModeToolbar(parent);
return parent;
}
Aggregations