|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object Composite org.pentaho.di.ui.spoon.AbstractGraph org.pentaho.di.ui.spoon.job.JobGraph
public class JobGraph
Handles the display of Jobs in Spoon, in a graphical form.
Field Summary | |
---|---|
Composite |
extraViewComposite
|
CTabFolder |
extraViewTabFolder
|
Job |
job
|
JobGridDelegate |
jobGridDelegate
|
JobHistoryDelegate |
jobHistoryDelegate
|
JobLogDelegate |
jobLogDelegate
|
static String |
START_TEXT
|
static String |
STOP_TEXT
|
Constructor Summary | |
---|---|
JobGraph(Composite par,
Spoon spoon,
JobMeta jobMeta)
|
Method Summary | |
---|---|
void |
addAllTabs()
|
void |
addExtraView()
Add an extra view to the main composite SashForm |
void |
addRefreshListener(RefreshListener refreshListener)
|
void |
addUndoPosition(Object[] obj,
int[] pos,
Point[] prev,
Point[] curr)
|
void |
addUndoPosition(Object[] obj,
int[] pos,
Point[] prev,
Point[] curr,
boolean nextAlso)
|
void |
allignbottom()
|
void |
allignleft()
|
void |
allignright()
|
void |
alligntop()
|
boolean |
applyChanges()
|
void |
browseVersionHistory()
|
boolean |
canBeClosed()
Closes the content behind the tab, de-allocates resources. |
boolean |
canHandleSave()
|
void |
checkEmptyExtraView()
If the extra tab view at the bottom is empty, we close it. |
void |
clearSelection()
|
void |
clearSettings()
|
void |
copyEntry()
|
static void |
copyInternalJobVariables(JobMeta sourceJobMeta,
TransMeta targetTransMeta)
|
void |
deleteEntry()
|
void |
deleteHop()
|
void |
deleteNote()
|
void |
delSelected()
|
void |
detachEntry()
|
void |
disableHop()
|
void |
disableHopsBetweenSelectedEntries()
|
void |
disableHopsDownstream()
|
void |
distributehorizontal()
|
void |
distributevertical()
|
void |
duplicateEntry()
|
void |
editEntryClick()
|
void |
editEntryDescription()
|
void |
editEntryParallel()
Go from serial to parallel to serial execution |
void |
editJobProperties()
|
void |
editNote()
|
static boolean |
editProperties(JobMeta jobMeta,
Spoon spoon,
Repository rep,
boolean allowDirectoryChange)
|
void |
enableDisableHopsDownstream(boolean enabled)
|
void |
enableHopsBetweenSelectedEntries()
|
void |
enableHopsBetweenSelectedEntries(boolean enabled)
This method enables or disables all the hops between the selected Entries. |
void |
enableHopsDownstream()
|
void |
exploreDatabase()
|
void |
flipHop()
|
NotePadMeta |
getCurrentNote()
|
JobEntryCopy |
getJobEntry()
|
Image |
getJobImage(Device device,
int x,
int y,
float magnificationFactor)
|
Point |
getLastMove()
|
HasLogChannelInterface |
getLogChannelProvider()
|
JobMeta |
getManagedObject()
|
EngineMetaInterface |
getMeta()
|
String |
getName()
|
Point |
getRealPosition(Composite canvas,
int x,
int y)
|
List<RefreshListener> |
getRefreshListeners()
|
void |
getSQL()
|
AreaOwner |
getVisibleAreaOwner(int x,
int y)
|
org.pentaho.ui.xul.XulDomContainer |
getXulDomContainer()
|
boolean |
hasContentChanged()
|
void |
hideEntry()
|
boolean |
isExecutionResultsPaneVisible()
|
void |
keyPressed(KeyEvent e)
|
void |
keyReleased(KeyEvent e)
|
void |
launchStuff()
|
void |
launchStuff(JobEntryCopy jobEntryCopy)
|
void |
lowerNote()
|
void |
mouseDoubleClick(MouseEvent e)
|
void |
mouseDown(MouseEvent e)
|
void |
mouseEnter(MouseEvent event)
|
void |
mouseExit(MouseEvent event)
|
void |
mouseHover(MouseEvent e)
|
void |
mouseMove(MouseEvent e)
|
void |
mouseScrolled(MouseEvent e)
|
void |
mouseUp(MouseEvent e)
|
void |
newHopClick()
|
void |
newNote()
|
void |
newProps()
|
void |
openFile()
|
void |
openJob()
|
void |
openJob(JobEntryJob entry,
JobEntryCopy jobEntryCopy)
|
void |
openTransformation()
|
void |
paintControl(PaintEvent e)
|
void |
pasteNote()
|
void |
printFile()
|
void |
raiseNote()
|
void |
renameJobEntry(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 |
replayJob()
|
void |
runJob()
|
void |
saveFile()
|
void |
saveFileAs()
|
void |
saveXMLFileToVfs()
|
void |
selectAll()
|
void |
selectInRect(JobMeta jobMeta,
Rectangle rect)
|
void |
setControlStates()
|
void |
setCurrentNote(NotePadMeta ni)
|
boolean |
setFocus()
|
void |
setHopEvaluationFalse()
|
void |
setHopEvaluationTrue()
|
void |
setHopUnconditional()
|
void |
setJobEntry(JobEntryCopy jobEntry)
|
void |
setJobMeta(JobMeta jobMeta)
|
void |
setLastMove(Point lastMove)
|
void |
setName(String name)
|
void |
setRefreshListeners(List<RefreshListener> refreshListeners)
|
void |
setXulDomContainer(org.pentaho.ui.xul.XulDomContainer xulDomContainer)
|
int |
showChangedWarning()
|
static int |
showChangedWarning(Shell shell,
String name)
|
void |
showExecutionResults()
|
static void |
showOnlyStartOnceMessage(Shell shell)
|
void |
snaptogrid()
|
void |
startJob(JobExecutionConfiguration executionConfiguration)
|
void |
stopJob()
|
String |
toString()
|
Methods inherited from class org.pentaho.di.ui.spoon.AbstractGraph |
---|
dispose, forceFocus, getChangedWarning, real2screen, redraw, screen2real, showChangedWarning, sign, zoom100Percent, zoomIn, zoomOut |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.pentaho.ui.xul.impl.XulEventHandler |
---|
getData, setData |
Methods inherited from interface org.pentaho.di.core.gui.Redrawable |
---|
redraw |
Methods inherited from interface org.pentaho.di.ui.spoon.TabItemInterface |
---|
getChangedWarning |
Field Detail |
---|
public static final String START_TEXT
public static final String STOP_TEXT
public Job job
public Composite extraViewComposite
public CTabFolder extraViewTabFolder
public JobLogDelegate jobLogDelegate
public JobHistoryDelegate jobHistoryDelegate
public JobGridDelegate jobGridDelegate
Constructor Detail |
---|
public JobGraph(Composite par, Spoon spoon, JobMeta jobMeta)
Method Detail |
---|
public void mouseDoubleClick(MouseEvent e)
public void mouseDown(MouseEvent e)
public void mouseUp(MouseEvent e)
public void mouseMove(MouseEvent e)
public void mouseHover(MouseEvent e)
public void mouseEnter(MouseEvent event)
public void mouseExit(MouseEvent event)
public void mouseScrolled(MouseEvent e)
public AreaOwner getVisibleAreaOwner(int x, int y)
public void keyPressed(KeyEvent e)
public void keyReleased(KeyEvent e)
public void selectInRect(JobMeta jobMeta, Rectangle rect)
public boolean setFocus()
setFocus
in interface TabItemInterface
public void renameJobEntry(JobEntryCopy jobEntry, String newName)
jobEntry
- newName
- public static void showOnlyStartOnceMessage(Shell shell)
public void delSelected()
public void clearSettings()
public Point getRealPosition(Composite canvas, int x, int y)
public void setJobEntry(JobEntryCopy jobEntry)
public JobEntryCopy getJobEntry()
public void openTransformation()
public void openJob()
public void newHopClick()
public void editEntryClick()
public void editEntryDescription()
public void editEntryParallel()
public void duplicateEntry() throws KettleException
KettleException
public void copyEntry()
public void detachEntry()
public void hideEntry()
public void deleteEntry()
public void selectAll()
public void clearSelection()
public void editJobProperties()
public void pasteNote()
public void newNote()
public void setCurrentNote(NotePadMeta ni)
public NotePadMeta getCurrentNote()
public void editNote()
public void deleteNote()
public void raiseNote()
public void lowerNote()
public void flipHop()
public void disableHop()
public void deleteHop()
public void setHopUnconditional()
public void setHopEvaluationTrue()
public void setHopEvaluationFalse()
public void enableHopsBetweenSelectedEntries()
public void disableHopsBetweenSelectedEntries()
public void enableHopsBetweenSelectedEntries(boolean enabled)
public void enableHopsDownstream()
public void disableHopsDownstream()
public void enableDisableHopsDownstream(boolean enabled)
public void launchStuff(JobEntryCopy jobEntryCopy)
public void launchStuff()
public void openJob(JobEntryJob entry, JobEntryCopy jobEntryCopy)
public static void copyInternalJobVariables(JobMeta sourceJobMeta, TransMeta targetTransMeta)
public void paintControl(PaintEvent e)
public Image getJobImage(Device device, int x, int y, float magnificationFactor)
public void snaptogrid()
public void allignleft()
public void allignright()
public void alligntop()
public void allignbottom()
public void distributehorizontal()
public void distributevertical()
public void newProps()
public String toString()
public EngineMetaInterface getMeta()
getMeta
in interface TabItemInterface
public void setJobMeta(JobMeta jobMeta)
jobMeta
- the jobMeta to setpublic boolean applyChanges() throws KettleException
applyChanges
in interface TabItemInterface
KettleException
public boolean canBeClosed()
TabItemInterface
canBeClosed
in interface TabItemInterface
public JobMeta getManagedObject()
getManagedObject
in interface TabItemInterface
public boolean hasContentChanged()
hasContentChanged
in interface TabItemInterface
public static int showChangedWarning(Shell shell, String name)
public static boolean editProperties(JobMeta jobMeta, Spoon spoon, Repository rep, boolean allowDirectoryChange)
public Point getLastMove()
public void setLastMove(Point lastMove)
lastMove
- the lastMove to setpublic void addExtraView()
public void checkEmptyExtraView()
public boolean isExecutionResultsPaneVisible()
public void showExecutionResults()
public void addAllTabs()
public void openFile()
public void saveFile() throws KettleException
KettleException
public void saveFileAs() throws KettleException
KettleException
public void saveXMLFileToVfs()
public void printFile()
public void runJob()
public void getSQL()
public void exploreDatabase()
public void browseVersionHistory()
public void startJob(JobExecutionConfiguration executionConfiguration) throws KettleException
KettleException
public void stopJob()
public void setControlStates()
setControlStates
in interface TabItemInterface
public List<RefreshListener> getRefreshListeners()
public void setRefreshListeners(List<RefreshListener> refreshListeners)
refreshListeners
- the refresh listeners to setpublic void addRefreshListener(RefreshListener refreshListener)
refreshListener
- the job refresh listener to addpublic String getName()
getName
in interface org.pentaho.ui.xul.impl.XulEventHandler
public org.pentaho.ui.xul.XulDomContainer getXulDomContainer()
getXulDomContainer
in interface org.pentaho.ui.xul.impl.XulEventHandler
public void setName(String name)
setName
in interface org.pentaho.ui.xul.impl.XulEventHandler
public void setXulDomContainer(org.pentaho.ui.xul.XulDomContainer xulDomContainer)
setXulDomContainer
in interface org.pentaho.ui.xul.impl.XulEventHandler
public boolean canHandleSave()
canHandleSave
in interface TabItemInterface
public HasLogChannelInterface getLogChannelProvider()
getLogChannelProvider
in interface LogParentProvidedInterface
public void addUndoPosition(Object[] obj, int[] pos, Point[] prev, Point[] curr)
public void addUndoPosition(Object[] obj, int[] pos, Point[] prev, Point[] curr, boolean nextAlso)
public int showChangedWarning() throws KettleException
showChangedWarning
in interface TabItemInterface
showChangedWarning
in class AbstractGraph
KettleException
public void replayJob()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |