|
||||||||||
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.trans.TransGraph
public class TransGraph
This class handles the display of the transformations in a graphical way using icons, arrows, etc. One transformation is handled per TransGraph
Field Summary | |
---|---|
Composite |
extraViewComposite
|
CTabFolder |
extraViewTabFolder
|
static String |
PAUSE_TEXT
|
static String |
RESUME_TEXT
|
static String |
START_TEXT
|
static String |
STOP_TEXT
|
Trans |
trans
|
TransGridDelegate |
transGridDelegate
|
TransHistoryDelegate |
transHistoryDelegate
|
TransLogDelegate |
transLogDelegate
|
TransPerfDelegate |
transPerfDelegate
|
Constructor Summary | |
---|---|
TransGraph(Composite parent,
Spoon spoon,
TransMeta transMeta)
|
Method Summary | |
---|---|
void |
addAllTabs()
|
void |
addExtraView()
Add an extra view to the main composite SashForm |
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()
|
void |
analyseImpact()
|
boolean |
applyChanges()
|
void |
autoLayout()
Perform an automatic layout of a transformation based on "Force-based algorithms". |
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 |
checkErrors()
|
void |
checkSelectedSteps()
|
void |
checkTrans()
|
void |
clearSelection()
|
void |
clearSettings()
|
void |
clustering()
|
void |
copies()
|
void |
copyStep()
|
void |
debug(TransExecutionConfiguration executionConfiguration,
TransDebugMeta transDebugMeta)
|
void |
debugFile()
|
void |
deleteHop()
|
void |
deleteNote()
|
void |
delSelected()
|
void |
delSelected(StepMeta stMeta)
|
void |
detachStep()
|
void |
disableHopsBetweenSelectedSteps()
|
void |
disableHopsDownstream()
|
void |
distributehorizontal()
|
void |
distributevertical()
|
void |
dumpLoggingRegistry()
|
void |
dupeStep()
|
void |
editDescription()
|
void |
editDescription(StepMeta stepMeta)
|
void |
editHop()
|
void |
editNote()
|
static boolean |
editProperties(TransMeta transMeta,
Spoon spoon,
Repository rep,
boolean allowDirectoryChange)
|
static boolean |
editProperties(TransMeta transMeta,
Spoon spoon,
Repository rep,
boolean allowDirectoryChange,
TransDialog.Tabs currentTab)
|
void |
editStep()
|
void |
enableDisableHopsDownstream(boolean enabled)
|
void |
enableHop()
|
void |
enableHopsBetweenSelectedSteps()
|
void |
enableHopsBetweenSelectedSteps(boolean enabled)
This method enables or disables all the hops between the selected steps. |
void |
enableHopsDownstream()
|
void |
errorHandling()
|
void |
exploreDatabase()
|
void |
fieldsAfter()
|
void |
fieldsBefore()
|
void |
fieldsLineage()
|
void |
flipHopDirection()
|
void |
generateMappingToThisStep()
|
TransHopMeta |
getCurrentHop()
|
NotePadMeta |
getCurrentNote()
|
StepMeta |
getCurrentStep()
|
String[] |
getDropStrings(String str,
String sep)
|
List<DatabaseImpact> |
getImpact()
|
Point |
getLastMove()
|
TransDebugMeta |
getLastTransDebugMeta()
|
HasLogChannelInterface |
getLogChannelProvider()
|
TransMeta |
getManagedObject()
|
EngineMetaInterface |
getMeta()
|
String |
getName()
|
Point |
getRealPosition(Composite canvas,
int x,
int y)
|
List<CheckResultInterface> |
getRemarks()
|
void |
getSQL()
|
Map<StepMeta,String> |
getStepLogMap()
|
org.pentaho.ui.xul.containers.XulToolbar |
getToolbar()
|
Image |
getTransformationImage(Device device,
int x,
int y,
float magnificationFactor)
|
AreaOwner |
getVisibleAreaOwner(int x,
int y)
|
org.pentaho.ui.xul.XulDomContainer |
getXulDomContainer()
|
void |
handleTransMetaChanges(TransMeta transMeta)
|
boolean |
hasContentChanged()
|
void |
hideStep()
|
boolean |
isExecutionResultsPaneVisible()
|
boolean |
isHalting()
|
boolean |
isImpactFinished()
|
boolean |
isRunning()
|
void |
keyPressed(KeyEvent e)
|
void |
keyReleased(KeyEvent e)
|
void |
lowerNote()
|
void |
mouseDoubleClick(MouseEvent e)
|
void |
mouseDown(MouseEvent e)
|
void |
mouseEnter(MouseEvent arg0)
|
void |
mouseExit(MouseEvent arg0)
|
void |
mouseHover(MouseEvent e)
|
void |
mouseMove(MouseEvent e)
|
void |
mouseScrolled(MouseEvent e)
|
void |
mouseUp(MouseEvent e)
|
void |
newHopChoice()
|
void |
newNote()
|
void |
newProps()
|
void |
newStep(String description)
|
void |
openFile()
|
void |
openMapping()
Open the transformation mentioned in the mapping... |
void |
paintControl(PaintEvent e)
|
void |
partitioning()
|
void |
paste()
|
void |
pauseResume()
|
void |
pauseTransformation()
|
void |
preview()
|
void |
previewFile()
|
void |
printFile()
|
void |
raiseNote()
|
void |
renameStep(StepMeta stepMeta,
String stepname)
|
void |
runTransformation()
|
void |
saveFile()
|
void |
saveFileAs()
|
void |
saveXMLFileToVfs()
|
void |
selectAll()
|
void |
selectInRect(TransMeta transMeta,
Rectangle rect)
Select all the steps in a certain (screen) rectangle |
void |
setControlStates()
|
void |
setCopies()
|
void |
setCurrentHop(TransHopMeta currentHop)
|
void |
setCurrentNote(NotePadMeta ni)
|
void |
setCurrentStep(StepMeta currentStep)
|
void |
setDistributes()
|
boolean |
setFocus()
|
void |
setHalting(boolean halting)
|
void |
setImpact(List<DatabaseImpact> impact)
|
void |
setImpactFinished(boolean impactHasRun)
|
void |
setName(String arg0)
|
void |
setRemarks(List<CheckResultInterface> remarks)
|
void |
setRunning(boolean running)
|
void |
setStepLogMap(Map<StepMeta,String> stepLogMap)
|
void |
settings()
|
void |
setToolbar(org.pentaho.ui.xul.containers.XulToolbar toolbar)
|
void |
setTrans(Trans trans)
|
void |
setTransMeta(TransMeta transMeta)
|
void |
setXulDomContainer(org.pentaho.ui.xul.XulDomContainer xulDomContainer)
|
int |
showChangedWarning()
|
void |
showExecutionResults()
|
void |
showLastPreviewResults()
|
void |
showPreview(TransDebugMeta transDebugMeta,
StepDebugMeta stepDebugMeta,
RowMetaInterface rowBufferMeta,
List<Object[]> rowBuffer)
|
void |
snaptogrid()
|
void |
sniff(boolean input,
boolean output,
boolean error)
|
void |
sniffError()
|
void |
sniffInput()
|
void |
sniffOutput()
|
void |
start(TransExecutionConfiguration executionConfiguration)
|
void |
stop()
|
void |
stopTransformation()
|
void |
transReplay()
|
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, toString, 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 PAUSE_TEXT
public static final String RESUME_TEXT
public static final String STOP_TEXT
public Trans trans
public Composite extraViewComposite
public CTabFolder extraViewTabFolder
public TransLogDelegate transLogDelegate
public TransGridDelegate transGridDelegate
public TransHistoryDelegate transHistoryDelegate
public TransPerfDelegate transPerfDelegate
Constructor Detail |
---|
public TransGraph(Composite parent, Spoon spoon, TransMeta transMeta)
Method Detail |
---|
public void setCurrentNote(NotePadMeta ni)
public NotePadMeta getCurrentNote()
public TransHopMeta getCurrentHop()
public void setCurrentHop(TransHopMeta currentHop)
public StepMeta getCurrentStep()
public void setCurrentStep(StepMeta currentStep)
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 mouseScrolled(MouseEvent e)
public void mouseEnter(MouseEvent arg0)
public void mouseExit(MouseEvent arg0)
public void selectInRect(TransMeta transMeta, Rectangle rect)
rect
- The selection area as a rectanglepublic void keyPressed(KeyEvent e)
public void keyReleased(KeyEvent e)
public boolean setFocus()
setFocus
in interface TabItemInterface
public void renameStep(StepMeta stepMeta, String stepname)
public void clearSettings()
public String[] getDropStrings(String str, String sep)
public Point getRealPosition(Composite canvas, int x, int y)
public void hideStep()
public void checkSelectedSteps()
public void detachStep()
public void generateMappingToThisStep()
public void partitioning()
public void clustering()
public void errorHandling()
public void newHopChoice()
public void editStep()
public void editDescription()
public void setDistributes()
public void setCopies()
public void copies()
public void dupeStep()
public void copyStep()
public void delSelected()
public void fieldsBefore()
public void fieldsAfter()
public void fieldsLineage()
public void editHop()
public void flipHopDirection()
public void enableHop()
public void deleteHop()
public void enableHopsBetweenSelectedSteps()
public void disableHopsBetweenSelectedSteps()
public void enableHopsBetweenSelectedSteps(boolean enabled)
public void enableHopsDownstream()
public void disableHopsDownstream()
public void enableDisableHopsDownstream(boolean enabled)
public void editNote()
public void deleteNote()
public void raiseNote()
public void lowerNote()
public void newNote()
public void paste()
public void settings()
public void newStep(String description)
public void selectAll()
public void clearSelection()
public AreaOwner getVisibleAreaOwner(int x, int y)
public void delSelected(StepMeta stMeta)
public void editDescription(StepMeta stepMeta)
public void paintControl(PaintEvent e)
public Image getTransformationImage(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 preview()
public void newProps()
public EngineMetaInterface getMeta()
getMeta
in interface TabItemInterface
public void setTransMeta(TransMeta transMeta)
transMeta
- the transMeta to setpublic void addUndoPosition(Object[] obj, int[] pos, Point[] prev, Point[] curr)
public void addUndoPosition(Object[] obj, int[] pos, Point[] prev, Point[] curr, boolean nextAlso)
public boolean applyChanges() throws KettleException
applyChanges
in interface TabItemInterface
KettleException
public boolean canBeClosed()
TabItemInterface
canBeClosed
in interface TabItemInterface
public TransMeta getManagedObject()
getManagedObject
in interface TabItemInterface
public boolean hasContentChanged()
hasContentChanged
in interface TabItemInterface
public List<CheckResultInterface> getRemarks()
public void setRemarks(List<CheckResultInterface> remarks)
public List<DatabaseImpact> getImpact()
public void setImpact(List<DatabaseImpact> impact)
public boolean isImpactFinished()
public void setImpactFinished(boolean impactHasRun)
public Point getLastMove()
public static boolean editProperties(TransMeta transMeta, Spoon spoon, Repository rep, boolean allowDirectoryChange)
public static boolean editProperties(TransMeta transMeta, Spoon spoon, Repository rep, boolean allowDirectoryChange, TransDialog.Tabs currentTab)
public void openFile()
public void saveFile() throws KettleException
KettleException
public void saveFileAs() throws KettleException
KettleException
public void saveXMLFileToVfs()
public void printFile()
public void runTransformation()
public void pauseTransformation()
public void stopTransformation()
public void previewFile()
public void debugFile()
public void transReplay()
public void checkTrans()
public void analyseImpact()
public void getSQL()
public void exploreDatabase()
public boolean isExecutionResultsPaneVisible()
public void showExecutionResults()
public void browseVersionHistory()
public void checkEmptyExtraView()
public org.pentaho.ui.xul.containers.XulToolbar getToolbar()
public void setToolbar(org.pentaho.ui.xul.containers.XulToolbar toolbar)
toolbar
- the toolbar to setpublic void addExtraView()
public void checkErrors()
public void start(TransExecutionConfiguration executionConfiguration) throws KettleException
KettleException
public void addAllTabs()
public void debug(TransExecutionConfiguration executionConfiguration, TransDebugMeta transDebugMeta)
public void showPreview(TransDebugMeta transDebugMeta, StepDebugMeta stepDebugMeta, RowMetaInterface rowBufferMeta, List<Object[]> rowBuffer)
public void stop()
public void pauseResume()
public void setControlStates()
setControlStates
in interface TabItemInterface
public void showLastPreviewResults()
public void openMapping()
public boolean isRunning()
public void setRunning(boolean running)
running
- the running to setpublic TransDebugMeta getLastTransDebugMeta()
public boolean isHalting()
public void setHalting(boolean halting)
halting
- the halting to setpublic Map<StepMeta,String> getStepLogMap()
public void setStepLogMap(Map<StepMeta,String> stepLogMap)
stepLogMap
- the stepLogMap to setpublic void dumpLoggingRegistry()
public HasLogChannelInterface getLogChannelProvider()
getLogChannelProvider
in interface LogParentProvidedInterface
public void setTrans(Trans trans)
public void sniffInput()
public void sniffOutput()
public void sniffError()
public void sniff(boolean input, boolean output, boolean error)
public 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 arg0)
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 int showChangedWarning() throws KettleException
showChangedWarning
in interface TabItemInterface
showChangedWarning
in class AbstractGraph
KettleException
public void autoLayout()
public void handleTransMetaChanges(TransMeta transMeta) throws KettleException
KettleException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |