@SuppressWarnings( "unchecked" ) @Test public void testInitializeXulMenu() throws KettleException { StepMeta stepMeta = mock( StepMeta.class ); TransGraph transGraph = mock( TransGraph.class ); TransMeta transMeta = mock( TransMeta.class ); Document document = mock( Document.class ); XulMenuitem xulItem = mock( XulMenuitem.class ); XulMenu xulMenu = mock( XulMenu.class ); StepErrorMeta stepErrorMeta = mock( StepErrorMeta.class ); Spoon spoon = mock( Spoon.class ); List<StepMeta> selection = Arrays.asList( new StepMeta(), stepMeta, new StepMeta() ); doCallRealMethod().when( transGraph ).setTransMeta( any( TransMeta.class ) ); doCallRealMethod().when( transGraph ).setSpoon( any( Spoon.class ) ); transGraph.setTransMeta( transMeta ); transGraph.setSpoon( spoon ); when( stepMeta.getStepErrorMeta() ).thenReturn( stepErrorMeta ); when( stepMeta.isDrawn() ).thenReturn( true ); when( document.getElementById( any( String.class ) ) ).thenReturn( xulItem ); when( document.getElementById( TransGraph.TRANS_GRAPH_ENTRY_AGAIN ) ).thenReturn( xulMenu ); when( document.getElementById( TransGraph.TRANS_GRAPH_ENTRY_SNIFF ) ).thenReturn( xulMenu ); doCallRealMethod().when( transGraph ).initializeXulMenu( any( Document.class ), any( List.class ), any( StepMeta.class ) ); transGraph.initializeXulMenu( document, selection, stepMeta ); verify( transMeta ).isAnySelectedStepUsedInTransHops(); }
protected void initializeXulMenu( Document doc, List<StepMeta> selection, StepMeta stepMeta ) throws KettleException { XulMenuitem item = (XulMenuitem) doc.getElementById( "trans-graph-entry-newhop" ); int sels = selection.size(); item.setDisabled( sels != 2 ); item = (XulMenuitem) doc.getElementById( "trans-graph-entry-align-snap" ); item.setAcceltext( "ALT-HOME" ); item.setLabel( BaseMessages.getString( PKG, "TransGraph.PopupMenu.SnapToGrid" ) ); item.setAccesskey( "alt-home" ); item = (XulMenuitem) doc.getElementById( "trans-graph-entry-open-mapping" ); XulMenu men = (XulMenu) doc.getElementById( TRANS_GRAPH_ENTRY_SNIFF ); men.setDisabled( trans == null || trans.isRunning() == false ); item = (XulMenuitem) doc.getElementById( "trans-graph-entry-sniff-input" ); item.setDisabled( trans == null || trans.isRunning() == false ); item = (XulMenuitem) doc.getElementById( "trans-graph-entry-sniff-output" ); item.setDisabled( trans == null || trans.isRunning() == false ); item = (XulMenuitem) doc.getElementById( "trans-graph-entry-sniff-error" ); item.setDisabled( !( stepMeta.supportsErrorHandling() && stepMeta.getStepErrorMeta() != null && stepMeta.getStepErrorMeta().getTargetStep() != null && trans != null && trans.isRunning() ) ); XulMenu aMenu = (XulMenu) doc.getElementById( TRANS_GRAPH_ENTRY_AGAIN ); if ( aMenu != null ) { aMenu.setDisabled( sels < 2 ); } item = (XulMenuitem) doc.getElementById( "trans-graph-entry-partitioning" ); item.setDisabled( spoon.getPartitionSchemasNames( transMeta ).isEmpty() ); item = (XulMenuitem) doc.getElementById( "trans-graph-entry-data-movement-copy" ); item.setSelected( !stepMeta.isDistributes() ); item = (XulMenuitem) doc.getElementById( "trans-graph-entry-hide" ); item.setDisabled( !( stepMeta.isDrawn() && !transMeta.isAnySelectedStepUsedInTransHops() ) ); item = (XulMenuitem) doc.getElementById( "trans-graph-entry-detach" ); item.setDisabled( !transMeta.isStepUsedInTransHops( stepMeta ) ); item = (XulMenuitem) doc.getElementById( "trans-graph-entry-errors" ); item.setDisabled( !stepMeta.supportsErrorHandling() ); }
TransGraph extends AbstractGraph implements XulEventHandler, Redrawable, TabItemInterface,
  LogParentProvidedInterface, MouseListener, MouseMoveListener, MouseTrackListener, MouseWheelListener, KeyListener { protected void initializeXulMenu( Document doc, List<StepMeta> selection, StepMeta stepMeta ) throws KettleException { XulMenuitem item = (XulMenuitem) doc.getElementById( "trans-graph-entry-newhop" ); int sels = selection.size(); item.setDisabled( sels != 2 ); item = (XulMenuitem) doc.getElementById( "trans-graph-entry-align-snap" ); item.setAcceltext( "ALT-HOME" ); item.setLabel( BaseMessages.getString( PKG, "TransGraph.PopupMenu.SnapToGrid" ) ); item.setAccesskey( "alt-home" ); item = (XulMenuitem) doc.getElementById( "trans-graph-entry-open-mapping" ); XulMenu men = (XulMenu) doc.getElementById( TRANS_GRAPH_ENTRY_SNIFF ); men.setDisabled( trans == null || trans.isRunning() == false ); item = (XulMenuitem) doc.getElementById( "trans-graph-entry-sniff-input" ); item.setDisabled( trans == null || trans.isRunning() == false ); item = (XulMenuitem) doc.getElementById( "trans-graph-entry-sniff-output" ); item.setDisabled( trans == null || trans.isRunning() == false ); item = (XulMenuitem) doc.getElementById( "trans-graph-entry-sniff-error" ); item.setDisabled( !( stepMeta.supportsErrorHandling() && stepMeta.getStepErrorMeta() != null && stepMeta.getStepErrorMeta().getTargetStep() != null && trans != null && trans.isRunning() ) ); XulMenu aMenu = (XulMenu) doc.getElementById( TRANS_GRAPH_ENTRY_AGAIN ); if ( aMenu != null ) { aMenu.setDisabled( sels < 2 ); } item = (XulMenuitem) doc.getElementById( "trans-graph-entry-partitioning" ); item.setDisabled( spoon.getPartitionSchemasNames( transMeta ).isEmpty() ); item = (XulMenuitem) doc.getElementById( "trans-graph-entry-data-movement-copy" ); item.setSelected( !stepMeta.isDistributes() ); item = (XulMenuitem) doc.getElementById( "trans-graph-entry-hide" ); item.setDisabled( !( stepMeta.isDrawn() && !transMeta.isAnySelectedStepUsedInTransHops() ) ); item = (XulMenuitem) doc.getElementById( "trans-graph-entry-detach" ); item.setDisabled( !transMeta.isStepUsedInTransHops( stepMeta ) ); item = (XulMenuitem) doc.getElementById( "trans-graph-entry-errors" ); item.setDisabled( !stepMeta.supportsErrorHandling() ); } }
TransGraph extends AbstractGraph implements XulEventHandler, Redrawable, TabItemInterface,
  LogParentProvidedInterface, MouseListener, MouseMoveListener, MouseTrackListener, MouseWheelListener, KeyListener { protected void initializeXulMenu( Document doc, List<StepMeta> selection, StepMeta stepMeta ) throws KettleException { XulMenuitem item = (XulMenuitem) doc.getElementById( "trans-graph-entry-newhop" ); int sels = selection.size(); item.setDisabled( sels != 2 ); item = (XulMenuitem) doc.getElementById( "trans-graph-entry-align-snap" ); item.setAcceltext( "ALT-HOME" ); item.setLabel( BaseMessages.getString( PKG, "TransGraph.PopupMenu.SnapToGrid" ) ); item.setAccesskey( "alt-home" ); item = (XulMenuitem) doc.getElementById( "trans-graph-entry-open-mapping" ); XulMenu men = (XulMenu) doc.getElementById( TRANS_GRAPH_ENTRY_SNIFF ); men.setDisabled( trans == null || trans.isRunning() == false ); item = (XulMenuitem) doc.getElementById( "trans-graph-entry-sniff-input" ); item.setDisabled( trans == null || trans.isRunning() == false ); item = (XulMenuitem) doc.getElementById( "trans-graph-entry-sniff-output" ); item.setDisabled( trans == null || trans.isRunning() == false ); item = (XulMenuitem) doc.getElementById( "trans-graph-entry-sniff-error" ); item.setDisabled( !( stepMeta.supportsErrorHandling() && stepMeta.getStepErrorMeta() != null && stepMeta.getStepErrorMeta().getTargetStep() != null && trans != null && trans.isRunning() ) ); XulMenu aMenu = (XulMenu) doc.getElementById( TRANS_GRAPH_ENTRY_AGAIN ); if ( aMenu != null ) { aMenu.setDisabled( sels < 2 ); } item = (XulMenuitem) doc.getElementById( "trans-graph-entry-partitioning" ); item.setDisabled( spoon.getPartitionSchemasNames( transMeta ).isEmpty() ); item = (XulMenuitem) doc.getElementById( "trans-graph-entry-data-movement-copy" ); item.setSelected( !stepMeta.isDistributes() ); item = (XulMenuitem) doc.getElementById( "trans-graph-entry-hide" ); item.setDisabled( !( stepMeta.isDrawn() && !transMeta.isAnySelectedStepUsedInTransHops() ) ); item = (XulMenuitem) doc.getElementById( "trans-graph-entry-detach" ); item.setDisabled( !transMeta.isStepUsedInTransHops( stepMeta ) ); item = (XulMenuitem) doc.getElementById( "trans-graph-entry-errors" ); item.setDisabled( !stepMeta.supportsErrorHandling() ); } TransGraph( Composite parent, final Spoon spoon, final TransMeta transMeta ); }
TransGraph extends AbstractGraph implements XulEventHandler, Redrawable, TabItemInterface,
  LogParentProvidedInterface, MouseListener, MouseMoveListener, MouseTrackListener, MouseWheelListener, KeyListener { protected void initializeXulMenu( Document doc, List<StepMeta> selection, StepMeta stepMeta ) throws KettleException { XulMenuitem item = (XulMenuitem) doc.getElementById( "trans-graph-entry-newhop" ); int sels = selection.size(); item.setDisabled( sels != 2 ); item = (XulMenuitem) doc.getElementById( "trans-graph-entry-align-snap" ); item.setAcceltext( "ALT-HOME" ); item.setLabel( BaseMessages.getString( PKG, "TransGraph.PopupMenu.SnapToGrid" ) ); item.setAccesskey( "alt-home" ); item = (XulMenuitem) doc.getElementById( "trans-graph-entry-open-mapping" ); XulMenu men = (XulMenu) doc.getElementById( TRANS_GRAPH_ENTRY_SNIFF ); men.setDisabled( trans == null || trans.isRunning() == false ); item = (XulMenuitem) doc.getElementById( "trans-graph-entry-sniff-input" ); item.setDisabled( trans == null || trans.isRunning() == false ); item = (XulMenuitem) doc.getElementById( "trans-graph-entry-sniff-output" ); item.setDisabled( trans == null || trans.isRunning() == false ); item = (XulMenuitem) doc.getElementById( "trans-graph-entry-sniff-error" ); item.setDisabled( !( stepMeta.supportsErrorHandling() && stepMeta.getStepErrorMeta() != null && stepMeta.getStepErrorMeta().getTargetStep() != null && trans != null && trans.isRunning() ) ); XulMenu aMenu = (XulMenu) doc.getElementById( TRANS_GRAPH_ENTRY_AGAIN ); if ( aMenu != null ) { aMenu.setDisabled( sels < 2 ); } item = (XulMenuitem) doc.getElementById( "trans-graph-entry-partitioning" ); item.setDisabled( spoon.getPartitionSchemasNames( transMeta ).isEmpty() ); item = (XulMenuitem) doc.getElementById( "trans-graph-entry-data-movement-copy" ); item.setSelected( !stepMeta.isDistributes() ); item = (XulMenuitem) doc.getElementById( "trans-graph-entry-hide" ); item.setDisabled( !( stepMeta.isDrawn() && !transMeta.isAnySelectedStepUsedInTransHops() ) ); item = (XulMenuitem) doc.getElementById( "trans-graph-entry-detach" ); item.setDisabled( !transMeta.isStepUsedInTransHops( stepMeta ) ); item = (XulMenuitem) doc.getElementById( "trans-graph-entry-errors" ); item.setDisabled( !stepMeta.supportsErrorHandling() ); } TransGraph( Composite parent, final Spoon spoon, final TransMeta transMeta ); void setCurrentNote( NotePadMeta ni ); NotePadMeta getCurrentNote(); TransHopMeta getCurrentHop(); void setCurrentHop( TransHopMeta currentHop ); StepMeta getCurrentStep(); void setCurrentStep( StepMeta currentStep ); void addSelectedStepListener( SelectedStepListener selectedStepListener ); void addCurrentStepListener( StepSelectionListener stepSelectionListener ); @Override void mouseDoubleClick( MouseEvent e ); @Override void mouseDown( MouseEvent e ); @Override void mouseUp( MouseEvent e ); @Override void mouseMove( MouseEvent e ); @Override void mouseHover( MouseEvent e ); @Override void mouseScrolled( MouseEvent e ); @Override void mouseEnter( MouseEvent arg0 ); @Override void mouseExit( MouseEvent arg0 ); void selectInRect( TransMeta transMeta, org.pentaho.di.core.gui.Rectangle rect ); @Override void keyPressed( KeyEvent e ); @Override void keyReleased( KeyEvent e ); @Override boolean setFocus(); void renameStep( StepMeta stepMeta, String stepname ); void clearSettings(); String[] getDropStrings( String str, String sep ); Point getRealPosition( Composite canvas, int x, int y ); void hideStep(); void checkSelectedSteps(); void detachStep(); void generateMappingToThisStep(); void partitioning(); void clustering(); void errorHandling(); void newHopChoice(); void editStep(); void editDescription(); void setDistributes(); void setCustomRowDistribution(); RowDistributionInterface askUserForCustomDistributionMethod(); void setCopies(); void copies(); void copies( StepMeta stepMeta ); void dupeStep(); void copyStep(); void delSelected(); void fieldsBefore(); void fieldsAfter(); void fieldsLineage(); void editHop(); void flipHopDirection(); void enableHop(); void deleteHop(); void enableHopsBetweenSelectedSteps(); void disableHopsBetweenSelectedSteps(); void enableHopsBetweenSelectedSteps( boolean enabled ); void enableHopsDownstream(); void disableHopsDownstream(); void enableDisableHopsDownstream( boolean enabled ); void editNote(); void deleteNote(); void raiseNote(); void lowerNote(); void newNote(); void paste(); void settings(); void newStep( String description ); void selectAll(); void clearSelection(); void showTooltip( String label, Image image, int screenX, int screenY ); AreaOwner getVisibleAreaOwner( int x, int y ); void delSelected( StepMeta stMeta ); void editDescription( StepMeta stepMeta ); void paintControl( PaintEvent e ); Image getTransformationImage( Device device, int x, int y, float magnificationFactor ); void snaptogrid(); void allignleft(); void allignright(); void alligntop(); void allignbottom(); void distributehorizontal(); void distributevertical(); void preview(); void newProps(); @Override EngineMetaInterface getMeta(); void setTransMeta( TransMeta transMeta ); void addUndoPosition( Object[] obj, int[] pos, Point[] prev, Point[] curr ); void addUndoPosition( Object[] obj, int[] pos, Point[] prev, Point[] curr, boolean nextAlso ); @Override boolean applyChanges(); @Override boolean canBeClosed(); @Override TransMeta getManagedObject(); @Override boolean hasContentChanged(); List<CheckResultInterface> getRemarks(); void setRemarks( List<CheckResultInterface> remarks ); List<DatabaseImpact> getImpact(); void setImpact( List<DatabaseImpact> impact ); boolean isImpactFinished(); void setImpactFinished( boolean impactHasRun ); Point getLastMove(); 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 openFile(); void saveFile(); void saveFileAs(); void saveXMLFileToVfs(); void printFile(); void runTransformation(); void runOptionsTransformation(); void pauseTransformation(); void stopTransformation(); void previewFile(); void debugFile(); void transReplay(); void checkTrans(); void analyseImpact(); void getSQL(); void exploreDatabase(); boolean isExecutionResultsPaneVisible(); void showExecutionResults(); void browseVersionHistory(); void checkEmptyExtraView(); XulToolbar getToolbar(); void setToolbar( XulToolbar toolbar ); void addExtraView(); @Deprecated void checkErrors(); synchronized void start( TransExecutionConfiguration executionConfiguration ); void addAllTabs(); synchronized void debug( TransExecutionConfiguration executionConfiguration, TransDebugMeta transDebugMeta ); synchronized void showPreview( final TransDebugMeta transDebugMeta, final StepDebugMeta stepDebugMeta,
                                        final RowMetaInterface rowBufferMeta, final List<Object[]> rowBuffer ); void stop(); synchronized void pauseResume(); @Override synchronized void setControlStates(); synchronized void showLastPreviewResults(); void openMapping(); void openMapping( StepMeta stepMeta, int index ); boolean isRunning(); void setRunning( boolean running ); TransDebugMeta getLastTransDebugMeta(); boolean isHalting(); void setHalting( boolean halting ); Map<StepMeta, String> getStepLogMap(); void setStepLogMap( Map<StepMeta, String> stepLogMap ); void dumpLoggingRegistry(); @Override HasLogChannelInterface getLogChannelProvider(); synchronized void setTrans( Trans trans ); void sniffInput(); void sniffOutput(); void sniffError(); void sniff( final boolean input, final boolean output, final boolean error ); @Override String getName(); @Override XulDomContainer getXulDomContainer(); @Override void setName( String arg0 ); @Override void setXulDomContainer( XulDomContainer xulDomContainer ); @Override boolean canHandleSave(); @Override int showChangedWarning(); void autoLayout(); void handleTransMetaChanges( TransMeta transMeta ); void addStepToChain( PluginInterface stepPlugin, boolean shift ); Spoon getSpoon(); void setSpoon( Spoon spoon ); TransMeta getTransMeta(); Trans getTrans(); }
TransGraph extends AbstractGraph implements XulEventHandler, Redrawable, TabItemInterface,
  LogParentProvidedInterface, MouseListener, MouseMoveListener, MouseTrackListener, MouseWheelListener, KeyListener { protected void initializeXulMenu( Document doc, List<StepMeta> selection, StepMeta stepMeta ) throws KettleException { XulMenuitem item = (XulMenuitem) doc.getElementById( "trans-graph-entry-newhop" ); int sels = selection.size(); item.setDisabled( sels != 2 ); item = (XulMenuitem) doc.getElementById( "trans-graph-entry-align-snap" ); item.setAcceltext( "ALT-HOME" ); item.setLabel( BaseMessages.getString( PKG, "TransGraph.PopupMenu.SnapToGrid" ) ); item.setAccesskey( "alt-home" ); item = (XulMenuitem) doc.getElementById( "trans-graph-entry-open-mapping" ); XulMenu men = (XulMenu) doc.getElementById( TRANS_GRAPH_ENTRY_SNIFF ); men.setDisabled( trans == null || trans.isRunning() == false ); item = (XulMenuitem) doc.getElementById( "trans-graph-entry-sniff-input" ); item.setDisabled( trans == null || trans.isRunning() == false ); item = (XulMenuitem) doc.getElementById( "trans-graph-entry-sniff-output" ); item.setDisabled( trans == null || trans.isRunning() == false ); item = (XulMenuitem) doc.getElementById( "trans-graph-entry-sniff-error" ); item.setDisabled( !( stepMeta.supportsErrorHandling() && stepMeta.getStepErrorMeta() != null && stepMeta.getStepErrorMeta().getTargetStep() != null && trans != null && trans.isRunning() ) ); XulMenu aMenu = (XulMenu) doc.getElementById( TRANS_GRAPH_ENTRY_AGAIN ); if ( aMenu != null ) { aMenu.setDisabled( sels < 2 ); } item = (XulMenuitem) doc.getElementById( "trans-graph-entry-partitioning" ); item.setDisabled( spoon.getPartitionSchemasNames( transMeta ).isEmpty() ); item = (XulMenuitem) doc.getElementById( "trans-graph-entry-data-movement-copy" ); item.setSelected( !stepMeta.isDistributes() ); item = (XulMenuitem) doc.getElementById( "trans-graph-entry-hide" ); item.setDisabled( !( stepMeta.isDrawn() && !transMeta.isAnySelectedStepUsedInTransHops() ) ); item = (XulMenuitem) doc.getElementById( "trans-graph-entry-detach" ); item.setDisabled( !transMeta.isStepUsedInTransHops( stepMeta ) ); item = (XulMenuitem) doc.getElementById( "trans-graph-entry-errors" ); item.setDisabled( !stepMeta.supportsErrorHandling() ); } TransGraph( Composite parent, final Spoon spoon, final TransMeta transMeta ); void setCurrentNote( NotePadMeta ni ); NotePadMeta getCurrentNote(); TransHopMeta getCurrentHop(); void setCurrentHop( TransHopMeta currentHop ); StepMeta getCurrentStep(); void setCurrentStep( StepMeta currentStep ); void addSelectedStepListener( SelectedStepListener selectedStepListener ); void addCurrentStepListener( StepSelectionListener stepSelectionListener ); @Override void mouseDoubleClick( MouseEvent e ); @Override void mouseDown( MouseEvent e ); @Override void mouseUp( MouseEvent e ); @Override void mouseMove( MouseEvent e ); @Override void mouseHover( MouseEvent e ); @Override void mouseScrolled( MouseEvent e ); @Override void mouseEnter( MouseEvent arg0 ); @Override void mouseExit( MouseEvent arg0 ); void selectInRect( TransMeta transMeta, org.pentaho.di.core.gui.Rectangle rect ); @Override void keyPressed( KeyEvent e ); @Override void keyReleased( KeyEvent e ); @Override boolean setFocus(); void renameStep( StepMeta stepMeta, String stepname ); void clearSettings(); String[] getDropStrings( String str, String sep ); Point getRealPosition( Composite canvas, int x, int y ); void hideStep(); void checkSelectedSteps(); void detachStep(); void generateMappingToThisStep(); void partitioning(); void clustering(); void errorHandling(); void newHopChoice(); void editStep(); void editDescription(); void setDistributes(); void setCustomRowDistribution(); RowDistributionInterface askUserForCustomDistributionMethod(); void setCopies(); void copies(); void copies( StepMeta stepMeta ); void dupeStep(); void copyStep(); void delSelected(); void fieldsBefore(); void fieldsAfter(); void fieldsLineage(); void editHop(); void flipHopDirection(); void enableHop(); void deleteHop(); void enableHopsBetweenSelectedSteps(); void disableHopsBetweenSelectedSteps(); void enableHopsBetweenSelectedSteps( boolean enabled ); void enableHopsDownstream(); void disableHopsDownstream(); void enableDisableHopsDownstream( boolean enabled ); void editNote(); void deleteNote(); void raiseNote(); void lowerNote(); void newNote(); void paste(); void settings(); void newStep( String description ); void selectAll(); void clearSelection(); void showTooltip( String label, Image image, int screenX, int screenY ); AreaOwner getVisibleAreaOwner( int x, int y ); void delSelected( StepMeta stMeta ); void editDescription( StepMeta stepMeta ); void paintControl( PaintEvent e ); Image getTransformationImage( Device device, int x, int y, float magnificationFactor ); void snaptogrid(); void allignleft(); void allignright(); void alligntop(); void allignbottom(); void distributehorizontal(); void distributevertical(); void preview(); void newProps(); @Override EngineMetaInterface getMeta(); void setTransMeta( TransMeta transMeta ); void addUndoPosition( Object[] obj, int[] pos, Point[] prev, Point[] curr ); void addUndoPosition( Object[] obj, int[] pos, Point[] prev, Point[] curr, boolean nextAlso ); @Override boolean applyChanges(); @Override boolean canBeClosed(); @Override TransMeta getManagedObject(); @Override boolean hasContentChanged(); List<CheckResultInterface> getRemarks(); void setRemarks( List<CheckResultInterface> remarks ); List<DatabaseImpact> getImpact(); void setImpact( List<DatabaseImpact> impact ); boolean isImpactFinished(); void setImpactFinished( boolean impactHasRun ); Point getLastMove(); 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 openFile(); void saveFile(); void saveFileAs(); void saveXMLFileToVfs(); void printFile(); void runTransformation(); void runOptionsTransformation(); void pauseTransformation(); void stopTransformation(); void previewFile(); void debugFile(); void transReplay(); void checkTrans(); void analyseImpact(); void getSQL(); void exploreDatabase(); boolean isExecutionResultsPaneVisible(); void showExecutionResults(); void browseVersionHistory(); void checkEmptyExtraView(); XulToolbar getToolbar(); void setToolbar( XulToolbar toolbar ); void addExtraView(); @Deprecated void checkErrors(); synchronized void start( TransExecutionConfiguration executionConfiguration ); void addAllTabs(); synchronized void debug( TransExecutionConfiguration executionConfiguration, TransDebugMeta transDebugMeta ); synchronized void showPreview( final TransDebugMeta transDebugMeta, final StepDebugMeta stepDebugMeta,
                                        final RowMetaInterface rowBufferMeta, final List<Object[]> rowBuffer ); void stop(); synchronized void pauseResume(); @Override synchronized void setControlStates(); synchronized void showLastPreviewResults(); void openMapping(); void openMapping( StepMeta stepMeta, int index ); boolean isRunning(); void setRunning( boolean running ); TransDebugMeta getLastTransDebugMeta(); boolean isHalting(); void setHalting( boolean halting ); Map<StepMeta, String> getStepLogMap(); void setStepLogMap( Map<StepMeta, String> stepLogMap ); void dumpLoggingRegistry(); @Override HasLogChannelInterface getLogChannelProvider(); synchronized void setTrans( Trans trans ); void sniffInput(); void sniffOutput(); void sniffError(); void sniff( final boolean input, final boolean output, final boolean error ); @Override String getName(); @Override XulDomContainer getXulDomContainer(); @Override void setName( String arg0 ); @Override void setXulDomContainer( XulDomContainer xulDomContainer ); @Override boolean canHandleSave(); @Override int showChangedWarning(); void autoLayout(); void handleTransMetaChanges( TransMeta transMeta ); void addStepToChain( PluginInterface stepPlugin, boolean shift ); Spoon getSpoon(); void setSpoon( Spoon spoon ); TransMeta getTransMeta(); Trans getTrans(); static final String LOAD_TAB; static final String PREVIEW_TRANS; static final String START_TEXT; static final String PAUSE_TEXT; static final String RESUME_TEXT; static final String STOP_TEXT; static final String TRANS_GRAPH_ENTRY_SNIFF; static final String TRANS_GRAPH_ENTRY_AGAIN; public Trans trans; public Composite extraViewComposite; public CTabFolder extraViewTabFolder; public TransLogDelegate transLogDelegate; public TransGridDelegate transGridDelegate; public TransHistoryDelegate transHistoryDelegate; public TransPerfDelegate transPerfDelegate; public TransMetricsDelegate transMetricsDelegate; public TransPreviewDelegate transPreviewDelegate; public List<SelectedStepListener> stepListeners; public List<StepSelectionListener> currentStepListeners; }