org.pentaho.di.ui.spoon
Class AbstractGraph
java.lang.Object
Composite
org.pentaho.di.ui.spoon.AbstractGraph
- Direct Known Subclasses:
- JobGraph, TransGraph
public abstract class AbstractGraph
- extends Composite
The beginnings of a common graph object, used by JobGraph and TransGraph to share common behaviors.
- Author:
- Will Gorman (wgorman@pentaho.com)
AbstractGraph
public AbstractGraph(Composite parent,
int style)
sign
public int sign(int n)
redraw
public void redraw()
zoomIn
public void zoomIn()
zoomOut
public void zoomOut()
zoom100Percent
public void zoom100Percent()
screen2real
public Point screen2real(int x,
int y)
real2screen
public Point real2screen(int x,
int y)
forceFocus
public boolean forceFocus()
getChangedWarning
public ChangedWarningInterface getChangedWarning()
- Gets the ChangedWarning for the given TabItemInterface class. This should be overridden by a given
TabItemInterface class to support the changed warning dialog.
- Returns:
- ChangedWarningInterface The class that provides the dialog and return value
showChangedWarning
public int showChangedWarning(String fileName)
throws KettleException
- Show the ChangedWarning and return the users selection
- Returns:
- int Value of SWT.YES, SWT.NO, SWT.CANCEL
- Throws:
KettleException
showChangedWarning
public int showChangedWarning()
throws KettleException
- Throws:
KettleException
dispose
public void dispose()