Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorAndrew Gvozdev2010-02-07 22:46:25 -0500
committerAndrew Gvozdev2010-02-07 22:46:25 -0500
commit857113dfb809c15f625f7ed2de24624fd4d3c6a3 (patch)
treee8e4b2886ffedb856fbb8ceb575a7418a6052f2a /build
parent20cf87bb197a180ff78656fb893df0b2970fbca4 (diff)
downloadorg.eclipse.cdt-857113dfb809c15f625f7ed2de24624fd4d3c6a3.tar.gz
org.eclipse.cdt-857113dfb809c15f625f7ed2de24624fd4d3c6a3.tar.xz
org.eclipse.cdt-857113dfb809c15f625f7ed2de24624fd4d3c6a3.zip
bug 301373: [API] add @noextend and @noimplement tags - org.eclipse.cdt.make.ui
Enabled API tooling
Diffstat (limited to 'build')
-rw-r--r--build/org.eclipse.cdt.make.ui/.project6
-rw-r--r--build/org.eclipse.cdt.make.ui/.settings/org.eclipse.pde.api.tools.prefs7
-rw-r--r--build/org.eclipse.cdt.make.ui/META-INF/MANIFEST.MF2
-rw-r--r--build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/TargetListViewerPart.java6
-rw-r--r--build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/actions/AbstractTargetAction.java6
-rw-r--r--build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/actions/BuildLastTargetAction.java2
-rw-r--r--build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/actions/BuildLastTargetHandler.java2
-rw-r--r--build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/dialogs/AbstractDiscoveryPage.java1
-rw-r--r--build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/dialogs/BuildTargetDialog.java8
-rw-r--r--build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/dialogs/GCCPerProjectSCDProfilePage.java6
-rw-r--r--build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/views/RebuildLastTargetAction.java2
11 files changed, 45 insertions, 3 deletions
diff --git a/build/org.eclipse.cdt.make.ui/.project b/build/org.eclipse.cdt.make.ui/.project
index 577e3294f59..95c4b08dd9a 100644
--- a/build/org.eclipse.cdt.make.ui/.project
+++ b/build/org.eclipse.cdt.make.ui/.project
@@ -20,9 +20,15 @@
<arguments>
</arguments>
</buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.api.tools.apiAnalysisBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.pde.api.tools.apiAnalysisNature</nature>
</natures>
</projectDescription>
diff --git a/build/org.eclipse.cdt.make.ui/.settings/org.eclipse.pde.api.tools.prefs b/build/org.eclipse.cdt.make.ui/.settings/org.eclipse.pde.api.tools.prefs
index a73a3ba0a4c..d4aaabcbcc5 100644
--- a/build/org.eclipse.cdt.make.ui/.settings/org.eclipse.pde.api.tools.prefs
+++ b/build/org.eclipse.cdt.make.ui/.settings/org.eclipse.pde.api.tools.prefs
@@ -1,4 +1,4 @@
-#Mon Jul 06 14:55:59 CEST 2009
+#Sun Feb 07 20:48:15 EST 2010
ANNOTATION_ELEMENT_TYPE_ADDED_CLASS_BOUND=Error
ANNOTATION_ELEMENT_TYPE_ADDED_FIELD=Error
ANNOTATION_ELEMENT_TYPE_ADDED_INTERFACE_BOUND=Error
@@ -26,6 +26,8 @@ ANNOTATION_ELEMENT_TYPE_REMOVED_TYPE_MEMBER=Error
ANNOTATION_ELEMENT_TYPE_REMOVED_TYPE_PARAMETER=Error
ANNOTATION_ELEMENT_TYPE_REMOVED_TYPE_PARAMETERS=Error
API_COMPONENT_ELEMENT_TYPE_REMOVED_API_TYPE=Error
+API_COMPONENT_ELEMENT_TYPE_REMOVED_REEXPORTED_API_TYPE=Error
+API_COMPONENT_ELEMENT_TYPE_REMOVED_REEXPORTED_TYPE=Error
API_COMPONENT_ELEMENT_TYPE_REMOVED_TYPE=Error
CLASS_ELEMENT_TYPE_ADDED_CLASS_BOUND=Error
CLASS_ELEMENT_TYPE_ADDED_INTERFACE_BOUND=Error
@@ -127,7 +129,7 @@ INTERFACE_ELEMENT_TYPE_REMOVED_INTERFACE_BOUNDS=Error
INTERFACE_ELEMENT_TYPE_REMOVED_METHOD=Error
INTERFACE_ELEMENT_TYPE_REMOVED_TYPE_MEMBER=Error
INTERFACE_ELEMENT_TYPE_REMOVED_TYPE_PARAMETER=Error
-INVALID_JAVADOC_TAG=Ignore
+INVALID_JAVADOC_TAG=Error
INVALID_REFERENCE_IN_SYSTEM_LIBRARIES=Error
LEAK_EXTEND=Warning
LEAK_FIELD_DECL=Warning
@@ -161,6 +163,7 @@ TYPE_PARAMETER_ELEMENT_TYPE_CHANGED_INTERFACE_BOUND=Error
TYPE_PARAMETER_ELEMENT_TYPE_REMOVED_CLASS_BOUND=Error
TYPE_PARAMETER_ELEMENT_TYPE_REMOVED_INTERFACE_BOUND=Error
UNUSED_PROBLEM_FILTERS=Warning
+automatically_removed_unused_problem_filters=false
eclipse.preferences.version=1
incompatible_api_component_version=Error
incompatible_api_component_version_include_major_without_breaking_change=Disabled
diff --git a/build/org.eclipse.cdt.make.ui/META-INF/MANIFEST.MF b/build/org.eclipse.cdt.make.ui/META-INF/MANIFEST.MF
index d1ee04fdc5d..26e37aa2d01 100644
--- a/build/org.eclipse.cdt.make.ui/META-INF/MANIFEST.MF
+++ b/build/org.eclipse.cdt.make.ui/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: org.eclipse.cdt.make.ui; singleton:=true
-Bundle-Version: 6.1.0.qualifier
+Bundle-Version: 7.0.0.qualifier
Bundle-Activator: org.eclipse.cdt.make.internal.ui.MakeUIPlugin
Bundle-Vendor: %providerName
Bundle-Localization: plugin
diff --git a/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/TargetListViewerPart.java b/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/TargetListViewerPart.java
index 872ad62f8ac..73aa441f73a 100644
--- a/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/TargetListViewerPart.java
+++ b/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/TargetListViewerPart.java
@@ -47,6 +47,8 @@ public class TargetListViewerPart extends StructuredViewerPart {
/**
* @param container
* @param recursive {@code true} if to search recursively for target
+ *
+ * @since 7.0
*/
public TargetListViewerPart(IContainer container, boolean recursive) {
super(new String[] {
@@ -57,6 +59,10 @@ public class TargetListViewerPart extends StructuredViewerPart {
this.recursive = recursive;
}
+ public TargetListViewerPart(IContainer container) {
+ this(container, true);
+ }
+
@Override
protected StructuredViewer createStructuredViewer(Composite parent,
int style) {
diff --git a/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/actions/AbstractTargetAction.java b/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/actions/AbstractTargetAction.java
index 97c3be4cee8..c06dcb47ce9 100644
--- a/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/actions/AbstractTargetAction.java
+++ b/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/actions/AbstractTargetAction.java
@@ -39,6 +39,9 @@ public abstract class AbstractTargetAction
private IWorkbenchPart fPart;
private IWorkbenchWindow fWindow;
private boolean isEnabled;
+ /**
+ * @since 7.0
+ */
protected IContainer fContainer;
protected Shell getShell() {
@@ -105,6 +108,9 @@ public abstract class AbstractTargetAction
action.setEnabled(isEnabled);
}
+ /**
+ * @since 7.0
+ */
public boolean isEnabled() {
return isEnabled;
}
diff --git a/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/actions/BuildLastTargetAction.java b/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/actions/BuildLastTargetAction.java
index 8843ca3519e..1ad892a74da 100644
--- a/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/actions/BuildLastTargetAction.java
+++ b/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/actions/BuildLastTargetAction.java
@@ -28,6 +28,8 @@ import org.eclipse.jface.window.Window;
* Rebuild last target of selected resource or project.
* Search is done non-recursively.
* If no valid last target is found, show the build target dialog.
+ *
+ * @since 7.0
*/
public class BuildLastTargetAction extends AbstractTargetAction {
diff --git a/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/actions/BuildLastTargetHandler.java b/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/actions/BuildLastTargetHandler.java
index 0a556d4ab9d..c9668f7f073 100644
--- a/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/actions/BuildLastTargetHandler.java
+++ b/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/actions/BuildLastTargetHandler.java
@@ -19,6 +19,8 @@ import org.eclipse.ui.handlers.HandlerUtil;
/**
* Handler for {@link org.eclipse.cdt.make.ui.actions.BuildLastTargetAction}
+ *
+ * @since 7.0
*/
public class BuildLastTargetHandler extends AbstractHandler {
diff --git a/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/dialogs/AbstractDiscoveryPage.java b/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/dialogs/AbstractDiscoveryPage.java
index 4b2d07ff157..c8f7fc8f787 100644
--- a/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/dialogs/AbstractDiscoveryPage.java
+++ b/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/dialogs/AbstractDiscoveryPage.java
@@ -46,6 +46,7 @@ public abstract class AbstractDiscoveryPage extends DialogPage {
protected static final String SI_ENABLE = MakeUIPlugin.getResourceString("ScannerConfigOptionsDialog.siProvider.parser.enabled.button"); //$NON-NLS-1$
protected static final String SI_COMMAND = MakeUIPlugin.getResourceString("ScannerConfigOptionsDialog.siProvider.command.label"); //$NON-NLS-1$
+ /** @since 7.0 */
protected static final String SI_ARGS = MakeUIPlugin.getResourceString("ScannerConfigOptionsDialog.siProvider.args.label"); //$NON-NLS-1$
protected static final String SI_BROWSE = MakeUIPlugin.getResourceString("ScannerConfigOptionsDialog.siProvider.browse.button"); //$NON-NLS-1$
protected static final String SI_DIALOG = MakeUIPlugin.getResourceString("ScannerConfigOptionsDialog.siProvider.browse.runCommandDialog"); //$NON-NLS-1$
diff --git a/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/dialogs/BuildTargetDialog.java b/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/dialogs/BuildTargetDialog.java
index 8045d53413f..1ba351717f7 100644
--- a/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/dialogs/BuildTargetDialog.java
+++ b/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/dialogs/BuildTargetDialog.java
@@ -34,12 +34,20 @@ public class BuildTargetDialog extends Dialog {
private final TargetListViewerPart targetPart;
private final IContainer fContainer;
+ /**
+ * @since 7.0
+ */
public BuildTargetDialog(Shell parent, IContainer container, boolean recursive) {
super(parent);
setShellStyle(getShellStyle() | SWT.RESIZE);
fContainer = container;
targetPart = new TargetListViewerPart(fContainer, recursive);
}
+
+ public BuildTargetDialog(Shell parent, IContainer container) {
+ this(parent, container, true);
+ }
+
public void setTarget(IMakeTarget target) {
targetPart.setSelectedTarget(target);
diff --git a/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/dialogs/GCCPerProjectSCDProfilePage.java b/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/dialogs/GCCPerProjectSCDProfilePage.java
index d394cf7073e..c1986ff3c7f 100644
--- a/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/dialogs/GCCPerProjectSCDProfilePage.java
+++ b/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/dialogs/GCCPerProjectSCDProfilePage.java
@@ -237,10 +237,16 @@ public class GCCPerProjectSCDProfilePage extends AbstractDiscoveryPage {
getContainer().updateContainer();
}
+ /**
+ * @since 7.0
+ */
protected void handleModifyRunArgsText() {
getContainer().updateContainer();
}
+ /**
+ * @since 7.0
+ */
protected void handleSIPEnabledButtonSelected() {
sipRunCommandText.setEnabled(sipEnabledButton.getSelection());
sipRunArgsText.setEnabled(sipEnabledButton.getSelection());
diff --git a/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/views/RebuildLastTargetAction.java b/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/views/RebuildLastTargetAction.java
index f702f24b51b..9b2974445e4 100644
--- a/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/views/RebuildLastTargetAction.java
+++ b/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/views/RebuildLastTargetAction.java
@@ -18,6 +18,8 @@ import org.eclipse.ui.actions.SelectionListenerAction;
/**
* Rebuild last target of selected resource or project.
+ *
+ * @since 7.0
*/
public class RebuildLastTargetAction extends SelectionListenerAction {

Back to the top