Package org.pentaho.di.ui.spoon.job
Class JobGraph
java.lang.Object
org.eclipse.swt.widgets.Widget
org.eclipse.swt.widgets.Control
org.eclipse.swt.widgets.Scrollable
org.eclipse.swt.widgets.Composite
org.pentaho.di.ui.spoon.AbstractGraph
org.pentaho.di.ui.spoon.job.JobGraph
- All Implemented Interfaces:
EventListener
,org.eclipse.swt.events.KeyListener
,org.eclipse.swt.events.MouseListener
,org.eclipse.swt.events.MouseMoveListener
,org.eclipse.swt.events.MouseTrackListener
,org.eclipse.swt.events.MouseWheelListener
,org.eclipse.swt.graphics.Drawable
,org.eclipse.swt.internal.SWTEventListener
,org.pentaho.di.core.gui.Redrawable
,org.pentaho.di.core.logging.LogParentProvidedInterface
,TabItemInterface
,org.pentaho.ui.xul.impl.XulEventHandler
public class JobGraph
extends AbstractGraph
implements org.pentaho.ui.xul.impl.XulEventHandler, org.pentaho.di.core.gui.Redrawable, TabItemInterface, org.pentaho.di.core.logging.LogParentProvidedInterface, org.eclipse.swt.events.MouseListener, org.eclipse.swt.events.MouseMoveListener, org.eclipse.swt.events.MouseTrackListener, org.eclipse.swt.events.MouseWheelListener, org.eclipse.swt.events.KeyListener
Handles the display of Jobs in Spoon, in a graphical form.
- Author:
- Matt Created on 17-may-2003
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.pentaho.di.job.JobHopMeta
protected int
protected int
protected org.pentaho.di.core.gui.Point
org.eclipse.swt.widgets.Composite
org.eclipse.swt.custom.CTabFolder
protected org.pentaho.di.job.JobHopMeta
protected int
org.pentaho.di.job.Job
protected org.pentaho.di.job.entry.JobEntryCopy
protected org.pentaho.di.job.JobMeta
protected org.pentaho.di.job.JobHopMeta
protected int
protected org.pentaho.di.core.gui.Point
protected org.pentaho.di.core.gui.Point
protected int
protected org.pentaho.di.core.logging.LogChannelInterface
protected org.pentaho.di.core.NotePadMeta
protected org.pentaho.di.core.gui.Point
protected org.pentaho.di.core.gui.Point[]
protected PropsUI
protected List<org.pentaho.di.job.entry.JobEntryCopy>
protected org.pentaho.di.job.entry.JobEntryCopy
protected org.pentaho.di.core.NotePadMeta
protected org.pentaho.di.core.gui.Rectangle
protected int
protected org.eclipse.swt.widgets.Shell
protected static final int
protected boolean
protected Spoon
static final String
static final String
protected static final double
Fields inherited from class org.pentaho.di.ui.spoon.AbstractGraph
canvas, hori, iconoffset, magnification, noteoffset, offset, vert, xulDomContainer, zoomLabel
Fields inherited from class org.eclipse.swt.widgets.Composite
embeddedHandle
Fields inherited from class org.eclipse.swt.widgets.Widget
handle
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
Add an extra view to the main composite SashFormvoid
addJobEntryToChain
(String typeDesc, boolean shift) void
addRefreshListener
(RefreshListener refreshListener) void
addUndoPosition
(Object[] obj, int[] pos, org.pentaho.di.core.gui.Point[] prev, org.pentaho.di.core.gui.Point[] curr) void
addUndoPosition
(Object[] obj, int[] pos, org.pentaho.di.core.gui.Point[] prev, org.pentaho.di.core.gui.Point[] curr, boolean nextAlso) void
void
void
void
boolean
protected void
void
boolean
Closes the content behind the tab, de-allocates resources.boolean
void
If the extra tab view at the bottom is empty, we close it.boolean
checkIfHopAlreadyExists
(org.pentaho.di.job.JobMeta jobMeta, org.pentaho.di.job.JobHopMeta newHop) void
void
void
static void
copyInternalJobVariables
(org.pentaho.di.job.JobMeta sourceJobMeta, org.pentaho.di.trans.TransMeta targetTransMeta) protected org.pentaho.di.core.gui.SnapAllignDistribute
void
void
void
void
void
delSelected
(org.pentaho.di.job.entry.JobEntryCopy clickedEntry) protected void
detach
(org.pentaho.di.job.entry.JobEntryCopy je) void
void
void
void
void
void
protected void
drawArrow
(org.eclipse.swt.graphics.GC gc, int[] line) protected void
drawRect
(org.eclipse.swt.graphics.GC gc, org.eclipse.swt.graphics.Rectangle rect) void
protected void
editEntry
(org.pentaho.di.job.entry.JobEntryCopy je) void
void
void
Go from serial to parallel to serial executionvoid
void
editNote()
protected void
editNote
(org.pentaho.di.core.NotePadMeta ni) static boolean
editProperties
(org.pentaho.di.job.JobMeta jobMeta, Spoon spoon, org.pentaho.di.repository.Repository rep, boolean allowDirectoryChange) void
enableDisableHopsDownstream
(boolean enabled) void
void
enableHopsBetweenSelectedEntries
(boolean enabled) This method enables or disables all the hops between the selected Entries.void
void
void
flipHop()
protected org.pentaho.di.job.JobHopMeta
org.pentaho.di.core.NotePadMeta
org.pentaho.di.job.Job
getJob()
org.pentaho.di.job.entry.JobEntryCopy
org.eclipse.swt.graphics.Image
getJobImage
(org.eclipse.swt.graphics.Device device, int x, int y, float magnificationFactor) org.pentaho.di.job.JobMeta
org.pentaho.di.core.gui.Point
protected int[]
getLine
(org.pentaho.di.job.entry.JobEntryCopy fs, org.pentaho.di.job.entry.JobEntryCopy ts) org.pentaho.di.core.logging.HasLogChannelInterface
org.pentaho.di.job.JobMeta
org.pentaho.di.core.EngineMetaInterface
getMeta()
getName()
protected org.pentaho.di.core.gui.Point
org.pentaho.di.core.gui.Point
getRealPosition
(org.eclipse.swt.widgets.Composite canvas, int x, int y) getSpoon()
void
getSQL()
org.pentaho.ui.xul.containers.XulToolbar
org.pentaho.di.core.gui.AreaOwner
getVisibleAreaOwner
(int x, int y) org.pentaho.ui.xul.XulDomContainer
void
handleJobMetaChanges
(org.pentaho.di.job.JobMeta jobMeta) boolean
void
protected void
boolean
protected void
This gets called at the very end, when everything is done.void
keyPressed
(org.eclipse.swt.events.KeyEvent e) void
keyReleased
(org.eclipse.swt.events.KeyEvent e) void
void
launchStuff
(org.pentaho.di.job.entry.JobEntryCopy jobEntryCopy) protected void
loadReferencedObject
(org.pentaho.di.job.entry.JobEntryCopy jobEntryCopy, int index) void
void
mouseDoubleClick
(org.eclipse.swt.events.MouseEvent e) void
mouseDown
(org.eclipse.swt.events.MouseEvent e) void
mouseEnter
(org.eclipse.swt.events.MouseEvent event) void
mouseExit
(org.eclipse.swt.events.MouseEvent event) void
mouseHover
(org.eclipse.swt.events.MouseEvent e) void
mouseMove
(org.eclipse.swt.events.MouseEvent e) void
mouseScrolled
(org.eclipse.swt.events.MouseEvent e) void
mouseUp
(org.eclipse.swt.events.MouseEvent e) protected void
newHop()
void
void
newNote()
void
newProps()
void
openFile()
void
openJob()
void
openJob
(org.pentaho.di.job.entries.job.JobEntryJob entry, org.pentaho.di.job.entry.JobEntryCopy jobEntryCopy) void
protected void
openTransformation
(org.pentaho.di.job.entries.trans.JobEntryTrans entry, org.pentaho.di.job.entry.JobEntryCopy jobEntryCopy) void
paintControl
(org.eclipse.swt.events.PaintEvent e) void
protected boolean
pointOnLine
(int x, int y, int[] line) protected boolean
pointOnThinLine
(int x, int y, int[] line) void
void
void
renameJobEntry
(org.pentaho.di.job.entry.JobEntryCopy jobEntry, String newName) Method gets called, when the user wants to change a job entries name and he indeed entered a different name then the old one.void
void
runJob()
void
void
saveFile()
void
void
void
void
selectInRect
(org.pentaho.di.job.JobMeta jobMeta, org.pentaho.di.core.gui.Rectangle rect) void
protected void
setCurrentHop
(org.pentaho.di.job.JobHopMeta hop) void
setCurrentNote
(org.pentaho.di.core.NotePadMeta ni) boolean
setFocus()
void
void
void
void
setJob
(org.pentaho.di.job.Job job) void
setJobEntry
(org.pentaho.di.job.entry.JobEntryCopy jobEntry) void
setJobMeta
(org.pentaho.di.job.JobMeta jobMeta) void
setLastMove
(org.pentaho.di.core.gui.Point lastMove) protected void
setMenu
(int x, int y) void
void
setRefreshListeners
(List<RefreshListener> refreshListeners) void
protected void
setToolTip
(int x, int y, int screenX, int screenY) void
setXulDomContainer
(org.pentaho.ui.xul.XulDomContainer xulDomContainer) int
static int
showChangedWarning
(org.eclipse.swt.widgets.Shell shell, String name) void
static void
showOnlyStartOnceMessage
(org.eclipse.swt.widgets.Shell shell) void
void
protected void
snaptogrid
(int size) void
startJob
(org.pentaho.di.job.JobExecutionConfiguration executionConfiguration) void
stopJob()
toString()
Methods inherited from class org.pentaho.di.ui.spoon.AbstractGraph
dispose, doRightClickSelection, forceFocus, getArea, getChangedWarning, getOffset, getThumb, magnifyPoint, real2screen, redraw, screen2real, setZoomLabel, showChangedWarning, sign, zoom100Percent, zoomIn, zoomOut
Methods inherited from class org.eclipse.swt.widgets.Composite
changed, checkSubclass, drawBackground, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setLayout, setLayoutDeferred, setTabList
Methods inherited from class org.eclipse.swt.widgets.Scrollable
computeTrim, getClientArea, getHorizontalBar, getScrollbarsMode, getVerticalBar
Methods inherited from class org.eclipse.swt.widgets.Control
addControlListener, addDragDetectListener, addFocusListener, addGestureListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTouchListener, addTraverseListener, computeSize, computeSize, dragDetect, dragDetect, getAccessible, getBackground, getBackgroundImage, getBorderWidth, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getOrientation, getParent, getRegion, getShell, getSize, getTextDirection, getToolTipText, getTouchEnabled, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, print, redraw, removeControlListener, removeDragDetectListener, removeFocusListener, removeGestureListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTouchListener, removeTraverseListener, requestLayout, setBackground, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, setEnabled, setFont, setForeground, setLayoutData, setLocation, setLocation, setMenu, setOrientation, setParent, setRedraw, setRegion, setSize, setSize, setTextDirection, setToolTipText, setTouchEnabled, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, traverse, traverse, update
Methods inherited from class org.eclipse.swt.widgets.Widget
addDisposeListener, addListener, checkWidget, getData, getData, getDisplay, getListeners, getStyle, isAutoDirection, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, reskin, setData, setData
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.pentaho.di.core.gui.Redrawable
redraw
Methods inherited from interface org.pentaho.di.ui.spoon.TabItemInterface
getChangedWarning
Methods inherited from interface org.pentaho.ui.xul.impl.XulEventHandler
getData, setData
-
Field Details
-
START_TEXT
-
STOP_TEXT
-
shell
protected org.eclipse.swt.widgets.Shell shell -
log
protected org.pentaho.di.core.logging.LogChannelInterface log -
jobMeta
protected org.pentaho.di.job.JobMeta jobMeta -
job
public org.pentaho.di.job.Job job -
props
-
iconsize
protected int iconsize -
linewidth
protected int linewidth -
lastclick
protected org.pentaho.di.core.gui.Point lastclick -
selectedEntries
-
selectedEntry
protected org.pentaho.di.job.entry.JobEntryCopy selectedEntry -
previousLocations
protected org.pentaho.di.core.gui.Point[] previousLocations -
selectedNote
protected org.pentaho.di.core.NotePadMeta selectedNote -
previous_note_location
protected org.pentaho.di.core.gui.Point previous_note_location -
lastMove
protected org.pentaho.di.core.gui.Point lastMove -
hop_candidate
protected org.pentaho.di.job.JobHopMeta hop_candidate -
drop_candidate
protected org.pentaho.di.core.gui.Point drop_candidate -
spoon
-
split_hop
protected boolean split_hop -
lastButton
protected int lastButton -
last_hop_split
protected org.pentaho.di.job.JobHopMeta last_hop_split -
selectionRegion
protected org.pentaho.di.core.gui.Rectangle selectionRegion -
theta
protected static final double theta -
size
protected static final int size- See Also:
-
shadowsize
protected int shadowsize -
currentMouseX
protected int currentMouseX -
currentMouseY
protected int currentMouseY -
jobEntry
protected org.pentaho.di.job.entry.JobEntryCopy jobEntry -
ni
protected org.pentaho.di.core.NotePadMeta ni -
currentHop
protected org.pentaho.di.job.JobHopMeta currentHop -
extraViewComposite
public org.eclipse.swt.widgets.Composite extraViewComposite -
extraViewTabFolder
public org.eclipse.swt.custom.CTabFolder extraViewTabFolder -
jobLogDelegate
-
jobHistoryDelegate
-
jobGridDelegate
-
jobMetricsDelegate
-
-
Constructor Details
-
JobGraph
public JobGraph(org.eclipse.swt.widgets.Composite par, Spoon spoon, org.pentaho.di.job.JobMeta jobMeta)
-
-
Method Details
-
hideToolTips
protected void hideToolTips() -
mouseDoubleClick
public void mouseDoubleClick(org.eclipse.swt.events.MouseEvent e) - Specified by:
mouseDoubleClick
in interfaceorg.eclipse.swt.events.MouseListener
-
mouseDown
public void mouseDown(org.eclipse.swt.events.MouseEvent e) - Specified by:
mouseDown
in interfaceorg.eclipse.swt.events.MouseListener
-
mouseUp
public void mouseUp(org.eclipse.swt.events.MouseEvent e) - Specified by:
mouseUp
in interfaceorg.eclipse.swt.events.MouseListener
-
mouseMove
public void mouseMove(org.eclipse.swt.events.MouseEvent e) - Specified by:
mouseMove
in interfaceorg.eclipse.swt.events.MouseMoveListener
-
mouseHover
public void mouseHover(org.eclipse.swt.events.MouseEvent e) - Specified by:
mouseHover
in interfaceorg.eclipse.swt.events.MouseTrackListener
-
mouseEnter
public void mouseEnter(org.eclipse.swt.events.MouseEvent event) - Specified by:
mouseEnter
in interfaceorg.eclipse.swt.events.MouseTrackListener
-
mouseExit
public void mouseExit(org.eclipse.swt.events.MouseEvent event) - Specified by:
mouseExit
in interfaceorg.eclipse.swt.events.MouseTrackListener
-
mouseScrolled
public void mouseScrolled(org.eclipse.swt.events.MouseEvent e) - Specified by:
mouseScrolled
in interfaceorg.eclipse.swt.events.MouseWheelListener
-
checkIfHopAlreadyExists
public boolean checkIfHopAlreadyExists(org.pentaho.di.job.JobMeta jobMeta, org.pentaho.di.job.JobHopMeta newHop) -
getVisibleAreaOwner
public org.pentaho.di.core.gui.AreaOwner getVisibleAreaOwner(int x, int y) -
asyncRedraw
protected void asyncRedraw() -
keyPressed
public void keyPressed(org.eclipse.swt.events.KeyEvent e) - Specified by:
keyPressed
in interfaceorg.eclipse.swt.events.KeyListener
-
keyReleased
public void keyReleased(org.eclipse.swt.events.KeyEvent e) - Specified by:
keyReleased
in interfaceorg.eclipse.swt.events.KeyListener
-
selectInRect
public void selectInRect(org.pentaho.di.job.JobMeta jobMeta, org.pentaho.di.core.gui.Rectangle rect) -
setFocus
public boolean setFocus()- Specified by:
setFocus
in interfaceTabItemInterface
- Overrides:
setFocus
in classAbstractGraph
-
renameJobEntry
Method gets called, when the user wants to change a job entries name and he indeed entered a different name then the old one. Make sure that no other job entry matches this name and rename in case of uniqueness.- Parameters:
jobEntry
-newName
-
-
showOnlyStartOnceMessage
public static void showOnlyStartOnceMessage(org.eclipse.swt.widgets.Shell shell) -
delSelected
public void delSelected() -
delSelected
public void delSelected(org.pentaho.di.job.entry.JobEntryCopy clickedEntry) -
clearSettings
public void clearSettings() -
getRealPosition
public org.pentaho.di.core.gui.Point getRealPosition(org.eclipse.swt.widgets.Composite canvas, int x, int y) -
getLine
protected int[] getLine(org.pentaho.di.job.entry.JobEntryCopy fs, org.pentaho.di.job.entry.JobEntryCopy ts) -
setJobEntry
public void setJobEntry(org.pentaho.di.job.entry.JobEntryCopy jobEntry) -
getJobEntry
public org.pentaho.di.job.entry.JobEntryCopy getJobEntry() -
openTransformation
public void openTransformation() -
openJob
public void openJob() -
newHopClick
public void newHopClick() -
editEntryClick
public void editEntryClick() -
editEntryDescription
public void editEntryDescription() -
editEntryParallel
public void editEntryParallel()Go from serial to parallel to serial execution -
duplicateEntry
public void duplicateEntry() throws org.pentaho.di.core.exception.KettleException- Throws:
org.pentaho.di.core.exception.KettleException
-
copyEntry
public void copyEntry() -
detachEntry
public void detachEntry() -
hideEntry
public void hideEntry() -
deleteEntry
public void deleteEntry() -
setMenu
protected void setMenu(int x, int y) -
selectAll
public void selectAll() -
clearSelection
public void clearSelection() -
editJobProperties
public void editJobProperties() -
pasteNote
public void pasteNote() -
newNote
public void newNote() -
setCurrentNote
public void setCurrentNote(org.pentaho.di.core.NotePadMeta ni) -
getCurrentNote
public org.pentaho.di.core.NotePadMeta getCurrentNote() -
editNote
public void editNote() -
deleteNote
public void deleteNote() -
raiseNote
public void raiseNote() -
lowerNote
public void lowerNote() -
flipHop
public void flipHop() -
disableHop
public void disableHop() -
deleteHop
public void deleteHop() -
setHopUnconditional
public void setHopUnconditional() -
setHopEvaluationTrue
public void setHopEvaluationTrue() -
setHopEvaluationFalse
public void setHopEvaluationFalse() -
setCurrentHop
protected void setCurrentHop(org.pentaho.di.job.JobHopMeta hop) -
getCurrentHop
protected org.pentaho.di.job.JobHopMeta getCurrentHop() -
enableHopsBetweenSelectedEntries
public void enableHopsBetweenSelectedEntries() -
disableHopsBetweenSelectedEntries
public void disableHopsBetweenSelectedEntries() -
enableHopsBetweenSelectedEntries
public void enableHopsBetweenSelectedEntries(boolean enabled) This method enables or disables all the hops between the selected Entries. -
enableHopsDownstream
public void enableHopsDownstream() -
disableHopsDownstream
public void disableHopsDownstream() -
enableDisableHopsDownstream
public void enableDisableHopsDownstream(boolean enabled) -
setToolTip
protected void setToolTip(int x, int y, int screenX, int screenY) -
launchStuff
public void launchStuff(org.pentaho.di.job.entry.JobEntryCopy jobEntryCopy) -
launchStuff
public void launchStuff() -
loadReferencedObject
protected void loadReferencedObject(org.pentaho.di.job.entry.JobEntryCopy jobEntryCopy, int index) -
openTransformation
protected void openTransformation(org.pentaho.di.job.entries.trans.JobEntryTrans entry, org.pentaho.di.job.entry.JobEntryCopy jobEntryCopy) -
openJob
public void openJob(org.pentaho.di.job.entries.job.JobEntryJob entry, org.pentaho.di.job.entry.JobEntryCopy jobEntryCopy) -
setJob
public void setJob(org.pentaho.di.job.Job job) -
copyInternalJobVariables
public static void copyInternalJobVariables(org.pentaho.di.job.JobMeta sourceJobMeta, org.pentaho.di.trans.TransMeta targetTransMeta) -
paintControl
public void paintControl(org.eclipse.swt.events.PaintEvent e) -
getJobImage
public org.eclipse.swt.graphics.Image getJobImage(org.eclipse.swt.graphics.Device device, int x, int y, float magnificationFactor) -
getOffset
protected org.pentaho.di.core.gui.Point getOffset()- Specified by:
getOffset
in classAbstractGraph
-
newHop
protected void newHop() -
editEntry
protected void editEntry(org.pentaho.di.job.entry.JobEntryCopy je) -
editNote
protected void editNote(org.pentaho.di.core.NotePadMeta ni) -
drawArrow
protected void drawArrow(org.eclipse.swt.graphics.GC gc, int[] line) -
pointOnLine
protected boolean pointOnLine(int x, int y, int[] line) -
pointOnThinLine
protected boolean pointOnThinLine(int x, int y, int[] line) -
createSnapAllignDistribute
protected org.pentaho.di.core.gui.SnapAllignDistribute createSnapAllignDistribute() -
snaptogrid
public void snaptogrid() -
snaptogrid
protected void snaptogrid(int size) -
allignleft
public void allignleft() -
allignright
public void allignright() -
alligntop
public void alligntop() -
allignbottom
public void allignbottom() -
distributehorizontal
public void distributehorizontal() -
distributevertical
public void distributevertical() -
drawRect
protected void drawRect(org.eclipse.swt.graphics.GC gc, org.eclipse.swt.graphics.Rectangle rect) -
detach
protected void detach(org.pentaho.di.job.entry.JobEntryCopy je) -
newProps
public void newProps() -
toString
- Overrides:
toString
in classorg.eclipse.swt.widgets.Widget
-
getMeta
public org.pentaho.di.core.EngineMetaInterface getMeta()- Specified by:
getMeta
in interfaceTabItemInterface
-
setJobMeta
public void setJobMeta(org.pentaho.di.job.JobMeta jobMeta) - Parameters:
jobMeta
- the jobMeta to set
-
applyChanges
public boolean applyChanges() throws org.pentaho.di.core.exception.KettleException- Specified by:
applyChanges
in interfaceTabItemInterface
- Throws:
org.pentaho.di.core.exception.KettleException
-
canBeClosed
public boolean canBeClosed()Description copied from interface:TabItemInterface
Closes the content behind the tab, de-allocates resources.- Specified by:
canBeClosed
in interfaceTabItemInterface
- Returns:
- true if the tab was closed, false if it was prevented by the user. (are you sure dialog)
-
getManagedObject
public org.pentaho.di.job.JobMeta getManagedObject()- Specified by:
getManagedObject
in interfaceTabItemInterface
-
hasContentChanged
public boolean hasContentChanged()- Specified by:
hasContentChanged
in interfaceTabItemInterface
-
showChangedWarning
-
editProperties
public static boolean editProperties(org.pentaho.di.job.JobMeta jobMeta, Spoon spoon, org.pentaho.di.repository.Repository rep, boolean allowDirectoryChange) -
getLastMove
public org.pentaho.di.core.gui.Point getLastMove()- Returns:
- the lastMove
-
setLastMove
public void setLastMove(org.pentaho.di.core.gui.Point lastMove) - Parameters:
lastMove
- the lastMove to set
-
addExtraView
public void addExtraView()Add an extra view to the main composite SashForm -
checkEmptyExtraView
public void checkEmptyExtraView()If the extra tab view at the bottom is empty, we close it. -
isExecutionResultsPaneVisible
public boolean isExecutionResultsPaneVisible() -
showExecutionResults
public void showExecutionResults() -
addAllTabs
public void addAllTabs() -
openFile
public void openFile() -
saveFile
public void saveFile() throws org.pentaho.di.core.exception.KettleException- Throws:
org.pentaho.di.core.exception.KettleException
-
saveFileAs
public void saveFileAs() throws org.pentaho.di.core.exception.KettleException- Throws:
org.pentaho.di.core.exception.KettleException
-
saveXMLFileToVfs
public void saveXMLFileToVfs() -
printFile
public void printFile() -
runJob
public void runJob() -
runOptionsJob
public void runOptionsJob() -
getSQL
public void getSQL() -
getToolbar
public org.pentaho.ui.xul.containers.XulToolbar getToolbar() -
exploreDatabase
public void exploreDatabase() -
browseVersionHistory
public void browseVersionHistory() -
startJob
public void startJob(org.pentaho.di.job.JobExecutionConfiguration executionConfiguration) throws org.pentaho.di.core.exception.KettleException - Throws:
org.pentaho.di.core.exception.KettleException
-
showSaveFileMessage
public void showSaveFileMessage() -
jobFinished
protected void jobFinished()This gets called at the very end, when everything is done. -
stopJob
public void stopJob() -
setControlStates
public void setControlStates()- Specified by:
setControlStates
in interfaceTabItemInterface
-
getRefreshListeners
- Returns:
- the refresh listeners
-
setRefreshListeners
- Parameters:
refreshListeners
- the refresh listeners to set
-
addRefreshListener
- Parameters:
refreshListener
- the job refresh listener to add
-
getName
- Specified by:
getName
in interfaceorg.pentaho.ui.xul.impl.XulEventHandler
-
getXulDomContainer
public org.pentaho.ui.xul.XulDomContainer getXulDomContainer()- Specified by:
getXulDomContainer
in interfaceorg.pentaho.ui.xul.impl.XulEventHandler
-
setName
- Specified by:
setName
in interfaceorg.pentaho.ui.xul.impl.XulEventHandler
-
setXulDomContainer
public void setXulDomContainer(org.pentaho.ui.xul.XulDomContainer xulDomContainer) - Specified by:
setXulDomContainer
in interfaceorg.pentaho.ui.xul.impl.XulEventHandler
-
canHandleSave
public boolean canHandleSave()- Specified by:
canHandleSave
in interfaceTabItemInterface
-
getLogChannelProvider
public org.pentaho.di.core.logging.HasLogChannelInterface getLogChannelProvider()- Specified by:
getLogChannelProvider
in interfaceorg.pentaho.di.core.logging.LogParentProvidedInterface
-
addUndoPosition
public void addUndoPosition(Object[] obj, int[] pos, org.pentaho.di.core.gui.Point[] prev, org.pentaho.di.core.gui.Point[] curr) -
addUndoPosition
public void addUndoPosition(Object[] obj, int[] pos, org.pentaho.di.core.gui.Point[] prev, org.pentaho.di.core.gui.Point[] curr, boolean nextAlso) -
showChangedWarning
public int showChangedWarning() throws org.pentaho.di.core.exception.KettleException- Specified by:
showChangedWarning
in interfaceTabItemInterface
- Overrides:
showChangedWarning
in classAbstractGraph
- Throws:
org.pentaho.di.core.exception.KettleException
-
replayJob
public void replayJob() -
handleJobMetaChanges
public void handleJobMetaChanges(org.pentaho.di.job.JobMeta jobMeta) throws org.pentaho.di.core.exception.KettleException - Throws:
org.pentaho.di.core.exception.KettleException
-
addJobEntryToChain
-
getSpoon
-
setSpoon
-
getJobMeta
public org.pentaho.di.job.JobMeta getJobMeta() -
getJob
public org.pentaho.di.job.Job getJob()
-