mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 06:02:11 +02:00
bug 301373: [API] add @noextend and @noimplement tags - org.eclipse.cdt.make.ui
Enabled API tooling
This commit is contained in:
parent
20cf87bb19
commit
857113dfb8
11 changed files with 45 additions and 3 deletions
|
@ -20,9 +20,15 @@
|
||||||
<arguments>
|
<arguments>
|
||||||
</arguments>
|
</arguments>
|
||||||
</buildCommand>
|
</buildCommand>
|
||||||
|
<buildCommand>
|
||||||
|
<name>org.eclipse.pde.api.tools.apiAnalysisBuilder</name>
|
||||||
|
<arguments>
|
||||||
|
</arguments>
|
||||||
|
</buildCommand>
|
||||||
</buildSpec>
|
</buildSpec>
|
||||||
<natures>
|
<natures>
|
||||||
<nature>org.eclipse.pde.PluginNature</nature>
|
<nature>org.eclipse.pde.PluginNature</nature>
|
||||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||||
|
<nature>org.eclipse.pde.api.tools.apiAnalysisNature</nature>
|
||||||
</natures>
|
</natures>
|
||||||
</projectDescription>
|
</projectDescription>
|
||||||
|
|
|
@ -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_CLASS_BOUND=Error
|
||||||
ANNOTATION_ELEMENT_TYPE_ADDED_FIELD=Error
|
ANNOTATION_ELEMENT_TYPE_ADDED_FIELD=Error
|
||||||
ANNOTATION_ELEMENT_TYPE_ADDED_INTERFACE_BOUND=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_PARAMETER=Error
|
||||||
ANNOTATION_ELEMENT_TYPE_REMOVED_TYPE_PARAMETERS=Error
|
ANNOTATION_ELEMENT_TYPE_REMOVED_TYPE_PARAMETERS=Error
|
||||||
API_COMPONENT_ELEMENT_TYPE_REMOVED_API_TYPE=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
|
API_COMPONENT_ELEMENT_TYPE_REMOVED_TYPE=Error
|
||||||
CLASS_ELEMENT_TYPE_ADDED_CLASS_BOUND=Error
|
CLASS_ELEMENT_TYPE_ADDED_CLASS_BOUND=Error
|
||||||
CLASS_ELEMENT_TYPE_ADDED_INTERFACE_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_METHOD=Error
|
||||||
INTERFACE_ELEMENT_TYPE_REMOVED_TYPE_MEMBER=Error
|
INTERFACE_ELEMENT_TYPE_REMOVED_TYPE_MEMBER=Error
|
||||||
INTERFACE_ELEMENT_TYPE_REMOVED_TYPE_PARAMETER=Error
|
INTERFACE_ELEMENT_TYPE_REMOVED_TYPE_PARAMETER=Error
|
||||||
INVALID_JAVADOC_TAG=Ignore
|
INVALID_JAVADOC_TAG=Error
|
||||||
INVALID_REFERENCE_IN_SYSTEM_LIBRARIES=Error
|
INVALID_REFERENCE_IN_SYSTEM_LIBRARIES=Error
|
||||||
LEAK_EXTEND=Warning
|
LEAK_EXTEND=Warning
|
||||||
LEAK_FIELD_DECL=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_CLASS_BOUND=Error
|
||||||
TYPE_PARAMETER_ELEMENT_TYPE_REMOVED_INTERFACE_BOUND=Error
|
TYPE_PARAMETER_ELEMENT_TYPE_REMOVED_INTERFACE_BOUND=Error
|
||||||
UNUSED_PROBLEM_FILTERS=Warning
|
UNUSED_PROBLEM_FILTERS=Warning
|
||||||
|
automatically_removed_unused_problem_filters=false
|
||||||
eclipse.preferences.version=1
|
eclipse.preferences.version=1
|
||||||
incompatible_api_component_version=Error
|
incompatible_api_component_version=Error
|
||||||
incompatible_api_component_version_include_major_without_breaking_change=Disabled
|
incompatible_api_component_version_include_major_without_breaking_change=Disabled
|
||||||
|
|
|
@ -2,7 +2,7 @@ Manifest-Version: 1.0
|
||||||
Bundle-ManifestVersion: 2
|
Bundle-ManifestVersion: 2
|
||||||
Bundle-Name: %pluginName
|
Bundle-Name: %pluginName
|
||||||
Bundle-SymbolicName: org.eclipse.cdt.make.ui; singleton:=true
|
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-Activator: org.eclipse.cdt.make.internal.ui.MakeUIPlugin
|
||||||
Bundle-Vendor: %providerName
|
Bundle-Vendor: %providerName
|
||||||
Bundle-Localization: plugin
|
Bundle-Localization: plugin
|
||||||
|
|
|
@ -47,6 +47,8 @@ public class TargetListViewerPart extends StructuredViewerPart {
|
||||||
/**
|
/**
|
||||||
* @param container
|
* @param container
|
||||||
* @param recursive {@code true} if to search recursively for target
|
* @param recursive {@code true} if to search recursively for target
|
||||||
|
*
|
||||||
|
* @since 7.0
|
||||||
*/
|
*/
|
||||||
public TargetListViewerPart(IContainer container, boolean recursive) {
|
public TargetListViewerPart(IContainer container, boolean recursive) {
|
||||||
super(new String[] {
|
super(new String[] {
|
||||||
|
@ -57,6 +59,10 @@ public class TargetListViewerPart extends StructuredViewerPart {
|
||||||
this.recursive = recursive;
|
this.recursive = recursive;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public TargetListViewerPart(IContainer container) {
|
||||||
|
this(container, true);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected StructuredViewer createStructuredViewer(Composite parent,
|
protected StructuredViewer createStructuredViewer(Composite parent,
|
||||||
int style) {
|
int style) {
|
||||||
|
|
|
@ -39,6 +39,9 @@ public abstract class AbstractTargetAction
|
||||||
private IWorkbenchPart fPart;
|
private IWorkbenchPart fPart;
|
||||||
private IWorkbenchWindow fWindow;
|
private IWorkbenchWindow fWindow;
|
||||||
private boolean isEnabled;
|
private boolean isEnabled;
|
||||||
|
/**
|
||||||
|
* @since 7.0
|
||||||
|
*/
|
||||||
protected IContainer fContainer;
|
protected IContainer fContainer;
|
||||||
|
|
||||||
protected Shell getShell() {
|
protected Shell getShell() {
|
||||||
|
@ -105,6 +108,9 @@ public abstract class AbstractTargetAction
|
||||||
action.setEnabled(isEnabled);
|
action.setEnabled(isEnabled);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @since 7.0
|
||||||
|
*/
|
||||||
public boolean isEnabled() {
|
public boolean isEnabled() {
|
||||||
return isEnabled;
|
return isEnabled;
|
||||||
}
|
}
|
||||||
|
|
|
@ -28,6 +28,8 @@ import org.eclipse.jface.window.Window;
|
||||||
* Rebuild last target of selected resource or project.
|
* Rebuild last target of selected resource or project.
|
||||||
* Search is done non-recursively.
|
* Search is done non-recursively.
|
||||||
* If no valid last target is found, show the build target dialog.
|
* If no valid last target is found, show the build target dialog.
|
||||||
|
*
|
||||||
|
* @since 7.0
|
||||||
*/
|
*/
|
||||||
public class BuildLastTargetAction extends AbstractTargetAction {
|
public class BuildLastTargetAction extends AbstractTargetAction {
|
||||||
|
|
||||||
|
|
|
@ -19,6 +19,8 @@ import org.eclipse.ui.handlers.HandlerUtil;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Handler for {@link org.eclipse.cdt.make.ui.actions.BuildLastTargetAction}
|
* Handler for {@link org.eclipse.cdt.make.ui.actions.BuildLastTargetAction}
|
||||||
|
*
|
||||||
|
* @since 7.0
|
||||||
*/
|
*/
|
||||||
public class BuildLastTargetHandler extends AbstractHandler {
|
public class BuildLastTargetHandler extends AbstractHandler {
|
||||||
|
|
||||||
|
|
|
@ -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_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$
|
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_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_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$
|
protected static final String SI_DIALOG = MakeUIPlugin.getResourceString("ScannerConfigOptionsDialog.siProvider.browse.runCommandDialog"); //$NON-NLS-1$
|
||||||
|
|
|
@ -34,6 +34,9 @@ public class BuildTargetDialog extends Dialog {
|
||||||
private final TargetListViewerPart targetPart;
|
private final TargetListViewerPart targetPart;
|
||||||
private final IContainer fContainer;
|
private final IContainer fContainer;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @since 7.0
|
||||||
|
*/
|
||||||
public BuildTargetDialog(Shell parent, IContainer container, boolean recursive) {
|
public BuildTargetDialog(Shell parent, IContainer container, boolean recursive) {
|
||||||
super(parent);
|
super(parent);
|
||||||
setShellStyle(getShellStyle() | SWT.RESIZE);
|
setShellStyle(getShellStyle() | SWT.RESIZE);
|
||||||
|
@ -41,6 +44,11 @@ public class BuildTargetDialog extends Dialog {
|
||||||
targetPart = new TargetListViewerPart(fContainer, recursive);
|
targetPart = new TargetListViewerPart(fContainer, recursive);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public BuildTargetDialog(Shell parent, IContainer container) {
|
||||||
|
this(parent, container, true);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setTarget(IMakeTarget target) {
|
public void setTarget(IMakeTarget target) {
|
||||||
targetPart.setSelectedTarget(target);
|
targetPart.setSelectedTarget(target);
|
||||||
}
|
}
|
||||||
|
|
|
@ -237,10 +237,16 @@ public class GCCPerProjectSCDProfilePage extends AbstractDiscoveryPage {
|
||||||
getContainer().updateContainer();
|
getContainer().updateContainer();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @since 7.0
|
||||||
|
*/
|
||||||
protected void handleModifyRunArgsText() {
|
protected void handleModifyRunArgsText() {
|
||||||
getContainer().updateContainer();
|
getContainer().updateContainer();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @since 7.0
|
||||||
|
*/
|
||||||
protected void handleSIPEnabledButtonSelected() {
|
protected void handleSIPEnabledButtonSelected() {
|
||||||
sipRunCommandText.setEnabled(sipEnabledButton.getSelection());
|
sipRunCommandText.setEnabled(sipEnabledButton.getSelection());
|
||||||
sipRunArgsText.setEnabled(sipEnabledButton.getSelection());
|
sipRunArgsText.setEnabled(sipEnabledButton.getSelection());
|
||||||
|
|
|
@ -18,6 +18,8 @@ import org.eclipse.ui.actions.SelectionListenerAction;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Rebuild last target of selected resource or project.
|
* Rebuild last target of selected resource or project.
|
||||||
|
*
|
||||||
|
* @since 7.0
|
||||||
*/
|
*/
|
||||||
public class RebuildLastTargetAction extends SelectionListenerAction {
|
public class RebuildLastTargetAction extends SelectionListenerAction {
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue