/* (non-Javadoc) * @see org.eclipse.debug.ui.ILaunchConfigurationTab#createControl(Composite) */ public void createControl(Composite parent) { Composite comp = new Composite(parent, SWT.NONE); setControl(comp); GridLayout gridLayout = new GridLayout(); comp.setLayout(gridLayout); programArgumentsBlock.createControl(comp); vmArgumentsBlock.createControl(comp); workingDirectoryBlock.createControl(comp); }
/* (non-Javadoc) * @see org.eclipse.debug.ui.ILaunchConfigurationTab#isValid(org.eclipse.debug.core.ILaunchConfiguration) */ public boolean isValid(ILaunchConfiguration launchConfig) { setErrorMessage(null); setMessage(null); if (!programArgumentsBlock.isValid(launchConfig)) { return false; } if (!vmArgumentsBlock.isValid(launchConfig)) { return false; } if (!workingDirectoryBlock.isValid(launchConfig)) { return false; } return true; }
/* * (non-Javadoc) * @see org.eclipse.debug.ui.AbstractLaunchConfigurationTab#getMessage() */ @Override public String getMessage() { String result = super.getMessage(); if (result == null) { result = programArgumentsBlock.getMessage(); } if (result == null) { result = workingDirectoryBlock.getMessage(); } if (result == null) { result = vmArgumentsBlock.getMessage(); } return result; }
/* (non-Javadoc) * @see org.eclipse.debug.ui.ILaunchConfigurationTab#setLaunchConfigurationDialog(ILaunchConfigurationDialog) */ public void setLaunchConfigurationDialog(ILaunchConfigurationDialog dialog) { super.setLaunchConfigurationDialog(dialog); programArgumentsBlock.setLaunchConfigurationDialog(dialog); workingDirectoryBlock.setLaunchConfigurationDialog(dialog); vmArgumentsBlock.setLaunchConfigurationDialog(dialog); }
/* (non-Javadoc) * @see org.eclipse.debug.ui.ILaunchConfigurationTab#performApply(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy) */ public void performApply(ILaunchConfigurationWorkingCopy configuration) { programArgumentsBlock.performApply(configuration); vmArgumentsBlock.performApply(configuration); workingDirectoryBlock.performApply(configuration); }
/* (non-Javadoc) * @see org.eclipse.debug.ui.ILaunchConfigurationTab#initializeFrom(org.eclipse.debug.core.ILaunchConfiguration) */ public void initializeFrom(ILaunchConfiguration configuration) { programArgumentsBlock.initializeFrom(configuration); vmArgumentsBlock.initializeFrom(configuration); workingDirectoryBlock.initializeFrom(configuration); }