Skip to content

Commit 2251bf0

Browse files
committed
add MultiFolderInfo to additional tools (although it does nothing)
1 parent 699b18f commit 2251bf0

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

ilg.gnuarmeclipse.managedbuild.cross/src/ilg/gnuarmeclipse/managedbuild/cross/AdditionalToolsManagedOptionValueHandler.java

+11-3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
import org.eclipse.cdt.managedbuilder.core.IOption;
1717
import org.eclipse.cdt.managedbuilder.core.ManagedOptionValueHandler;
1818
import org.eclipse.cdt.managedbuilder.internal.core.FolderInfo;
19+
import org.eclipse.cdt.managedbuilder.internal.core.MultiFolderInfo;
1920
import org.eclipse.cdt.managedbuilder.internal.core.ResourceConfiguration;
2021

2122
public class AdditionalToolsManagedOptionValueHandler extends
@@ -42,15 +43,22 @@ public boolean handleValue(IBuildObject configuration,
4243
oFolderInfo = (FolderInfo) configuration;
4344
// oFolderInfo.setDirty(true); //does not update interface :-(
4445
// TODO: find the proper sequence to update the interface
45-
System.out.println("should update configuration window!");
46+
// System.out.println("should update FolderInfo");
4647
// PlatformUI.getWorkbench().getModalDialogShellProvider().getShell().redraw();
4748

4849
return false; // should we return true?
4950

5051
} else if (configuration instanceof ResourceConfiguration) {
5152
// TODO: find the proper sequence to update the interface
52-
System.out
53-
.println("should update resource configuration window!");
53+
// System.out
54+
// .println("should update ResourceConfiguration");
55+
56+
return false; // should we return true?
57+
58+
} else if (configuration instanceof MultiFolderInfo) {
59+
// TODO: find the proper sequence to update the interface
60+
// System.out
61+
// .println("should update MultiFolderInfo");
5462

5563
return false; // should we return true?
5664

0 commit comments

Comments
 (0)