mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Bug #189623: Adding more than one toolchain ...
This commit is contained in:
parent
6d29df9b7a
commit
7847ef0e81
1 changed files with 16 additions and 6 deletions
|
@ -12,15 +12,15 @@
|
||||||
|
|
||||||
package org.eclipse.cdt.managedbuilder.ui.wizards;
|
package org.eclipse.cdt.managedbuilder.ui.wizards;
|
||||||
|
|
||||||
|
import java.lang.reflect.InvocationTargetException;
|
||||||
|
import java.util.Iterator;
|
||||||
|
import java.util.Set;
|
||||||
|
import java.util.TreeSet;
|
||||||
|
|
||||||
import org.eclipse.core.runtime.IProgressMonitor;
|
import org.eclipse.core.runtime.IProgressMonitor;
|
||||||
import org.eclipse.jface.operation.IRunnableWithProgress;
|
import org.eclipse.jface.operation.IRunnableWithProgress;
|
||||||
import org.eclipse.jface.wizard.IWizardPage;
|
import org.eclipse.jface.wizard.IWizardPage;
|
||||||
|
|
||||||
import java.lang.reflect.InvocationTargetException;
|
|
||||||
import java.util.Set;
|
|
||||||
import java.util.TreeSet;
|
|
||||||
import java.util.Iterator;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This class is responsible for storing all of the data associated with a given custom wizard page.
|
* This class is responsible for storing all of the data associated with a given custom wizard page.
|
||||||
*/
|
*/
|
||||||
|
@ -44,7 +44,7 @@ public final class MBSCustomPageData
|
||||||
/**
|
/**
|
||||||
* Stores data on a particular toolchain that a custom wizard page supports.
|
* Stores data on a particular toolchain that a custom wizard page supports.
|
||||||
*/
|
*/
|
||||||
public class ToolchainData
|
public class ToolchainData implements Comparable
|
||||||
{
|
{
|
||||||
private String id = null;
|
private String id = null;
|
||||||
|
|
||||||
|
@ -86,6 +86,16 @@ public final class MBSCustomPageData
|
||||||
return versionsSupported;
|
return versionsSupported;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
public int compareTo(Object arg0) {
|
||||||
|
if (arg0 == null || !(arg0 instanceof ToolchainData))
|
||||||
|
return 0;
|
||||||
|
ToolchainData other = (ToolchainData)arg0;
|
||||||
|
return this.id.compareTo(other.id);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue