use of org.eclipse.gef.ui.rulers.RulerComposite in project tdi-studio-se by Talend.
the class AbstractTalendEditor method createGraphicalViewer.
@Override
protected void createGraphicalViewer(final Composite parent) {
rulerComp = new RulerComposite(parent, SWT.NONE);
super.createGraphicalViewer(rulerComp);
rulerComp.setGraphicalViewer((ScrollingGraphicalViewer) getGraphicalViewer());
}
use of org.eclipse.gef.ui.rulers.RulerComposite in project yamcs-studio by yamcs.
the class OPIEditor method createGraphicalViewer.
@Override
protected void createGraphicalViewer(Composite parent) {
initDisplayModel();
rulerComposite = new RulerComposite(parent, SWT.NONE);
GraphicalViewer viewer = new PatchedScrollingGraphicalViewer();
viewer.createControl(rulerComposite);
setGraphicalViewer(viewer);
configureGraphicalViewer();
hookGraphicalViewer();
initializeGraphicalViewer();
rulerComposite.setGraphicalViewer((ScrollingGraphicalViewer) getGraphicalViewer());
}
use of org.eclipse.gef.ui.rulers.RulerComposite in project jbosstools-hibernate by jbosstools.
the class DiagramViewer method createGraphicalViewer.
/* (non-Javadoc)
* @see org.eclipse.gef.ui.parts.GraphicalEditor#createGraphicalViewer(org.eclipse.swt.widgets.Composite)
*/
protected void createGraphicalViewer(Composite parent) {
rulerComp = new RulerComposite(parent, SWT.NONE);
super.createGraphicalViewer(rulerComp);
rulerComp.setGraphicalViewer((ScrollingGraphicalViewer) getGraphicalViewer());
}
use of org.eclipse.gef.ui.rulers.RulerComposite in project tdi-studio-se by Talend.
the class ErdiagramDiagramEditor method createGraphicalViewer.
protected void createGraphicalViewer(final Composite parent) {
rulerComp = new RulerComposite(parent, SWT.BORDER);
super.createGraphicalViewer(rulerComp);
rulerComp.setGraphicalViewer((ScrollingGraphicalViewer) getGraphicalViewer());
}
Aggregations