TransMeta transMeta = stepMeta.getParentStepMeta().getParentTransMeta(); ComboVar fieldDropDownCombo = new ComboVar( transMeta, parentComposite, SWT.SINGLE | SWT.LEFT | SWT.BORDER ); props.setLook( fieldDropDownCombo ); RowMetaInterface rmi = transMeta.getPrevStepFields( stepMeta.getParentStepMeta().getName() ); List ls = rmi.getValueMetaList(); for ( Object l : ls ) {
public static String getTableNameFromVariable( BaseStepMeta stepMeta, String mappedTableName ) { TransMeta parentTransMeta = stepMeta.getParentStepMeta().getParentTransMeta(); return parentTransMeta.environmentSubstitute( mappedTableName ); } }
protected void addIcon( Control bottom ) { Label wicon = new Label( shell, SWT.RIGHT ); String stepId = meta.getParentStepMeta().getStepID(); wicon.setImage( GUIResource.getInstance().getImagesSteps().get( stepId ).getAsBitmapForSize( shell.getDisplay(), ConstUI.LARGE_ICON_SIZE, ConstUI.LARGE_ICON_SIZE ) ); FormData fdlicon = new FormData(); fdlicon.top = new FormAttachment( 0, 0 ); fdlicon.right = new FormAttachment( 100, 0 ); wicon.setLayoutData( fdlicon ); props.setLook( wicon ); }
protected void addIcon( Control bottom ) { Label wicon = new Label( shell, SWT.RIGHT ); String stepId = meta.getParentStepMeta().getStepID(); wicon.setImage( GUIResource.getInstance().getImagesSteps().get( stepId ).getAsBitmapForSize( shell.getDisplay(), ConstUI.LARGE_ICON_SIZE, ConstUI.LARGE_ICON_SIZE ) ); FormData fdlicon = new FormData(); fdlicon.top = new FormAttachment( 0, 0 ); fdlicon.right = new FormAttachment( 100, 0 ); wicon.setLayoutData( fdlicon ); props.setLook( wicon ); }
protected void addIcon( Control bottom ) { Label wicon = new Label( shell, SWT.RIGHT ); String stepId = getStepMeta().getParentStepMeta().getStepID(); wicon.setImage( GUIResource.getInstance().getImagesSteps().get( stepId ).getAsBitmapForSize( shell.getDisplay(), ConstUI.LARGE_ICON_SIZE, ConstUI.LARGE_ICON_SIZE ) ); FormData fdlicon = new FormData(); fdlicon.top = new FormAttachment( 0, 0 ); fdlicon.right = new FormAttachment( 100, 0 ); wicon.setLayoutData( fdlicon ); props.setLook( wicon ); }