Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Inglis2005-06-14 14:44:11 +0000
committerDavid Inglis2005-06-14 14:44:11 +0000
commitf2febe8b525852b49ef367d0e891a3d85db69f1f (patch)
treea0645b6311973fd6aff608be41747b106510c642 /build/org.eclipse.cdt.make.ui
parent2dc9421f24688bffca6cbd9a323f49ae19df632c (diff)
downloadorg.eclipse.cdt-f2febe8b525852b49ef367d0e891a3d85db69f1f.tar.gz
org.eclipse.cdt-f2febe8b525852b49ef367d0e891a3d85db69f1f.tar.xz
org.eclipse.cdt-f2febe8b525852b49ef367d0e891a3d85db69f1f.zip
added build target job to manual build family
Diffstat (limited to 'build/org.eclipse.cdt.make.ui')
-rw-r--r--build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/TargetBuild.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/TargetBuild.java b/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/TargetBuild.java
index 0717911f3fd..be2be3523af 100644
--- a/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/TargetBuild.java
+++ b/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/TargetBuild.java
@@ -19,6 +19,7 @@ import org.eclipse.cdt.make.internal.ui.MakeUIPlugin;
import org.eclipse.cdt.make.internal.ui.preferences.MakePreferencePage;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IWorkspaceRunnable;
+import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.IStatus;
@@ -104,6 +105,10 @@ public class TargetBuild {
}
return Status.OK_STATUS;
}
+
+ public boolean belongsTo(Object family) {
+ return ResourcesPlugin.FAMILY_MANUAL_BUILD == family;
+ }
};
targetJob.schedule();

Back to the top