Community
Participate
Working Groups
delegate = config.getType().getPreferredDelegate(modes);
}
Set delegateSet = tabs[i].getDelegateSet();
if (delegate == null) {
ILaunchDelegate[] delegates = config.getType().getDelegates(modes);
if (delegates.length == 1) {
delegate = delegates[0];
if(delegate != null) {
if(delegateSet.isEmpty() || delegateSet.contains(delegate.getId())) {
set.add(tabs[i]);
else {
//otherwise filter based on the collection of delegates for the modes
for(int j = 0; j < delegates.length; j++) {
if(delegateSet.size() == 0 || delegateSet.contains(delegates[j].getId())) {
//associated with all modes and tab groups or only specific ones if indicated
return (LaunchConfigurationTabExtension[]) set.toArray(new LaunchConfigurationTabExtension[set.size()]);