Class AbstractDataBindingLaunchConfigurationTab

java.lang.Object
org.eclipse.debug.ui.AbstractLaunchConfigurationTab
org.palladiosimulator.commons.ui.launch.AbstractDataBindingLaunchConfigurationTab
All Implemented Interfaces:
IPrototypeAttributesLabelProvider, ILaunchConfigurationTab, ILaunchConfigurationTab2

public abstract class AbstractDataBindingLaunchConfigurationTab extends AbstractLaunchConfigurationTab
This abstract super class integrates the observable launch configuration adapter with the launch configuration tab hierarchy. It simplifies creating launch configuration dialogs, as it relieves you from implementing the same validation logic multiple times. Instead of implementing ILaunchConfigurationTab.initializeFrom(ILaunchConfiguration), ILaunchConfigurationTab.performApply(ILaunchConfigurationWorkingCopy) and ILaunchConfigurationTab.setDefaults(ILaunchConfigurationWorkingCopy), registry the required bindings, already providing sensible defaults through #registerDataBindings(ObservableLaunchConfigurationAttributeFactory). Please note, that due to the way, the launch configurations work, the data bindings need to be registered before the controls are created. To bind your UI elements to launch configuration properties, please store the observable value references as class attributes.