mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Bug 540373: Remove '(non-Javadoc)' comments
These were inserted in the past automatically by Eclipse but newer tooling makes them redundant. These were removed by doing a global find/replace on *.java files using the following regular expression: \t/\*\n\t \* \(non-Javadoc\)[^/]*/\n Change-Id: I59d3248020f10934fde1dda5b5a31e20bb188e19
This commit is contained in:
parent
eeb3006e27
commit
aa1040a21a
223 changed files with 0 additions and 2830 deletions
|
@ -32,20 +32,12 @@ public class Activator extends AbstractUIPlugin {
|
||||||
public Activator() {
|
public Activator() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void start(BundleContext context) throws Exception {
|
public void start(BundleContext context) throws Exception {
|
||||||
super.start(context);
|
super.start(context);
|
||||||
plugin = this;
|
plugin = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void stop(BundleContext context) throws Exception {
|
public void stop(BundleContext context) throws Exception {
|
||||||
plugin = null;
|
plugin = null;
|
||||||
|
|
|
@ -31,19 +31,11 @@ public class Activator implements BundleActivator {
|
||||||
return context;
|
return context;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void start(BundleContext bundleContext) throws Exception {
|
public void start(BundleContext bundleContext) throws Exception {
|
||||||
Activator.context = bundleContext;
|
Activator.context = bundleContext;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void stop(BundleContext bundleContext) throws Exception {
|
public void stop(BundleContext bundleContext) throws Exception {
|
||||||
Activator.context = null;
|
Activator.context = null;
|
||||||
|
|
|
@ -34,20 +34,12 @@ public class Activator extends AbstractUIPlugin {
|
||||||
public Activator() {
|
public Activator() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void start(BundleContext context) throws Exception {
|
public void start(BundleContext context) throws Exception {
|
||||||
super.start(context);
|
super.start(context);
|
||||||
plugin = this;
|
plugin = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void stop(BundleContext context) throws Exception {
|
public void stop(BundleContext context) throws Exception {
|
||||||
plugin = null;
|
plugin = null;
|
||||||
|
|
|
@ -71,21 +71,11 @@ public class MakeScannerInfo implements IScannerInfo {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.core.build.managed.IScannerInfo#getIncludePaths()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public synchronized String[] getIncludePaths() {
|
public synchronized String[] getIncludePaths() {
|
||||||
return getPathList().toArray(new String[getPathList().size()]);
|
return getPathList().toArray(new String[getPathList().size()]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.core.build.managed.IScannerInfo#getIncludePaths()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public synchronized Map<String, String> getDefinedSymbols() {
|
public synchronized Map<String, String> getDefinedSymbols() {
|
||||||
// Return the defined symbols for the default configuration
|
// Return the defined symbols for the default configuration
|
||||||
|
|
|
@ -101,11 +101,6 @@ public class MakeScannerProvider extends ScannerProvider {
|
||||||
return scannerInfo;
|
return scannerInfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.core.parser.IScannerInfoProvider#getScannerInformation(org.eclipse.core.resources.IResource)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public IScannerInfo getScannerInformation(IResource resource) {
|
public IScannerInfo getScannerInformation(IResource resource) {
|
||||||
try {
|
try {
|
||||||
|
|
|
@ -63,11 +63,6 @@ public class DiscoveredScannerInfoProvider extends ScannerProvider {
|
||||||
return instance;
|
return instance;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.core.parser.IScannerInfoProvider#getScannerInformation(org.eclipse.core.resources.IResource)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public IScannerInfo getScannerInformation(IResource resource) {
|
public IScannerInfo getScannerInformation(IResource resource) {
|
||||||
try {
|
try {
|
||||||
|
@ -77,23 +72,11 @@ public class DiscoveredScannerInfoProvider extends ScannerProvider {
|
||||||
return super.getScannerInformation(resource);
|
return super.getScannerInformation(resource);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.core.parser.IScannerInfoProvider#subscribe(org.eclipse.core.resources.IResource,
|
|
||||||
* org.eclipse.cdt.core.parser.IScannerInfoChangeListener)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void subscribe(IResource resource, IScannerInfoChangeListener listener) {
|
public void subscribe(IResource resource, IScannerInfoChangeListener listener) {
|
||||||
super.subscribe(resource, listener);
|
super.subscribe(resource, listener);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.core.parser.IScannerInfoProvider#unsubscribe(org.eclipse.core.resources.IResource,
|
|
||||||
* org.eclipse.cdt.core.parser.IScannerInfoChangeListener)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void unsubscribe(IResource resource, IScannerInfoChangeListener listener) {
|
public void unsubscribe(IResource resource, IScannerInfoChangeListener listener) {
|
||||||
super.unsubscribe(resource, listener);
|
super.unsubscribe(resource, listener);
|
||||||
|
|
|
@ -41,11 +41,6 @@ public class ErrorParserBlock extends AbstractErrorParserBlock {
|
||||||
fPrefs = preferences;
|
fPrefs = preferences;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.jface.dialogs.IDialogPage#createControl(org.eclipse.swt.widgets.Composite)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void createControl(Composite parent) {
|
public void createControl(Composite parent) {
|
||||||
|
|
||||||
|
@ -60,11 +55,6 @@ public class ErrorParserBlock extends AbstractErrorParserBlock {
|
||||||
super.createControl(parent);
|
super.createControl(parent);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.ui.dialogs.ErrorParserBlock#getErrorParserIDs(org.eclipse.core.resources.IProject)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
protected String[] getErrorParserIDs(IProject project) {
|
protected String[] getErrorParserIDs(IProject project) {
|
||||||
if (getContainer().getProject() != null && fBuildInfo == null) {
|
if (getContainer().getProject() != null && fBuildInfo == null) {
|
||||||
|
@ -79,12 +69,6 @@ public class ErrorParserBlock extends AbstractErrorParserBlock {
|
||||||
return new String[0];
|
return new String[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.ui.dialogs.ErrorParserBlock#saveErrorParsers(org.eclipse.core.resources.IProject,
|
|
||||||
* java.lang.String[])
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void saveErrorParsers(IProject project, String[] parserIDs) throws CoreException {
|
public void saveErrorParsers(IProject project, String[] parserIDs) throws CoreException {
|
||||||
if (getContainer().getProject() != null) {
|
if (getContainer().getProject() != null) {
|
||||||
|
|
|
@ -39,12 +39,6 @@ public class MakefileAnnotationHover implements IAnnotationHover {
|
||||||
fEditor = editor;
|
fEditor = editor;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.jface.text.source.IAnnotationHover#getHoverInfo(org.eclipse.jface.text.source.ISourceViewer,
|
|
||||||
* int)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public String getHoverInfo(ISourceViewer sourceViewer, int lineNumber) {
|
public String getHoverInfo(ISourceViewer sourceViewer, int lineNumber) {
|
||||||
IDocument document = sourceViewer.getDocument();
|
IDocument document = sourceViewer.getDocument();
|
||||||
|
|
|
@ -42,12 +42,6 @@ public class MakefileTextHover implements ITextHover {
|
||||||
fEditor = editor;
|
fEditor = editor;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.jface.text.ITextHover#getHoverInfo(org.eclipse.jface.text.ITextViewer,
|
|
||||||
* org.eclipse.jface.text.IRegion)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public String getHoverInfo(ITextViewer textViewer, IRegion hoverRegion) {
|
public String getHoverInfo(ITextViewer textViewer, IRegion hoverRegion) {
|
||||||
if (hoverRegion != null) {
|
if (hoverRegion != null) {
|
||||||
|
@ -92,12 +86,6 @@ public class MakefileTextHover implements ITextHover {
|
||||||
return ""; //$NON-NLS-1$
|
return ""; //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.jface.text.ITextHover#getHoverRegion(org.eclipse.jface.text.ITextViewer,
|
|
||||||
* int)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public IRegion getHoverRegion(ITextViewer textViewer, int offset) {
|
public IRegion getHoverRegion(ITextViewer textViewer, int offset) {
|
||||||
Point selection = textViewer.getSelectedRange();
|
Point selection = textViewer.getSelectedRange();
|
||||||
|
|
|
@ -155,11 +155,6 @@ public class TargetListViewerPart extends StructuredViewerPart {
|
||||||
return fSelectedTarget;
|
return fSelectedTarget;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.make.internal.ui.part.SharedPart#updateEnabledState()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
protected void updateEnabledState() {
|
protected void updateEnabledState() {
|
||||||
super.updateEnabledState();
|
super.updateEnabledState();
|
||||||
|
@ -167,12 +162,6 @@ public class TargetListViewerPart extends StructuredViewerPart {
|
||||||
setButtonEnabled(EDIT_TARGET, fSelectedTarget != null && isEnabled());
|
setButtonEnabled(EDIT_TARGET, fSelectedTarget != null && isEnabled());
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.make.internal.ui.part.SharedPart#createControl(org.eclipse.swt.widgets.Composite,
|
|
||||||
* int, int)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void createControl(Composite parent, int style, int span) {
|
public void createControl(Composite parent, int style, int span) {
|
||||||
super.createControl(parent, style, span);
|
super.createControl(parent, style, span);
|
||||||
|
|
|
@ -201,11 +201,6 @@ public class MakeTargetDialog extends Dialog {
|
||||||
return title;
|
return title;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.jface.dialogs.Dialog#createDialogArea(org.eclipse.swt.widgets.Composite)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
protected Control createDialogArea(Composite parent) {
|
protected Control createDialogArea(Composite parent) {
|
||||||
Composite composite = (Composite) super.createDialogArea(parent);
|
Composite composite = (Composite) super.createDialogArea(parent);
|
||||||
|
|
|
@ -94,21 +94,11 @@ public class MakeView extends ViewPart {
|
||||||
super();
|
super();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.ui.IWorkbenchPart#setFocus()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void setFocus() {
|
public void setFocus() {
|
||||||
fViewer.getTree().setFocus();
|
fViewer.getTree().setFocus();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.ui.IWorkbenchPart#createPartControl(org.eclipse.swt.widgets.Composite)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void createPartControl(Composite parent) {
|
public void createPartControl(Composite parent) {
|
||||||
MakeUIPlugin.getDefault().getWorkbench().getHelpSystem().setHelp(parent, IMakeHelpContextIds.MAKE_VIEW);
|
MakeUIPlugin.getDefault().getWorkbench().getHelpSystem().setHelp(parent, IMakeHelpContextIds.MAKE_VIEW);
|
||||||
|
|
|
@ -18,15 +18,6 @@ import org.eclipse.cdt.managedbuilder.core.IConfigurationNameProvider;
|
||||||
|
|
||||||
public class TestConfigurationNameProvider implements IConfigurationNameProvider {
|
public class TestConfigurationNameProvider implements IConfigurationNameProvider {
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.managedbuilder.core.IConfigurationNameProvider#getNewConfigurationName(org.eclipse.cdt.managedbuilder.core.IConfiguration,
|
|
||||||
* java.lang.String[]) This function will generate a unique
|
|
||||||
* configuration name based on used names, current OS and current
|
|
||||||
* Architecture.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
private static int configNumber = 0;
|
private static int configNumber = 0;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -476,11 +476,6 @@ public class ManagedBuildInfo implements IManagedBuildInfo, IScannerInfo {
|
||||||
return "make"; //$NON-NLS-1$
|
return "make"; //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.core.build.managed.IManagedBuildInfo#getPrebuildStep()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public String getPrebuildStep() {
|
public String getPrebuildStep() {
|
||||||
// Get the default configuration and use its value
|
// Get the default configuration and use its value
|
||||||
|
@ -492,11 +487,6 @@ public class ManagedBuildInfo implements IManagedBuildInfo, IScannerInfo {
|
||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.core.build.managed.IManagedBuildInfo#getPostbuildStep()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public String getPostbuildStep() {
|
public String getPostbuildStep() {
|
||||||
// Get the default configuration and use its value
|
// Get the default configuration and use its value
|
||||||
|
@ -508,11 +498,6 @@ public class ManagedBuildInfo implements IManagedBuildInfo, IScannerInfo {
|
||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.core.build.managed.IManagedBuildInfo#getPreannouncebuildStep()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public String getPreannouncebuildStep() {
|
public String getPreannouncebuildStep() {
|
||||||
// Get the default configuration and use its value
|
// Get the default configuration and use its value
|
||||||
|
@ -524,11 +509,6 @@ public class ManagedBuildInfo implements IManagedBuildInfo, IScannerInfo {
|
||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.core.build.managed.IManagedBuildInfo#getPostannouncebuildStep()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public String getPostannouncebuildStep() {
|
public String getPostannouncebuildStep() {
|
||||||
// Get the default configuration and use its value
|
// Get the default configuration and use its value
|
||||||
|
@ -540,21 +520,11 @@ public class ManagedBuildInfo implements IManagedBuildInfo, IScannerInfo {
|
||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.core.build.managed.IManagedBuildInfo#getOutputExtension(java.lang.String)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public String getOutputExtension(String resourceExtension) {
|
public String getOutputExtension(String resourceExtension) {
|
||||||
return getDefaultConfiguration().getOutputExtension(resourceExtension);
|
return getDefaultConfiguration().getOutputExtension(resourceExtension);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.core.build.managed.IManagedBuildInfo#getOutputFlag()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public String getOutputFlag(String outputExt) {
|
public String getOutputFlag(String outputExt) {
|
||||||
return getDefaultConfiguration().getOutputFlag(outputExt);
|
return getDefaultConfiguration().getOutputFlag(outputExt);
|
||||||
|
|
|
@ -575,11 +575,6 @@ public class OptionCategory extends BuildObject implements IOptionCategory {
|
||||||
return primary;
|
return primary;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.managedbuilder.core.IOptionCategory#getApplicabilityCalculator()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public IOptionCategoryApplicability getApplicabilityCalculator() {
|
public IOptionCategoryApplicability getApplicabilityCalculator() {
|
||||||
if (applicabilityCalculator == null) {
|
if (applicabilityCalculator == null) {
|
||||||
|
|
|
@ -4223,11 +4223,6 @@ public class Tool extends HoldsOptions
|
||||||
return isExtensionElement();
|
return isExtensionElement();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.managedbuilder.core.IOptionCategory#getApplicabilityCalculator()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public IOptionCategoryApplicability getApplicabilityCalculator() {
|
public IOptionCategoryApplicability getApplicabilityCalculator() {
|
||||||
// Tool does not have any ApplicabilityCalculator.
|
// Tool does not have any ApplicabilityCalculator.
|
||||||
|
|
|
@ -39,28 +39,16 @@ import org.eclipse.core.runtime.IPath;
|
||||||
*/
|
*/
|
||||||
public class DefaultGCCDependencyCalculator2 implements IManagedDependencyGenerator2 {
|
public class DefaultGCCDependencyCalculator2 implements IManagedDependencyGenerator2 {
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.managedbuilder.makegen.IManagedDependencyGeneratorType#getCalculatorType()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public int getCalculatorType() {
|
public int getCalculatorType() {
|
||||||
return TYPE_BUILD_COMMANDS;
|
return TYPE_BUILD_COMMANDS;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.managedbuilder.makegen.IManagedDependencyGenerator2#getDependencyFileExtension(org.eclipse.cdt.managedbuilder.core.IConfiguration, org.eclipse.cdt.managedbuilder.core.ITool)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public String getDependencyFileExtension(IConfiguration buildContext, ITool tool) {
|
public String getDependencyFileExtension(IConfiguration buildContext, ITool tool) {
|
||||||
return IManagedBuilderMakefileGenerator.DEP_EXT;
|
return IManagedBuilderMakefileGenerator.DEP_EXT;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.managedbuilder.makegen.IManagedDependencyGenerator2#getDependencySourceInfo(org.eclipse.core.runtime.IPath, org.eclipse.cdt.managedbuilder.core.IBuildObject, org.eclipse.cdt.managedbuilder.core.ITool, org.eclipse.core.runtime.IPath)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public IManagedDependencyInfo getDependencySourceInfo(IPath source, IResource resource, IBuildObject buildContext,
|
public IManagedDependencyInfo getDependencySourceInfo(IPath source, IResource resource, IBuildObject buildContext,
|
||||||
ITool tool, IPath topBuildDirectory) {
|
ITool tool, IPath topBuildDirectory) {
|
||||||
|
@ -76,10 +64,6 @@ public class DefaultGCCDependencyCalculator2 implements IManagedDependencyGenera
|
||||||
return new DefaultGCCDependencyCalculator2Commands(source, buildContext, tool, topBuildDirectory);
|
return new DefaultGCCDependencyCalculator2Commands(source, buildContext, tool, topBuildDirectory);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.managedbuilder.makegen.IManagedDependencyGenerator2#postProcessDependencyFile(org.eclipse.core.runtime.IPath, org.eclipse.cdt.managedbuilder.core.IConfiguration, org.eclipse.cdt.managedbuilder.core.ITool, org.eclipse.core.runtime.IPath)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public boolean postProcessDependencyFile(IPath dependencyFile, IConfiguration buildContext, ITool tool,
|
public boolean postProcessDependencyFile(IPath dependencyFile, IConfiguration buildContext, ITool tool,
|
||||||
IPath topBuildDirectory) {
|
IPath topBuildDirectory) {
|
||||||
|
|
|
@ -150,10 +150,6 @@ public class DefaultGCCDependencyCalculator2Commands implements IManagedDependen
|
||||||
this(source, (IResource) null, buildContext, tool, topBuildDirectory);
|
this(source, (IResource) null, buildContext, tool, topBuildDirectory);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.managedbuilder.makegen.IManagedDependencyCommands#areCommandsGeneric()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public boolean areCommandsGeneric() {
|
public boolean areCommandsGeneric() {
|
||||||
if (genericCommands == null)
|
if (genericCommands == null)
|
||||||
|
@ -161,10 +157,6 @@ public class DefaultGCCDependencyCalculator2Commands implements IManagedDependen
|
||||||
return genericCommands.booleanValue();
|
return genericCommands.booleanValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.managedbuilder.makegen.IManagedDependencyCommands#getDependencyCommandOptions()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public String[] getDependencyCommandOptions() {
|
public String[] getDependencyCommandOptions() {
|
||||||
|
|
||||||
|
@ -196,10 +188,6 @@ public class DefaultGCCDependencyCalculator2Commands implements IManagedDependen
|
||||||
return options;
|
return options;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.managedbuilder.makegen.IManagedDependencyCommands#getDependencyFiles()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public IPath[] getDependencyFiles() {
|
public IPath[] getDependencyFiles() {
|
||||||
// The source file is project relative and the dependency file is top build directory relative
|
// The source file is project relative and the dependency file is top build directory relative
|
||||||
|
@ -217,57 +205,33 @@ public class DefaultGCCDependencyCalculator2Commands implements IManagedDependen
|
||||||
return paths;
|
return paths;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.managedbuilder.makegen.IManagedDependencyCommands#getPostToolDependencyCommands()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public String[] getPostToolDependencyCommands() {
|
public String[] getPostToolDependencyCommands() {
|
||||||
// Nothing
|
// Nothing
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.managedbuilder.makegen.IManagedDependencyCommands#getPreToolDependencyCommands()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public String[] getPreToolDependencyCommands() {
|
public String[] getPreToolDependencyCommands() {
|
||||||
// Nothing
|
// Nothing
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.managedbuilder.makegen.IManagedDependencyInfo#getBuildContext()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public IBuildObject getBuildContext() {
|
public IBuildObject getBuildContext() {
|
||||||
return buildContext;
|
return buildContext;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.managedbuilder.makegen.IManagedDependencyInfo#getSource()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public IPath getSource() {
|
public IPath getSource() {
|
||||||
return source;
|
return source;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.managedbuilder.makegen.IManagedDependencyInfo#getTool()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public ITool getTool() {
|
public ITool getTool() {
|
||||||
return tool;
|
return tool;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.managedbuilder.makegen.IManagedDependencyInfo#getTopBuildDirectory()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public IPath getTopBuildDirectory() {
|
public IPath getTopBuildDirectory() {
|
||||||
return topBuildDirectory;
|
return topBuildDirectory;
|
||||||
|
|
|
@ -50,19 +50,11 @@ import org.eclipse.core.runtime.IPath;
|
||||||
*/
|
*/
|
||||||
public class DefaultGCCDependencyCalculator3 implements IManagedDependencyGenerator2 {
|
public class DefaultGCCDependencyCalculator3 implements IManagedDependencyGenerator2 {
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.managedbuilder.makegen.IManagedDependencyGeneratorType#getCalculatorType()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public int getCalculatorType() {
|
public int getCalculatorType() {
|
||||||
return TYPE_BUILD_COMMANDS;
|
return TYPE_BUILD_COMMANDS;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.managedbuilder.makegen.IManagedDependencyGenerator2#getDependencyFileExtension(org.eclipse.cdt.managedbuilder.core.IConfiguration, org.eclipse.cdt.managedbuilder.core.ITool)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public String getDependencyFileExtension(IConfiguration buildContext, ITool tool) {
|
public String getDependencyFileExtension(IConfiguration buildContext, ITool tool) {
|
||||||
return IManagedBuilderMakefileGenerator.DEP_EXT;
|
return IManagedBuilderMakefileGenerator.DEP_EXT;
|
||||||
|
@ -86,10 +78,6 @@ public class DefaultGCCDependencyCalculator3 implements IManagedDependencyGenera
|
||||||
return new DefaultGCCDependencyCalculator3Commands(source, buildContext, tool, topBuildDirectory);
|
return new DefaultGCCDependencyCalculator3Commands(source, buildContext, tool, topBuildDirectory);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.managedbuilder.makegen.IManagedDependencyGenerator2#postProcessDependencyFile(org.eclipse.core.runtime.IPath, org.eclipse.cdt.managedbuilder.core.IConfiguration, org.eclipse.cdt.managedbuilder.core.ITool, org.eclipse.core.runtime.IPath)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public boolean postProcessDependencyFile(IPath dependencyFile, IConfiguration buildContext, ITool tool,
|
public boolean postProcessDependencyFile(IPath dependencyFile, IConfiguration buildContext, ITool tool,
|
||||||
IPath topBuildDirectory) {
|
IPath topBuildDirectory) {
|
||||||
|
|
|
@ -160,29 +160,17 @@ public class DefaultGCCDependencyCalculator3Commands implements IManagedDependen
|
||||||
this(source, (IResource) null, buildContext, tool, topBuildDirectory);
|
this(source, (IResource) null, buildContext, tool, topBuildDirectory);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.managedbuilder.makegen.IManagedDependencyCommands#areCommandsGeneric()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public boolean areCommandsGeneric() {
|
public boolean areCommandsGeneric() {
|
||||||
return genericCommands;
|
return genericCommands;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.managedbuilder.makegen.IManagedDependencyCommands#getDependencyCommandOptions()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public String[] getDependencyCommandOptions() {
|
public String[] getDependencyCommandOptions() {
|
||||||
// Nothing
|
// Nothing
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.managedbuilder.makegen.IManagedDependencyCommands#getDependencyFiles()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public IPath[] getDependencyFiles() {
|
public IPath[] getDependencyFiles() {
|
||||||
// The source file is project relative and the dependency file is top build directory relative
|
// The source file is project relative and the dependency file is top build directory relative
|
||||||
|
@ -200,10 +188,6 @@ public class DefaultGCCDependencyCalculator3Commands implements IManagedDependen
|
||||||
return paths;
|
return paths;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.managedbuilder.makegen.IManagedDependencyCommands#getPostToolDependencyCommands()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public String[] getPostToolDependencyCommands() {
|
public String[] getPostToolDependencyCommands() {
|
||||||
/*
|
/*
|
||||||
|
@ -315,47 +299,27 @@ public class DefaultGCCDependencyCalculator3Commands implements IManagedDependen
|
||||||
return commands;
|
return commands;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.managedbuilder.makegen.IManagedDependencyCommands#getPreToolDependencyCommands()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public String[] getPreToolDependencyCommands() {
|
public String[] getPreToolDependencyCommands() {
|
||||||
// Nothing
|
// Nothing
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.managedbuilder.makegen.IManagedDependencyInfo#getBuildContext()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public IBuildObject getBuildContext() {
|
public IBuildObject getBuildContext() {
|
||||||
return buildContext;
|
return buildContext;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.managedbuilder.makegen.IManagedDependencyInfo#getSource()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public IPath getSource() {
|
public IPath getSource() {
|
||||||
return source;
|
return source;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.managedbuilder.makegen.IManagedDependencyInfo#getTool()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public ITool getTool() {
|
public ITool getTool() {
|
||||||
return tool;
|
return tool;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.managedbuilder.makegen.IManagedDependencyInfo#getTopBuildDirectory()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public IPath getTopBuildDirectory() {
|
public IPath getTopBuildDirectory() {
|
||||||
return topBuildDirectory;
|
return topBuildDirectory;
|
||||||
|
|
|
@ -36,28 +36,16 @@ import org.eclipse.core.runtime.IPath;
|
||||||
*/
|
*/
|
||||||
public class DefaultGCCDependencyCalculatorPreBuild implements IManagedDependencyGenerator2 {
|
public class DefaultGCCDependencyCalculatorPreBuild implements IManagedDependencyGenerator2 {
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.managedbuilder.makegen.IManagedDependencyGeneratorType#getCalculatorType()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public int getCalculatorType() {
|
public int getCalculatorType() {
|
||||||
return TYPE_PREBUILD_COMMANDS;
|
return TYPE_PREBUILD_COMMANDS;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.managedbuilder.makegen.IManagedDependencyGenerator2#getDependencyFileExtension(org.eclipse.cdt.managedbuilder.core.IConfiguration, org.eclipse.cdt.managedbuilder.core.ITool)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public String getDependencyFileExtension(IConfiguration buildContext, ITool tool) {
|
public String getDependencyFileExtension(IConfiguration buildContext, ITool tool) {
|
||||||
return IManagedBuilderMakefileGenerator.DEP_EXT;
|
return IManagedBuilderMakefileGenerator.DEP_EXT;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.managedbuilder.makegen.IManagedDependencyGenerator2#getDependencySourceInfo(org.eclipse.core.runtime.IPath, org.eclipse.cdt.managedbuilder.core.IBuildObject, org.eclipse.cdt.managedbuilder.core.ITool, org.eclipse.core.runtime.IPath)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public IManagedDependencyInfo getDependencySourceInfo(IPath source, IResource resource, IBuildObject buildContext,
|
public IManagedDependencyInfo getDependencySourceInfo(IPath source, IResource resource, IBuildObject buildContext,
|
||||||
ITool tool, IPath topBuildDirectory) {
|
ITool tool, IPath topBuildDirectory) {
|
||||||
|
@ -65,20 +53,12 @@ public class DefaultGCCDependencyCalculatorPreBuild implements IManagedDependenc
|
||||||
topBuildDirectory);
|
topBuildDirectory);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.managedbuilder.makegen.IManagedDependencyGenerator2#getDependencySourceInfo(org.eclipse.core.runtime.IPath, org.eclipse.cdt.managedbuilder.core.IBuildObject, org.eclipse.cdt.managedbuilder.core.ITool, org.eclipse.core.runtime.IPath)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public IManagedDependencyInfo getDependencySourceInfo(IPath source, IBuildObject buildContext, ITool tool,
|
public IManagedDependencyInfo getDependencySourceInfo(IPath source, IBuildObject buildContext, ITool tool,
|
||||||
IPath topBuildDirectory) {
|
IPath topBuildDirectory) {
|
||||||
return new DefaultGCCDependencyCalculatorPreBuildCommands(source, buildContext, tool, topBuildDirectory);
|
return new DefaultGCCDependencyCalculatorPreBuildCommands(source, buildContext, tool, topBuildDirectory);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.managedbuilder.makegen.IManagedDependencyGenerator2#postProcessDependencyFile(org.eclipse.core.runtime.IPath, org.eclipse.cdt.managedbuilder.core.IConfiguration, org.eclipse.cdt.managedbuilder.core.ITool, org.eclipse.core.runtime.IPath)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public boolean postProcessDependencyFile(IPath dependencyFile, IConfiguration buildContext, ITool tool,
|
public boolean postProcessDependencyFile(IPath dependencyFile, IConfiguration buildContext, ITool tool,
|
||||||
IPath topBuildDirectory) {
|
IPath topBuildDirectory) {
|
||||||
|
|
|
@ -314,37 +314,21 @@ public class DefaultGCCDependencyCalculatorPreBuildCommands implements IManagedD
|
||||||
return paths;
|
return paths;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.managedbuilder.makegen.IManagedDependencyInfo#getBuildContext()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public IBuildObject getBuildContext() {
|
public IBuildObject getBuildContext() {
|
||||||
return buildContext;
|
return buildContext;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.managedbuilder.makegen.IManagedDependencyInfo#getSource()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public IPath getSource() {
|
public IPath getSource() {
|
||||||
return source;
|
return source;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.managedbuilder.makegen.IManagedDependencyInfo#getTool()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public ITool getTool() {
|
public ITool getTool() {
|
||||||
return tool;
|
return tool;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.managedbuilder.makegen.IManagedDependencyInfo#getTopBuildDirectory()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public IPath getTopBuildDirectory() {
|
public IPath getTopBuildDirectory() {
|
||||||
return topBuildDirectory;
|
return topBuildDirectory;
|
||||||
|
|
|
@ -71,21 +71,11 @@ public class MakeScannerInfo implements IScannerInfo {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.core.build.managed.IScannerInfo#getIncludePaths()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public synchronized String[] getIncludePaths() {
|
public synchronized String[] getIncludePaths() {
|
||||||
return getPathList().toArray(new String[getPathList().size()]);
|
return getPathList().toArray(new String[getPathList().size()]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.core.build.managed.IScannerInfo#getIncludePaths()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public synchronized Map<String, String> getDefinedSymbols() {
|
public synchronized Map<String, String> getDefinedSymbols() {
|
||||||
// Return the defined symbols for the default configuration
|
// Return the defined symbols for the default configuration
|
||||||
|
|
|
@ -101,11 +101,6 @@ public class MakeScannerProvider extends ScannerProvider {
|
||||||
return scannerInfo;
|
return scannerInfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.core.parser.IScannerInfoProvider#getScannerInformation(org.eclipse.core.resources.IResource)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public IScannerInfo getScannerInformation(IResource resource) {
|
public IScannerInfo getScannerInformation(IResource resource) {
|
||||||
try {
|
try {
|
||||||
|
|
|
@ -137,11 +137,6 @@ public class BuildToolSettingUI extends AbstractToolSettingUI {
|
||||||
return super.computeSize();
|
return super.computeSize();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.jface.preference.FieldEditorPreferencePage#createFieldEditors()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
protected void createFieldEditors() {
|
protected void createFieldEditors() {
|
||||||
|
|
||||||
|
|
|
@ -128,13 +128,6 @@ public class DiscoveryTab extends AbstractCBuildPropertyTab implements IBuildInf
|
||||||
|
|
||||||
private StatusMessageLine fStatusLine;
|
private StatusMessageLine fStatusLine;
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see
|
|
||||||
* org.eclipse.jface.dialogs.IDialogPage#createControl(org.eclipse.swt.widgets
|
|
||||||
* .Composite)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void createControls(Composite parent) {
|
public void createControls(Composite parent) {
|
||||||
super.createControls(parent);
|
super.createControls(parent);
|
||||||
|
|
|
@ -25,19 +25,11 @@ public class Activator implements BundleActivator {
|
||||||
return context;
|
return context;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void start(BundleContext bundleContext) throws Exception {
|
public void start(BundleContext bundleContext) throws Exception {
|
||||||
Activator.context = bundleContext;
|
Activator.context = bundleContext;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void stop(BundleContext bundleContext) throws Exception {
|
public void stop(BundleContext bundleContext) throws Exception {
|
||||||
Activator.context = null;
|
Activator.context = null;
|
||||||
|
|
|
@ -33,26 +33,12 @@ public class CheckersUiActivator extends AbstractUIPlugin {
|
||||||
public CheckersUiActivator() {
|
public CheckersUiActivator() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see
|
|
||||||
* org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext
|
|
||||||
* )
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void start(BundleContext context) throws Exception {
|
public void start(BundleContext context) throws Exception {
|
||||||
super.start(context);
|
super.start(context);
|
||||||
plugin = this;
|
plugin = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see
|
|
||||||
* org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext
|
|
||||||
* )
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void stop(BundleContext context) throws Exception {
|
public void stop(BundleContext context) throws Exception {
|
||||||
plugin = null;
|
plugin = null;
|
||||||
|
|
|
@ -33,26 +33,12 @@ public class CodanCheckersActivator extends Plugin {
|
||||||
public CodanCheckersActivator() {
|
public CodanCheckersActivator() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see
|
|
||||||
* org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext
|
|
||||||
* )
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void start(BundleContext context) throws Exception {
|
public void start(BundleContext context) throws Exception {
|
||||||
super.start(context);
|
super.start(context);
|
||||||
plugin = this;
|
plugin = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see
|
|
||||||
* org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext
|
|
||||||
* )
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void stop(BundleContext context) throws Exception {
|
public void stop(BundleContext context) throws Exception {
|
||||||
plugin = null;
|
plugin = null;
|
||||||
|
|
|
@ -127,13 +127,6 @@ public class SuggestedParenthesisChecker extends AbstractIndexAstChecker {
|
||||||
return (Boolean) getPreference(getProblemById(ER_ID, getFile()), PARAM_NOT);
|
return (Boolean) getPreference(getProblemById(ER_ID, getFile()), PARAM_NOT);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see
|
|
||||||
* org.eclipse.cdt.codan.core.model.AbstractCheckerWithProblemPreferences
|
|
||||||
* #initPreferences(org.eclipse.cdt.codan.core.model.IProblemWorkingCopy)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void initPreferences(IProblemWorkingCopy problem) {
|
public void initPreferences(IProblemWorkingCopy problem) {
|
||||||
super.initPreferences(problem);
|
super.initPreferences(problem);
|
||||||
|
|
|
@ -33,24 +33,12 @@ public class Activator extends Plugin {
|
||||||
public Activator() {
|
public Activator() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see
|
|
||||||
* org.eclipse.core.runtime.Plugins#start(org.osgi.framework.BundleContext)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void start(BundleContext context) throws Exception {
|
public void start(BundleContext context) throws Exception {
|
||||||
super.start(context);
|
super.start(context);
|
||||||
plugin = this;
|
plugin = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see
|
|
||||||
* org.eclipse.core.runtime.Plugin#stop(org.osgi.framework.BundleContext)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void stop(BundleContext context) throws Exception {
|
public void stop(BundleContext context) throws Exception {
|
||||||
plugin = null;
|
plugin = null;
|
||||||
|
|
|
@ -27,11 +27,6 @@ public class CxxBranchNode extends BranchNode {
|
||||||
this.labelData = label;
|
this.labelData = label;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.codan.internal.core.cfg.DecisionArc#toString()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return labelData.getRawSignature() + ":"; //$NON-NLS-1$
|
return labelData.getRawSignature() + ":"; //$NON-NLS-1$
|
||||||
|
|
|
@ -26,11 +26,6 @@ public class CxxStartNode extends StartNode {
|
||||||
super();
|
super();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see java.lang.Object#toString()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return "start"; //$NON-NLS-1$
|
return "start"; //$NON-NLS-1$
|
||||||
|
|
|
@ -95,12 +95,6 @@ public abstract class AbstractIndexAstChecker extends AbstractCheckerWithProblem
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see IRunnableInEditorChecker#processModel(Object,
|
|
||||||
* ICheckerInvocationContext)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public synchronized void processModel(Object model, ICheckerInvocationContext context) {
|
public synchronized void processModel(Object model, ICheckerInvocationContext context) {
|
||||||
if (model instanceof IASTTranslationUnit) {
|
if (model instanceof IASTTranslationUnit) {
|
||||||
|
|
|
@ -355,11 +355,6 @@ public class ControlFlowGraphTest extends CodanFastCxxAstTestCase {
|
||||||
assertEquals("exit(0);", data(exit));
|
assertEquals("exit(0);", data(exit));
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.codan.core.test.CodanFastCxxAstTestCase#getChecker()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public IChecker getChecker() {
|
public IChecker getChecker() {
|
||||||
return null;
|
return null;
|
||||||
|
|
|
@ -31,24 +31,12 @@ public class CodanCoreTestActivator extends Plugin {
|
||||||
public CodanCoreTestActivator() {
|
public CodanCoreTestActivator() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see
|
|
||||||
* org.eclipse.core.runtime.Plugins#start(org.osgi.framework.BundleContext)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void start(BundleContext context) throws Exception {
|
public void start(BundleContext context) throws Exception {
|
||||||
super.start(context);
|
super.start(context);
|
||||||
plugin = this;
|
plugin = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see
|
|
||||||
* org.eclipse.core.runtime.Plugin#stop(org.osgi.framework.BundleContext)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void stop(BundleContext context) throws Exception {
|
public void stop(BundleContext context) throws Exception {
|
||||||
plugin = null;
|
plugin = null;
|
||||||
|
|
|
@ -31,11 +31,6 @@ public class CreateLocalVariableQuickFixTest extends QuickFixTestCase {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.codan.core.test.CodanTestCase#setUp()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void setUp() throws Exception {
|
public void setUp() throws Exception {
|
||||||
super.setUp();
|
super.setUp();
|
||||||
|
|
|
@ -55,12 +55,6 @@ public class CodanCorePlugin extends Plugin {
|
||||||
return InstanceScope.INSTANCE.getNode(PLUGIN_ID);
|
return InstanceScope.INSTANCE.getNode(PLUGIN_ID);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see
|
|
||||||
* org.eclipse.core.runtime.Plugins#start(org.osgi.framework.BundleContext)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void start(BundleContext context) throws Exception {
|
public void start(BundleContext context) throws Exception {
|
||||||
super.start(context);
|
super.start(context);
|
||||||
|
@ -70,12 +64,6 @@ public class CodanCorePlugin extends Plugin {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see
|
|
||||||
* org.eclipse.core.runtime.Plugin#stop(org.osgi.framework.BundleContext)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void stop(BundleContext context) throws Exception {
|
public void stop(BundleContext context) throws Exception {
|
||||||
plugin = null;
|
plugin = null;
|
||||||
|
|
|
@ -76,11 +76,6 @@ public abstract class AbstractProblemLocation implements IProblemLocation {
|
||||||
this.extra = data;
|
this.extra = data;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.codan.core.model.IProblemLocation#getFile()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public IResource getFile() {
|
public IResource getFile() {
|
||||||
return file;
|
return file;
|
||||||
|
@ -109,21 +104,11 @@ public abstract class AbstractProblemLocation implements IProblemLocation {
|
||||||
return line;
|
return line;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.codan.core.model.IProblemLocation#getStartPos()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public int getStartingChar() {
|
public int getStartingChar() {
|
||||||
return posStart;
|
return posStart;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.codan.core.model.IProblemLocation#getEndingChar()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public int getEndingChar() {
|
public int getEndingChar() {
|
||||||
return posEnd;
|
return posEnd;
|
||||||
|
|
|
@ -91,13 +91,6 @@ public class BasicProblemPreference extends AbstractProblemPreference {
|
||||||
return x;
|
return x;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see
|
|
||||||
* org.eclipse.cdt.codan.core.param.IProblemPreferenceValue#importValue(
|
|
||||||
* java.lang.String)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void importValue(String str) {
|
public void importValue(String str) {
|
||||||
if (str.startsWith("\"")) //$NON-NLS-1$
|
if (str.startsWith("\"")) //$NON-NLS-1$
|
||||||
|
|
|
@ -218,11 +218,6 @@ public class FileScopeProblemPreference extends AbstractProblemPreference {
|
||||||
this.resource = scope.getResource();
|
this.resource = scope.getResource();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.codan.core.param.AbstractProblemPreference#clone()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public Object clone() {
|
public Object clone() {
|
||||||
FileScopeProblemPreference scope = (FileScopeProblemPreference) super.clone();
|
FileScopeProblemPreference scope = (FileScopeProblemPreference) super.clone();
|
||||||
|
|
|
@ -34,33 +34,16 @@ public class ConnectorNode extends AbstractSingleOutgoingNode implements IConnec
|
||||||
incoming.add(node);
|
incoming.add(node);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @seeorg.eclipse.cdt.codan.provisional.core.model.cfg.IBasicBlock#
|
|
||||||
* getIncomingIterator()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public IBasicBlock[] getIncomingNodes() {
|
public IBasicBlock[] getIncomingNodes() {
|
||||||
return incoming.toArray(new IBasicBlock[incoming.size()]);
|
return incoming.toArray(new IBasicBlock[incoming.size()]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.codan.core.model.cfg.IBasicBlock#getIncomingSize ()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public int getIncomingSize() {
|
public int getIncomingSize() {
|
||||||
return incoming.size();
|
return incoming.size();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @seeorg.eclipse.cdt.codan.provisional.core.model.cfg.IConnectorNode#
|
|
||||||
* hasBackwardIncoming()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public boolean hasBackwardIncoming() {
|
public boolean hasBackwardIncoming() {
|
||||||
for (IBasicBlock node : incoming) {
|
for (IBasicBlock node : incoming) {
|
||||||
|
|
|
@ -62,12 +62,6 @@ public class ControlFlowGraph implements IControlFlowGraph {
|
||||||
this.deadNodes = Collections.unmodifiableList(new ArrayList<>(nodes));
|
this.deadNodes = Collections.unmodifiableList(new ArrayList<>(nodes));
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @seeorg.eclipse.cdt.codan.provisional.core.model.cfg.IControlFlowGraph#
|
|
||||||
* getStartNode()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public IStartNode getStartNode() {
|
public IStartNode getStartNode() {
|
||||||
return start;
|
return start;
|
||||||
|
@ -97,33 +91,16 @@ public class ControlFlowGraph implements IControlFlowGraph {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @seeorg.eclipse.cdt.codan.provisional.core.model.cfg.IControlFlowGraph#
|
|
||||||
* getUnconnectedNodeIterator()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public Iterator<IBasicBlock> getUnconnectedNodeIterator() {
|
public Iterator<IBasicBlock> getUnconnectedNodeIterator() {
|
||||||
return deadNodes.iterator();
|
return deadNodes.iterator();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @seeorg.eclipse.cdt.codan.provisional.core.model.cfg.IControlFlowGraph#
|
|
||||||
* getUnconnectedNodeSize()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public int getUnconnectedNodeSize() {
|
public int getUnconnectedNodeSize() {
|
||||||
return deadNodes.size();
|
return deadNodes.size();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.codan.core.model.cfg.IControlFlowGraph#getNodes ()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public Collection<IBasicBlock> getNodes() {
|
public Collection<IBasicBlock> getNodes() {
|
||||||
Collection<IBasicBlock> result = new LinkedHashSet<>();
|
Collection<IBasicBlock> result = new LinkedHashSet<>();
|
||||||
|
|
|
@ -40,11 +40,6 @@ public class JumpNode extends AbstractSingleIncomingNode implements IJumpNode {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.codan.core.model.cfg.IJumpNode#getJumpNode()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public IConnectorNode getJumpNode() {
|
public IConnectorNode getJumpNode() {
|
||||||
return jump;
|
return jump;
|
||||||
|
|
|
@ -29,63 +29,31 @@ public class NodeFactory implements INodeFactory {
|
||||||
public NodeFactory() {
|
public NodeFactory() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.codan.core.model.cfg.INodeFactory#createPlainNode ()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public IPlainNode createPlainNode() {
|
public IPlainNode createPlainNode() {
|
||||||
return new PlainNode();
|
return new PlainNode();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.codan.core.model.cfg.INodeFactory#createJumpNode ()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public IJumpNode createJumpNode() {
|
public IJumpNode createJumpNode() {
|
||||||
return new JumpNode();
|
return new JumpNode();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @seeorg.eclipse.cdt.codan.provisional.core.model.cfg.INodeFactory#
|
|
||||||
* createDecisionNode()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public IDecisionNode createDecisionNode() {
|
public IDecisionNode createDecisionNode() {
|
||||||
return new DecisionNode();
|
return new DecisionNode();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @seeorg.eclipse.cdt.codan.provisional.core.model.cfg.INodeFactory#
|
|
||||||
* createConnectiorNode()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public IConnectorNode createConnectorNode() {
|
public IConnectorNode createConnectorNode() {
|
||||||
return new ConnectorNode();
|
return new ConnectorNode();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.codan.core.model.cfg.INodeFactory#createStartNode ()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public IStartNode createStartNode() {
|
public IStartNode createStartNode() {
|
||||||
return new StartNode();
|
return new StartNode();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.codan.core.model.cfg.INodeFactory#createExitNode ()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public IExitNode createExitNode() {
|
public IExitNode createExitNode() {
|
||||||
return new ExitNode();
|
return new ExitNode();
|
||||||
|
|
|
@ -48,13 +48,6 @@ public class PlainNode extends AbstractSingleIncomingNode implements IPlainNode
|
||||||
this.next = exit;
|
this.next = exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see
|
|
||||||
* org.eclipse.cdt.codan.internal.core.cfg.AbstractBasicBlock#addOutgoing
|
|
||||||
* (org.eclipse.cdt.codan.core.model.cfg.IBasicBlock)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void addOutgoing(IBasicBlock node) {
|
public void addOutgoing(IBasicBlock node) {
|
||||||
setOutgoing(node);
|
setOutgoing(node);
|
||||||
|
|
|
@ -94,11 +94,6 @@ public class CodanProblem extends CodanProblemElement implements IProblemWorking
|
||||||
this.enabled = checked;
|
this.enabled = checked;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see java.lang.Object#clone()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public Object clone() {
|
public Object clone() {
|
||||||
CodanProblem prob;
|
CodanProblem prob;
|
||||||
|
@ -121,11 +116,6 @@ public class CodanProblem extends CodanProblemElement implements IProblemWorking
|
||||||
return rootPreference;
|
return rootPreference;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.codan.core.model.IProblem#getMessagePattern()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public String getMessagePattern() {
|
public String getMessagePattern() {
|
||||||
return messagePattern;
|
return messagePattern;
|
||||||
|
@ -141,34 +131,17 @@ public class CodanProblem extends CodanProblemElement implements IProblemWorking
|
||||||
this.messagePattern = messagePattern;
|
this.messagePattern = messagePattern;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.codan.core.model.IProblem#getDescription()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public String getDescription() {
|
public String getDescription() {
|
||||||
return description;
|
return description;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see
|
|
||||||
* org.eclipse.cdt.codan.core.model.IProblemWorkingCopy#setDescription(java
|
|
||||||
* .lang.String)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void setDescription(String desc) {
|
public void setDescription(String desc) {
|
||||||
checkSet();
|
checkSet();
|
||||||
this.description = desc;
|
this.description = desc;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.codan.core.model.IProblem#getMarkerType()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public String getMarkerType() {
|
public String getMarkerType() {
|
||||||
return markerType;
|
return markerType;
|
||||||
|
@ -184,21 +157,11 @@ public class CodanProblem extends CodanProblemElement implements IProblemWorking
|
||||||
this.markerType = markerType;
|
this.markerType = markerType;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.codan.core.model.IProblemMultiple#isMultiple()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public boolean isMultiple() {
|
public boolean isMultiple() {
|
||||||
return multiple;
|
return multiple;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.codan.core.model.IProblemMultiple#isOriginal()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public boolean isOriginal() {
|
public boolean isOriginal() {
|
||||||
return !id.contains(CheckersRegistry.CLONE_SUFFIX);
|
return !id.contains(CheckersRegistry.CLONE_SUFFIX);
|
||||||
|
|
|
@ -123,11 +123,6 @@ public class CodanProblemCategory extends CodanProblemElement implements IProble
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see java.lang.Object#clone()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public Object clone() {
|
public Object clone() {
|
||||||
CodanProblemCategory catClone = (CodanProblemCategory) super.clone();
|
CodanProblemCategory catClone = (CodanProblemCategory) super.clone();
|
||||||
|
@ -147,13 +142,6 @@ public class CodanProblemCategory extends CodanProblemElement implements IProble
|
||||||
return catClone;
|
return catClone;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see
|
|
||||||
* org.eclipse.cdt.codan.internal.core.model.CodanProblemElement#setProfile
|
|
||||||
* (org.eclipse.cdt.codan.core.model.IProblemProfile)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void setProfile(IProblemProfile profile) {
|
public void setProfile(IProblemProfile profile) {
|
||||||
checkSet();
|
checkSet();
|
||||||
|
|
|
@ -25,21 +25,11 @@ public class CodanProblemElement implements IProblemElement {
|
||||||
private IProblemCategory parent;
|
private IProblemCategory parent;
|
||||||
private boolean frozen = false;
|
private boolean frozen = false;
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.codan.core.model.IProblemElement#getProfile()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public IProblemProfile getProfile() {
|
public IProblemProfile getProfile() {
|
||||||
return profile;
|
return profile;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.codan.core.model.IProblemElement#getCategory()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public IProblemCategory getParentCategory() {
|
public IProblemCategory getParentCategory() {
|
||||||
return parent;
|
return parent;
|
||||||
|
|
|
@ -34,12 +34,6 @@ public class Activator extends Plugin {
|
||||||
public Activator() {
|
public Activator() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see
|
|
||||||
* org.eclipse.core.runtime.Plugins#start(org.osgi.framework.BundleContext)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void start(BundleContext context) throws Exception {
|
public void start(BundleContext context) throws Exception {
|
||||||
super.start(context);
|
super.start(context);
|
||||||
|
@ -47,12 +41,6 @@ public class Activator extends Plugin {
|
||||||
GrepCheckerExamplePreferenceChangeListener.getInstance();
|
GrepCheckerExamplePreferenceChangeListener.getInstance();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see
|
|
||||||
* org.eclipse.core.runtime.Plugin#stop(org.osgi.framework.BundleContext)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void stop(BundleContext context) throws Exception {
|
public void stop(BundleContext context) throws Exception {
|
||||||
plugin = null;
|
plugin = null;
|
||||||
|
|
|
@ -95,13 +95,6 @@ public class GrepChecker extends AbstractCheckerWithProblemPreferences {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see
|
|
||||||
* org.eclipse.cdt.codan.core.model.AbstractCheckerWithProblemPreferences
|
|
||||||
* #initPreferences(org.eclipse.cdt.codan.core.model.IProblemWorkingCopy)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void initPreferences(IProblemWorkingCopy problem) {
|
public void initPreferences(IProblemWorkingCopy problem) {
|
||||||
super.initPreferences(problem);
|
super.initPreferences(problem);
|
||||||
|
|
|
@ -36,13 +36,6 @@ public class NamingConventionFunctionIIndexChecker extends AbstractCIndexChecker
|
||||||
public static final String PARAM_KEY = "pattern"; //$NON-NLS-1$
|
public static final String PARAM_KEY = "pattern"; //$NON-NLS-1$
|
||||||
private static final String ER_ID = "org.eclipse.cdt.codan.examples.checkers.NamingConventionFunctionProblem"; //$NON-NLS-1$
|
private static final String ER_ID = "org.eclipse.cdt.codan.examples.checkers.NamingConventionFunctionProblem"; //$NON-NLS-1$
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see
|
|
||||||
* org.eclipse.cdt.codan.core.model.ICIndexChecker#processUnit(org.eclipse
|
|
||||||
* .cdt.core.model.ITranslationUnit)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void processUnit(ITranslationUnit unit) {
|
public void processUnit(ITranslationUnit unit) {
|
||||||
final IProblem pt = getProblemById(ER_ID, getFile());
|
final IProblem pt = getProblemById(ER_ID, getFile());
|
||||||
|
@ -68,13 +61,6 @@ public class NamingConventionFunctionIIndexChecker extends AbstractCIndexChecker
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see
|
|
||||||
* org.eclipse.cdt.codan.core.model.ICheckerWithPreferences#initParameters
|
|
||||||
* (org.eclipse.cdt.codan.core.model.IProblemWorkingCopy)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void initPreferences(IProblemWorkingCopy problem) {
|
public void initPreferences(IProblemWorkingCopy problem) {
|
||||||
super.initPreferences(problem);
|
super.initPreferences(problem);
|
||||||
|
|
|
@ -34,26 +34,12 @@ public class ControlFlowGraphPlugin extends AbstractUIPlugin {
|
||||||
public ControlFlowGraphPlugin() {
|
public ControlFlowGraphPlugin() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see
|
|
||||||
* org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext
|
|
||||||
* )
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void start(BundleContext context) throws Exception {
|
public void start(BundleContext context) throws Exception {
|
||||||
super.start(context);
|
super.start(context);
|
||||||
plugin = this;
|
plugin = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see
|
|
||||||
* org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext
|
|
||||||
* )
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void stop(BundleContext context) throws Exception {
|
public void stop(BundleContext context) throws Exception {
|
||||||
plugin = null;
|
plugin = null;
|
||||||
|
|
|
@ -86,13 +86,6 @@ public class CustomizeProblemDialog extends TitleAreaDialog {
|
||||||
comp.save(problem);
|
comp.save(problem);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see
|
|
||||||
* org.eclipse.jface.dialogs.TitleAreaDialog#createDialogArea(org.eclipse
|
|
||||||
* .swt.widgets.Composite)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
protected Control createDialogArea(Composite parent) {
|
protected Control createDialogArea(Composite parent) {
|
||||||
getShell().setText(CodanUIMessages.CustomizeProblemDialog_Title);
|
getShell().setText(CodanUIMessages.CustomizeProblemDialog_Title);
|
||||||
|
@ -122,11 +115,6 @@ public class CustomizeProblemDialog extends TitleAreaDialog {
|
||||||
return b;
|
return b;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.jface.dialogs.Dialog#okPressed()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
protected void okPressed() {
|
protected void okPressed() {
|
||||||
for (int i = 0; i < problems.length; i++) {
|
for (int i = 0; i < problems.length; i++) {
|
||||||
|
|
|
@ -66,11 +66,6 @@ public class BuildPropertyPage extends FieldEditorPreferencePage implements IWor
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.ui.IWorkbenchPropertyPage#getElement()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public IAdaptable getElement() {
|
public IAdaptable getElement() {
|
||||||
if (element.getAdapter(IProject.class) != null)
|
if (element.getAdapter(IProject.class) != null)
|
||||||
|
@ -78,11 +73,6 @@ public class BuildPropertyPage extends FieldEditorPreferencePage implements IWor
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.ui.IWorkbenchPropertyPage#setElement(org.eclipse.core.runtime.IAdaptable)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void setElement(IAdaptable element) {
|
public void setElement(IAdaptable element) {
|
||||||
this.element = element;
|
this.element = element;
|
||||||
|
|
|
@ -72,9 +72,6 @@ public abstract class CheckedTreeEditor extends FieldEditor implements ICheckSta
|
||||||
createControl(parent);
|
createControl(parent);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc) Method declared on FieldEditor.
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
protected void adjustForNumColumns(int numColumns) {
|
protected void adjustForNumColumns(int numColumns) {
|
||||||
Control control = getLabelControl();
|
Control control = getLabelControl();
|
||||||
|
@ -86,9 +83,6 @@ public abstract class CheckedTreeEditor extends FieldEditor implements ICheckSta
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc) Method declared on FieldEditor.
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
protected void doFillIntoGrid(Composite parent, int numColumns) {
|
protected void doFillIntoGrid(Composite parent, int numColumns) {
|
||||||
doFillLabelIntoGrid(parent, numColumns);
|
doFillLabelIntoGrid(parent, numColumns);
|
||||||
|
@ -116,9 +110,6 @@ public abstract class CheckedTreeEditor extends FieldEditor implements ICheckSta
|
||||||
list.setLayoutData(gd);
|
list.setLayoutData(gd);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc) Method declared on FieldEditor.
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
protected void doLoad() {
|
protected void doLoad() {
|
||||||
if (getTreeControl() != null) {
|
if (getTreeControl() != null) {
|
||||||
|
@ -182,9 +173,6 @@ public abstract class CheckedTreeEditor extends FieldEditor implements ICheckSta
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc) Method declared on FieldEditor.
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
protected void doLoadDefault() {
|
protected void doLoadDefault() {
|
||||||
if (getTreeControl() != null) {
|
if (getTreeControl() != null) {
|
||||||
|
@ -193,9 +181,6 @@ public abstract class CheckedTreeEditor extends FieldEditor implements ICheckSta
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc) Method declared on FieldEditor.
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
protected void doStore() {
|
protected void doStore() {
|
||||||
String s = modelToString(getViewer().getInput());
|
String s = modelToString(getViewer().getInput());
|
||||||
|
@ -233,9 +218,6 @@ public abstract class CheckedTreeEditor extends FieldEditor implements ICheckSta
|
||||||
return treeViewer;
|
return treeViewer;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc) Method declared on FieldEditor.
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public int getNumberOfControls() {
|
public int getNumberOfControls() {
|
||||||
return 2;
|
return 2;
|
||||||
|
@ -254,9 +236,6 @@ public abstract class CheckedTreeEditor extends FieldEditor implements ICheckSta
|
||||||
return treeViewer.getControl().getShell();
|
return treeViewer.getControl().getShell();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc) Method declared on FieldEditor.
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void setFocus() {
|
public void setFocus() {
|
||||||
if (getTreeControl() != null) {
|
if (getTreeControl() != null) {
|
||||||
|
@ -302,17 +281,11 @@ public abstract class CheckedTreeEditor extends FieldEditor implements ICheckSta
|
||||||
return listParent;
|
return listParent;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc) Method declared on FieldEditor.
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public boolean isValid() {
|
public boolean isValid() {
|
||||||
return isValid;
|
return isValid;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc) Method declared on FieldEditor.
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
protected void refreshValidState() {
|
protected void refreshValidState() {
|
||||||
isValid = checkState();
|
isValid = checkState();
|
||||||
|
|
|
@ -366,11 +366,6 @@ public class DefaultPathEntryStore implements IPathEntryStore, ICDescriptorListe
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.core.ICDescriptorListener#descriptorChanged(org.eclipse.cdt.core.CDescriptorEvent)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void descriptorChanged(CDescriptorEvent event) {
|
public void descriptorChanged(CDescriptorEvent event) {
|
||||||
if (event.getType() == CDescriptorEvent.CDTPROJECT_CHANGED
|
if (event.getType() == CDescriptorEvent.CDTPROJECT_CHANGED
|
||||||
|
|
|
@ -29,31 +29,16 @@ public class PathEntry implements IPathEntry {
|
||||||
this.isExported = isExported;
|
this.isExported = isExported;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.core.IPathEntry#getEntryKind()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public IPath getPath() {
|
public IPath getPath() {
|
||||||
return path;
|
return path;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.core.IPathEntry#getEntryKind()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public int getEntryKind() {
|
public int getEntryKind() {
|
||||||
return entryKind;
|
return entryKind;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.core.IPathEntry#isExported()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public boolean isExported() {
|
public boolean isExported() {
|
||||||
return isExported;
|
return isExported;
|
||||||
|
|
|
@ -1323,13 +1323,6 @@ public class PathEntryManager implements IPathEntryStoreListener, IElementChange
|
||||||
// return new DefaultPathEntryStore(project);
|
// return new DefaultPathEntryStore(project);
|
||||||
// }
|
// }
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.core.resources.IPathEntryStoreListener#
|
|
||||||
* pathEntryStoreChanged(org.eclipse.cdt.core.resources.
|
|
||||||
* PathEntryChangedEvent)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void pathEntryStoreChanged(PathEntryStoreChangedEvent event) {
|
public void pathEntryStoreChanged(PathEntryStoreChangedEvent event) {
|
||||||
IProject project = event.getProject();
|
IProject project = event.getProject();
|
||||||
|
|
|
@ -577,10 +577,6 @@ public class MultiConfigDescription extends MultiItemsHolder implements ICMultiC
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.core.settings.model.ICSettingsStorage#setReadOnly(boolean, boolean)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void setReadOnly(boolean readOnly, boolean keepModify) {
|
public void setReadOnly(boolean readOnly, boolean keepModify) {
|
||||||
for (ICConfigurationDescription cfg : fCfgs)
|
for (ICConfigurationDescription cfg : fCfgs)
|
||||||
|
|
|
@ -54,12 +54,6 @@ public class ScannerInfoProviderProxy extends AbstractCExtensionProxy
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.core.parser.IScannerInfoProvider#subscribe(org.eclipse.core.resources.IResource,
|
|
||||||
* org.eclipse.cdt.core.parser.IScannerInfoChangeListener)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public synchronized void subscribe(IResource resource, IScannerInfoChangeListener listener) {
|
public synchronized void subscribe(IResource resource, IScannerInfoChangeListener listener) {
|
||||||
if (resource == null || listener == null) {
|
if (resource == null || listener == null) {
|
||||||
|
@ -90,12 +84,6 @@ public class ScannerInfoProviderProxy extends AbstractCExtensionProxy
|
||||||
return listeners;
|
return listeners;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.core.parser.IScannerInfoProvider#unsubscribe(org.eclipse.core.resources.IResource,
|
|
||||||
* org.eclipse.cdt.core.parser.IScannerInfoChangeListener)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public synchronized void unsubscribe(IResource resource, IScannerInfoChangeListener listener) {
|
public synchronized void unsubscribe(IResource resource, IScannerInfoChangeListener listener) {
|
||||||
if (resource == null || listener == null) {
|
if (resource == null || listener == null) {
|
||||||
|
|
|
@ -115,10 +115,6 @@ public class XmlProjectDescriptionStorage2 extends XmlProjectDescriptionStorage
|
||||||
return needReload[0];
|
return needReload[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.internal.core.settings.model.xml.XmlProjectDescriptionStorage#createStorage(org.eclipse.core.resources.IContainer, java.lang.String, boolean, boolean, boolean)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
protected final InternalXmlStorageElement createStorage(IContainer container, String fileName, boolean reCreate,
|
protected final InternalXmlStorageElement createStorage(IContainer container, String fileName, boolean reCreate,
|
||||||
boolean createEmptyIfNotFound, boolean readOnly) throws CoreException {
|
boolean createEmptyIfNotFound, boolean readOnly) throws CoreException {
|
||||||
|
|
|
@ -77,10 +77,6 @@ public class ExternalExportProjectProvider extends AbstractExportProjectProvider
|
||||||
super();
|
super();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.core.index.export.IProjectForExportManager#createProject(java.util.Map)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public ICProject createProject() throws CoreException {
|
public ICProject createProject() throws CoreException {
|
||||||
// -source
|
// -source
|
||||||
|
|
|
@ -80,10 +80,6 @@ public class CImplicitTypedef extends CTypedef {
|
||||||
// return false;
|
// return false;
|
||||||
// }
|
// }
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see java.lang.Object#clone()
|
|
||||||
*/
|
|
||||||
// public Object clone() {
|
// public Object clone() {
|
||||||
// IType t = null;
|
// IType t = null;
|
||||||
// t = (IType) super.clone();
|
// t = (IType) super.clone();
|
||||||
|
|
|
@ -52,21 +52,11 @@ public class ScannerInfo implements IExtendedScannerInfo {
|
||||||
return macroMap;
|
return macroMap;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.core.build.managed.IScannerInfo#getIncludePaths()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public synchronized String[] getIncludePaths() {
|
public synchronized String[] getIncludePaths() {
|
||||||
return fSystemIncludePaths;
|
return fSystemIncludePaths;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.core.build.managed.IScannerInfo#getIncludePaths()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public synchronized Map<String, String> getDefinedSymbols() {
|
public synchronized Map<String, String> getDefinedSymbols() {
|
||||||
return fMacroMap;
|
return fMacroMap;
|
||||||
|
|
|
@ -92,11 +92,6 @@ public class ScannerProvider extends AbstractCExtension implements IScannerInfoP
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.core.parser.IScannerInfoProvider#getScannerInformation(org.eclipse.core.resources.IResource)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public IScannerInfo getScannerInformation(IResource resource) {
|
public IScannerInfo getScannerInformation(IResource resource) {
|
||||||
IPath resPath = resource.getFullPath();
|
IPath resPath = resource.getFullPath();
|
||||||
|
@ -149,12 +144,6 @@ public class ScannerProvider extends AbstractCExtension implements IScannerInfoP
|
||||||
return new ScannerInfo(null, null, null, null, null);
|
return new ScannerInfo(null, null, null, null, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.core.parser.IScannerInfoProvider#subscribe(org.eclipse.core.resources.IResource,
|
|
||||||
* org.eclipse.cdt.core.parser.IScannerInfoChangeListener)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public synchronized void subscribe(IResource resource, IScannerInfoChangeListener listener) {
|
public synchronized void subscribe(IResource resource, IScannerInfoChangeListener listener) {
|
||||||
if (resource == null || listener == null) {
|
if (resource == null || listener == null) {
|
||||||
|
@ -175,12 +164,6 @@ public class ScannerProvider extends AbstractCExtension implements IScannerInfoP
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.core.parser.IScannerInfoProvider#unsubscribe(org.eclipse.core.resources.IResource,
|
|
||||||
* org.eclipse.cdt.core.parser.IScannerInfoChangeListener)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public synchronized void unsubscribe(IResource resource, IScannerInfoChangeListener listener) {
|
public synchronized void unsubscribe(IResource resource, IScannerInfoChangeListener listener) {
|
||||||
if (resource == null || listener == null) {
|
if (resource == null || listener == null) {
|
||||||
|
|
|
@ -299,10 +299,6 @@ final public class CConfigBasedDescriptor implements ICDescriptor {
|
||||||
fIsDirty = dirty;
|
fIsDirty = dirty;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.core.ICDescriptor#create(java.lang.String, java.lang.String)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public ICExtensionReference create(String extensionPoint, String id) throws CoreException {
|
public ICExtensionReference create(String extensionPoint, String id) throws CoreException {
|
||||||
try {
|
try {
|
||||||
|
@ -396,10 +392,6 @@ final public class CConfigBasedDescriptor implements ICDescriptor {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.core.ICDescriptor#get(java.lang.String, boolean)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public ICExtensionReference[] get(String extensionPoint, boolean update) throws CoreException {
|
public ICExtensionReference[] get(String extensionPoint, boolean update) throws CoreException {
|
||||||
try {
|
try {
|
||||||
|
@ -416,10 +408,6 @@ final public class CConfigBasedDescriptor implements ICDescriptor {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.core.ICDescriptor#getPlatform()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public String getPlatform() {
|
public String getPlatform() {
|
||||||
try {
|
try {
|
||||||
|
@ -430,10 +418,6 @@ final public class CConfigBasedDescriptor implements ICDescriptor {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.core.ICDescriptor#getProject()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public IProject getProject() {
|
public IProject getProject() {
|
||||||
try {
|
try {
|
||||||
|
@ -657,10 +641,6 @@ final public class CConfigBasedDescriptor implements ICDescriptor {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.core.ICDescriptor#saveProjectData()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void saveProjectData() throws CoreException {
|
public void saveProjectData() throws CoreException {
|
||||||
try {
|
try {
|
||||||
|
@ -678,10 +658,6 @@ final public class CConfigBasedDescriptor implements ICDescriptor {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.core.ICDescriptor#getConfigurationDescription()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public ICConfigurationDescription getConfigurationDescription() {
|
public ICConfigurationDescription getConfigurationDescription() {
|
||||||
try {
|
try {
|
||||||
|
|
|
@ -132,10 +132,6 @@ final public class CConfigBasedDescriptorManager implements ICDescriptorManager
|
||||||
fProjectDescriptorMap.remove(project);
|
fProjectDescriptorMap.remove(project);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.core.ICDescriptorManager#configure(org.eclipse.core.resources.IProject, java.lang.String)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void configure(IProject project, String id) throws CoreException {
|
public void configure(IProject project, String id) throws CoreException {
|
||||||
if (id.equals(NULLCOwner.getOwnerID())) {
|
if (id.equals(NULLCOwner.getOwnerID())) {
|
||||||
|
@ -208,10 +204,6 @@ final public class CConfigBasedDescriptorManager implements ICDescriptorManager
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.core.ICDescriptorManager#convert(org.eclipse.core.resources.IProject, java.lang.String)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void convert(IProject project, String id) throws CoreException {
|
public void convert(IProject project, String id) throws CoreException {
|
||||||
CConfigBasedDescriptor dr = findDescriptor(project, false);
|
CConfigBasedDescriptor dr = findDescriptor(project, false);
|
||||||
|
@ -230,37 +222,21 @@ final public class CConfigBasedDescriptorManager implements ICDescriptorManager
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.core.ICDescriptorManager#getDescriptor(org.eclipse.core.resources.IProject)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public ICDescriptor getDescriptor(IProject project) throws CoreException {
|
public ICDescriptor getDescriptor(IProject project) throws CoreException {
|
||||||
return getDescriptor(project, true);
|
return getDescriptor(project, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.core.ICDescriptorManager#getDescriptor(org.eclipse.core.resources.IProject, boolean)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public ICDescriptor getDescriptor(IProject project, boolean create) throws CoreException {
|
public ICDescriptor getDescriptor(IProject project, boolean create) throws CoreException {
|
||||||
return findDescriptor(project, create);
|
return findDescriptor(project, create);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.core.ICDescriptorManager#addDescriptorListener(org.eclipse.cdt.core.ICDescriptorListener)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void addDescriptorListener(ICDescriptorListener listener) {
|
public void addDescriptorListener(ICDescriptorListener listener) {
|
||||||
fListeners.add(listener);
|
fListeners.add(listener);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.core.ICDescriptorManager#removeDescriptorListener(org.eclipse.cdt.core.ICDescriptorListener)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void removeDescriptorListener(ICDescriptorListener listener) {
|
public void removeDescriptorListener(ICDescriptorListener listener) {
|
||||||
fListeners.remove(listener);
|
fListeners.remove(listener);
|
||||||
|
|
|
@ -241,11 +241,6 @@ public class InternalASTServiceProvider implements IASTServiceProvider {
|
||||||
IncludeFileContentProvider.adapt(fileCreator));
|
IncludeFileContentProvider.adapt(fileCreator));
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.core.dom.IASTServiceProvider#getSupportedDialects()
|
|
||||||
*/
|
|
||||||
public String[] getSupportedDialects() {
|
public String[] getSupportedDialects() {
|
||||||
return dialects;
|
return dialects;
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,42 +30,22 @@ public class ResourceExclusionFactory extends RefreshExclusionFactory {
|
||||||
// TODO Auto-generated constructor stub
|
// TODO Auto-generated constructor stub
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.core.resources.RefreshExclusionFactory#createNewExclusion()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public RefreshExclusion createNewExclusion() {
|
public RefreshExclusion createNewExclusion() {
|
||||||
return new ResourceExclusion();
|
return new ResourceExclusion();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.core.resources.RefreshExclusionFactory#createNewExclusionInstance()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public ExclusionInstance createNewExclusionInstance() {
|
public ExclusionInstance createNewExclusionInstance() {
|
||||||
// TODO Auto-generated method stub
|
// TODO Auto-generated method stub
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.core.resources.RefreshExclusionFactory#getExclusionClassname()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public String getExclusionClassname() {
|
public String getExclusionClassname() {
|
||||||
return ResourceExclusion.class.getName();
|
return ResourceExclusion.class.getName();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.core.resources.RefreshExclusionFactory#getInstanceClassname()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public String getInstanceClassname() {
|
public String getInstanceClassname() {
|
||||||
// TODO Auto-generated method stub
|
// TODO Auto-generated method stub
|
||||||
|
|
|
@ -29,11 +29,6 @@ public class DefaultCygwinToolFactory extends DefaultGnuToolFactory implements I
|
||||||
super(ext);
|
super(ext);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.utils.CygwinToolsProvider#getCygPath()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public CygPath getCygPath() {
|
public CygPath getCygPath() {
|
||||||
IPath cygPathPath = getCygPathPath();
|
IPath cygPathPath = getCygPathPath();
|
||||||
|
|
|
@ -85,51 +85,26 @@ public class Symbol implements ISymbol {
|
||||||
return type;
|
return type;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.core.IBinaryParser.ISymbol#getAdress()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public IAddress getAddress() {
|
public IAddress getAddress() {
|
||||||
return addr;
|
return addr;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.core.IBinaryParser.ISymbol#getEndLine()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public int getEndLine() {
|
public int getEndLine() {
|
||||||
return endLine;
|
return endLine;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.core.IBinaryParser.ISymbol#getStartLine()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public int getStartLine() {
|
public int getStartLine() {
|
||||||
return startLine;
|
return startLine;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.core.IBinaryParser.ISymbol#getLineNumber(long)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public int getLineNumber(long offset) {
|
public int getLineNumber(long offset) {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.core.IBinaryParser.ISymbol#getSize()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public long getSize() {
|
public long getSize() {
|
||||||
return size;
|
return size;
|
||||||
|
|
|
@ -31,12 +31,6 @@ public class CygwinPEBinaryArchive extends PEBinaryArchive {
|
||||||
super(parser, path);
|
super(parser, path);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.utils.coff.parser.PEBinaryArchive#addArchiveMembers(org.eclipse.cdt.utils.AR.ARHeader[],
|
|
||||||
* java.util.ArrayList)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
protected void addArchiveMembers(ARHeader[] headers, ArrayList<IBinaryObject> children2) {
|
protected void addArchiveMembers(ARHeader[] headers, ArrayList<IBinaryObject> children2) {
|
||||||
for (int i = 0; i < headers.length; i++) {
|
for (int i = 0; i < headers.length; i++) {
|
||||||
|
|
|
@ -110,11 +110,6 @@ public class CygwinPEBinaryObject extends PEBinaryObject {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.utils.BinaryObjectAdapter#getCPPFilt()
|
|
||||||
*/
|
|
||||||
protected CPPFilt getCPPFilt() {
|
protected CPPFilt getCPPFilt() {
|
||||||
ICygwinToolsFactroy factory = getBinaryParser().getAdapter(ICygwinToolsFactroy.class);
|
ICygwinToolsFactroy factory = getBinaryParser().getAdapter(ICygwinToolsFactroy.class);
|
||||||
if (factory != null) {
|
if (factory != null) {
|
||||||
|
@ -123,11 +118,6 @@ public class CygwinPEBinaryObject extends PEBinaryObject {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.utils.BinaryObjectAdapter#getObjdump()
|
|
||||||
*/
|
|
||||||
protected Objdump getObjdump() {
|
protected Objdump getObjdump() {
|
||||||
ICygwinToolsFactroy factory = getBinaryParser().getAdapter(ICygwinToolsFactroy.class);
|
ICygwinToolsFactroy factory = getBinaryParser().getAdapter(ICygwinToolsFactroy.class);
|
||||||
if (factory != null) {
|
if (factory != null) {
|
||||||
|
@ -262,12 +252,6 @@ public class CygwinPEBinaryObject extends PEBinaryObject {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.utils.coff.parser.PEBinaryObject#addSymbols(org.eclipse.cdt.utils.coff.Coff.Symbol[],
|
|
||||||
* byte[], java.util.List)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
protected void addSymbols(Coff.Symbol[] peSyms, byte[] table, List<Symbol> list) {
|
protected void addSymbols(Coff.Symbol[] peSyms, byte[] table, List<Symbol> list) {
|
||||||
for (Coff.Symbol peSym : peSyms) {
|
for (Coff.Symbol peSym : peSyms) {
|
||||||
|
|
|
@ -34,11 +34,6 @@ public class CygwinPEParser extends PEParser {
|
||||||
return "Cygwin PE"; //$NON-NLS-1$
|
return "Cygwin PE"; //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.utils.coff.parser.PEParser#createBinaryArchive(org.eclipse.core.runtime.IPath)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
protected IBinaryArchive createBinaryArchive(IPath path) throws IOException {
|
protected IBinaryArchive createBinaryArchive(IPath path) throws IOException {
|
||||||
return new CygwinPEBinaryArchive(this, path);
|
return new CygwinPEBinaryArchive(this, path);
|
||||||
|
|
|
@ -88,11 +88,6 @@ public class PEBinaryObject extends BinaryObjectAdapter {
|
||||||
return symbols;
|
return symbols;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.utils.BinaryObjectAdapter#getBinaryObjectInfo()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
protected BinaryObjectInfo getBinaryObjectInfo() {
|
protected BinaryObjectInfo getBinaryObjectInfo() {
|
||||||
if (hasChanged() || info == null) {
|
if (hasChanged() || info == null) {
|
||||||
|
|
|
@ -55,19 +55,9 @@ public class DebugAddr2line {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see IAddr2line#dispose()
|
|
||||||
*/
|
|
||||||
public void dispose() {
|
public void dispose() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see IAddr2line#getStartLine(long)
|
|
||||||
*/
|
|
||||||
public int getStartLine(long address) throws IOException {
|
public int getStartLine(long address) throws IOException {
|
||||||
DebugSym entry = symreq.getEntry(address);
|
DebugSym entry = symreq.getEntry(address);
|
||||||
if (entry != null) {
|
if (entry != null) {
|
||||||
|
@ -76,11 +66,6 @@ public class DebugAddr2line {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see IAddr2line#getEndLine(long)
|
|
||||||
*/
|
|
||||||
public int getEndLine(long address) throws IOException {
|
public int getEndLine(long address) throws IOException {
|
||||||
DebugSym entry = symreq.getEntry(address);
|
DebugSym entry = symreq.getEntry(address);
|
||||||
if (entry != null) {
|
if (entry != null) {
|
||||||
|
@ -89,11 +74,6 @@ public class DebugAddr2line {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see IAddr2line#getFunction(long)
|
|
||||||
*/
|
|
||||||
public String getFunction(long address) throws IOException {
|
public String getFunction(long address) throws IOException {
|
||||||
DebugSym entry = symreq.getEntry(address);
|
DebugSym entry = symreq.getEntry(address);
|
||||||
if (entry != null) {
|
if (entry != null) {
|
||||||
|
@ -102,11 +82,6 @@ public class DebugAddr2line {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see IAddr2line#getFileName(long)
|
|
||||||
*/
|
|
||||||
public String getFileName(long address) throws IOException {
|
public String getFileName(long address) throws IOException {
|
||||||
DebugSym entry = symreq.getEntry(address);
|
DebugSym entry = symreq.getEntry(address);
|
||||||
if (entry != null) {
|
if (entry != null) {
|
||||||
|
|
|
@ -90,11 +90,6 @@ public class DebugDump implements IDebugEntryRequestor {
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.utils.debug.IDebugEntryRequestor#enterCompilationUnit(java.lang.String, long)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void enterCompilationUnit(String name, long address) {
|
public void enterCompilationUnit(String name, long address) {
|
||||||
write("/* Enter Compilation Unit " + name + " address " + Long.toHexString(address) + " */"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
|
write("/* Enter Compilation Unit " + name + " address " + Long.toHexString(address) + " */"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
|
||||||
|
@ -102,11 +97,6 @@ public class DebugDump implements IDebugEntryRequestor {
|
||||||
currentCU = name;
|
currentCU = name;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.utils.debug.IDebugEntryRequestor#exitCompilationUnit(long)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void exitCompilationUnit(long address) {
|
public void exitCompilationUnit(long address) {
|
||||||
write("/* Exit Compilation Unit "); //$NON-NLS-1$
|
write("/* Exit Compilation Unit "); //$NON-NLS-1$
|
||||||
|
@ -119,11 +109,6 @@ public class DebugDump implements IDebugEntryRequestor {
|
||||||
currentCU = null;
|
currentCU = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.utils.debug.IDebugEntryRequestor#enterInclude(java.lang.String)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void enterInclude(String name) {
|
public void enterInclude(String name) {
|
||||||
write("#include \"" + name + "\" "); //$NON-NLS-1$ //$NON-NLS-2$
|
write("#include \"" + name + "\" "); //$NON-NLS-1$ //$NON-NLS-2$
|
||||||
|
@ -131,22 +116,12 @@ public class DebugDump implements IDebugEntryRequestor {
|
||||||
newLine();
|
newLine();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.utils.debug.IDebugEntryRequestor#exitInclude()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void exitInclude() {
|
public void exitInclude() {
|
||||||
//write("/* Exit Include */");
|
//write("/* Exit Include */");
|
||||||
//newLine();newLine();
|
//newLine();newLine();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.utils.debug.IDebugEntryRequestor#enterFunction(java.lang.String, int, boolean, long)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void enterFunction(String name, DebugType type, boolean isGlobal, long address) {
|
public void enterFunction(String name, DebugType type, boolean isGlobal, long address) {
|
||||||
write("/* Func:" + name + " address " + Long.toHexString(address) + " */"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
|
write("/* Func:" + name + " address " + Long.toHexString(address) + " */"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
|
||||||
|
@ -158,11 +133,6 @@ public class DebugDump implements IDebugEntryRequestor {
|
||||||
paramCount = 0;
|
paramCount = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.utils.debug.IDebugEntryRequestor#exitFunction(long)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void exitFunction(long address) {
|
public void exitFunction(long address) {
|
||||||
if (paramCount > -1) {
|
if (paramCount > -1) {
|
||||||
|
@ -181,11 +151,6 @@ public class DebugDump implements IDebugEntryRequestor {
|
||||||
newLine();
|
newLine();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.utils.debug.IDebugEntryRequestor#enterCodeBlock(long)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void enterCodeBlock(long offset) {
|
public void enterCodeBlock(long offset) {
|
||||||
if (paramCount > -1) {
|
if (paramCount > -1) {
|
||||||
|
@ -198,11 +163,6 @@ public class DebugDump implements IDebugEntryRequestor {
|
||||||
bracket++;
|
bracket++;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.utils.debug.IDebugEntryRequestor#exitCodeBlock(long)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void exitCodeBlock(long offset) {
|
public void exitCodeBlock(long offset) {
|
||||||
bracket--;
|
bracket--;
|
||||||
|
@ -210,11 +170,6 @@ public class DebugDump implements IDebugEntryRequestor {
|
||||||
newLine();
|
newLine();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.utils.debug.IDebugEntryRequestor#acceptStatement(int, long)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void acceptStatement(int line, long address) {
|
public void acceptStatement(int line, long address) {
|
||||||
if (paramCount > -1) {
|
if (paramCount > -1) {
|
||||||
|
@ -229,45 +184,24 @@ public class DebugDump implements IDebugEntryRequestor {
|
||||||
newLine();
|
newLine();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.utils.debug.IDebugEntryRequestor#acceptIntegerConst(java.lang.String, long)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void acceptIntegerConst(String name, int value) {
|
public void acceptIntegerConst(String name, int value) {
|
||||||
write("const int " + name + " = " + value + ";"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
|
write("const int " + name + " = " + value + ";"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
|
||||||
newLine();
|
newLine();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.utils.debug.IDebugEntryRequestor#acceptFloatConst(java.lang.String, double)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void acceptFloatConst(String name, double value) {
|
public void acceptFloatConst(String name, double value) {
|
||||||
write("const float " + name + " = " + value + ";"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
|
write("const float " + name + " = " + value + ";"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
|
||||||
newLine();
|
newLine();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.utils.debug.IDebugEntryRequestor#acceptTypeConst(java.lang.String,
|
|
||||||
* org.eclipse.cdt.utils.debug.DebugType, int)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void acceptTypeConst(String name, DebugType type, int value) {
|
public void acceptTypeConst(String name, DebugType type, int value) {
|
||||||
write("const " + type.toString() + " " + name + " = " + value + ";"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
|
write("const " + type.toString() + " " + name + " = " + value + ";"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
|
||||||
newLine();
|
newLine();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.utils.debug.IDebugEntryRequestor#acceptParameter(java.lang.String, int, int, long)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void acceptParameter(String name, DebugType type, DebugParameterKind kind, long offset) {
|
public void acceptParameter(String name, DebugType type, DebugParameterKind kind, long offset) {
|
||||||
if (paramCount > 0) {
|
if (paramCount > 0) {
|
||||||
|
@ -277,32 +211,16 @@ public class DebugDump implements IDebugEntryRequestor {
|
||||||
write(type.toString() + " " + name + "/* " + offset + " */"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
|
write(type.toString() + " " + name + "/* " + offset + " */"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.utils.debug.IDebugEntryRequestor#acceptVariable(java.lang.String, int, int, long)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void acceptVariable(String name, DebugType type, DebugVariableKind kind, long address) {
|
public void acceptVariable(String name, DebugType type, DebugVariableKind kind, long address) {
|
||||||
write(printTabs() + type.toString() + " " + name + ";" + "/* " + Long.toHexString(address) + " */"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
|
write(printTabs() + type.toString() + " " + name + ";" + "/* " + Long.toHexString(address) + " */"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
|
||||||
newLine();
|
newLine();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.utils.debug.IDebugEntryRequestor#acceptCaughtException(java.lang.String,
|
|
||||||
* org.eclipse.cdt.utils.debug.DebugType, long)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void acceptCaughtException(String name, DebugType type, long address) {
|
public void acceptCaughtException(String name, DebugType type, long address) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.utils.debug.IDebugEntryRequestor#acceptTypeDef(java.lang.String, org.eclipse.cdt.utils.debug.DebugType)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void acceptTypeDef(String name, DebugType type) {
|
public void acceptTypeDef(String name, DebugType type) {
|
||||||
if (!name.equals(type.toString())) {
|
if (!name.equals(type.toString())) {
|
||||||
|
|
|
@ -167,12 +167,6 @@ public class GNUElfBinaryObject extends ElfBinaryObject {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.utils.elf.parser.ElfBinaryObject#addSymbols(org.eclipse.cdt.utils.elf.Elf.Symbol[],
|
|
||||||
* int, java.util.List)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
protected void addSymbols(Elf.Symbol[] array, int type, List<Symbol> list) {
|
protected void addSymbols(Elf.Symbol[] array, int type, List<Symbol> list) {
|
||||||
for (org.eclipse.cdt.utils.elf.Elf.Symbol element : array) {
|
for (org.eclipse.cdt.utils.elf.Elf.Symbol element : array) {
|
||||||
|
|
|
@ -72,11 +72,6 @@ public class SOMBinaryObject extends BinaryObjectAdapter {
|
||||||
super(parser, path, type);
|
super(parser, path, type);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.core.IBinaryParser.IBinaryObject#getSymbols()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public ISymbol[] getSymbols() {
|
public ISymbol[] getSymbols() {
|
||||||
if (hasChanged() || symbols == null) {
|
if (hasChanged() || symbols == null) {
|
||||||
|
@ -89,11 +84,6 @@ public class SOMBinaryObject extends BinaryObjectAdapter {
|
||||||
return symbols;
|
return symbols;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.utils.BinaryObjectAdapter#getBinaryObjectInfo()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
protected BinaryObjectInfo getBinaryObjectInfo() {
|
protected BinaryObjectInfo getBinaryObjectInfo() {
|
||||||
if (hasChanged() || info == null) {
|
if (hasChanged() || info == null) {
|
||||||
|
@ -106,11 +96,6 @@ public class SOMBinaryObject extends BinaryObjectAdapter {
|
||||||
return info;
|
return info;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.utils.BinaryObjectAdapter#getName()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public String getName() {
|
public String getName() {
|
||||||
if (header != null) {
|
if (header != null) {
|
||||||
|
@ -119,11 +104,6 @@ public class SOMBinaryObject extends BinaryObjectAdapter {
|
||||||
return super.getName();
|
return super.getName();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.core.IBinaryParser.IBinaryFile#getContents()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public InputStream getContents() throws IOException {
|
public InputStream getContents() throws IOException {
|
||||||
InputStream stream = null;
|
InputStream stream = null;
|
||||||
|
|
|
@ -34,12 +34,6 @@ public class XCOFF32Parser extends AbstractCExtension implements IBinaryParser {
|
||||||
|
|
||||||
private IGnuToolFactory toolFactory;
|
private IGnuToolFactory toolFactory;
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.core.IBinaryParser#getBinary(byte[],
|
|
||||||
* org.eclipse.core.runtime.IPath)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public IBinaryFile getBinary(byte[] hints, IPath path) throws IOException {
|
public IBinaryFile getBinary(byte[] hints, IPath path) throws IOException {
|
||||||
if (path == null) {
|
if (path == null) {
|
||||||
|
@ -87,42 +81,21 @@ public class XCOFF32Parser extends AbstractCExtension implements IBinaryParser {
|
||||||
return binary;
|
return binary;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.core.IBinaryParser#getBinary(org.eclipse.core.runtime.IPath)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public IBinaryFile getBinary(IPath path) throws IOException {
|
public IBinaryFile getBinary(IPath path) throws IOException {
|
||||||
return getBinary(null, path);
|
return getBinary(null, path);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.core.IBinaryParser#getFormat()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public String getFormat() {
|
public String getFormat() {
|
||||||
return "XCOFF32"; //$NON-NLS-1$
|
return "XCOFF32"; //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.core.IBinaryParser#isBinary(byte[],
|
|
||||||
* org.eclipse.core.runtime.IPath)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public boolean isBinary(byte[] hints, IPath path) {
|
public boolean isBinary(byte[] hints, IPath path) {
|
||||||
return XCoff32.isXCOFF32Header(hints) || AR.isARHeader(hints);
|
return XCoff32.isXCOFF32Header(hints) || AR.isARHeader(hints);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.core.IBinaryParser#getHintBufferSize()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public int getHintBufferSize() {
|
public int getHintBufferSize() {
|
||||||
return 512;
|
return 512;
|
||||||
|
|
|
@ -70,11 +70,6 @@ public class XCOFFBinaryObject extends BinaryObjectAdapter {
|
||||||
this.header = header;
|
this.header = header;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.core.IBinaryParser.IBinaryObject#getSymbols()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public ISymbol[] getSymbols() {
|
public ISymbol[] getSymbols() {
|
||||||
if (hasChanged() || symbols == null) {
|
if (hasChanged() || symbols == null) {
|
||||||
|
@ -87,11 +82,6 @@ public class XCOFFBinaryObject extends BinaryObjectAdapter {
|
||||||
return symbols;
|
return symbols;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.utils.BinaryObjectAdapter#getBinaryObjectInfo()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
protected BinaryObjectInfo getBinaryObjectInfo() {
|
protected BinaryObjectInfo getBinaryObjectInfo() {
|
||||||
if (hasChanged() || info == null) {
|
if (hasChanged() || info == null) {
|
||||||
|
|
|
@ -29,13 +29,6 @@ public class DeferredCWorkbenchAdapter extends CWorkbenchAdapter implements IDef
|
||||||
fCElement = element;
|
fCElement = element;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.ui.progress.IDeferredWorkbenchAdapter#fetchDeferredChildren(java.lang.Object,
|
|
||||||
* org.eclipse.jface.progress.IElementCollector,
|
|
||||||
* org.eclipse.core.runtime.IProgressMonitor)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void fetchDeferredChildren(Object object, IElementCollector collector, IProgressMonitor monitor) {
|
public void fetchDeferredChildren(Object object, IElementCollector collector, IProgressMonitor monitor) {
|
||||||
Object[] children = getChildren(object);
|
Object[] children = getChildren(object);
|
||||||
|
@ -46,21 +39,11 @@ public class DeferredCWorkbenchAdapter extends CWorkbenchAdapter implements IDef
|
||||||
collector.done();
|
collector.done();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.ui.progress.IDeferredWorkbenchAdapter#isContainer()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public boolean isContainer() {
|
public boolean isContainer() {
|
||||||
return fCElement instanceof IParent;
|
return fCElement instanceof IParent;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.ui.progress.IDeferredWorkbenchAdapter#getRule(java.lang.Object)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public ISchedulingRule getRule(final Object object) {
|
public ISchedulingRule getRule(final Object object) {
|
||||||
return fCElement.getResource();
|
return fCElement.getResource();
|
||||||
|
|
|
@ -48,10 +48,6 @@ public class FindWordAction extends TextEditorAction {
|
||||||
fFindNext = new FindNextAction(bundle, prefix, editor, true);
|
fFindNext = new FindNextAction(bundle, prefix, editor, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.eclipse.jface.action.Action#run()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
ITextEditor editor = getTextEditor();
|
ITextEditor editor = getTextEditor();
|
||||||
|
|
|
@ -60,10 +60,6 @@ public class GotoNextBookmarkAction extends TextEditorAction {
|
||||||
super(bundle, prefix, editor);
|
super(bundle, prefix, editor);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.eclipse.jface.action.Action#run()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
ITextEditor editor = getTextEditor();
|
ITextEditor editor = getTextEditor();
|
||||||
|
|
|
@ -319,11 +319,6 @@ public class BuildConsoleManager implements IBuildConsoleManager, IResourceChang
|
||||||
CUIPlugin.getDefault().getPreferenceStore().addPropertyChangeListener(this);
|
CUIPlugin.getDefault().getPreferenceStore().addPropertyChangeListener(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.jface.util.IPropertyChangeListener#propertyChange(org.eclipse.jface.util.PropertyChangeEvent)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void propertyChange(PropertyChangeEvent event) {
|
public void propertyChange(PropertyChangeEvent event) {
|
||||||
String property = event.getProperty();
|
String property = event.getProperty();
|
||||||
|
@ -453,11 +448,6 @@ public class BuildConsoleManager implements IBuildConsoleManager, IResourceChang
|
||||||
return getProjectConsolePartioner(project).getConsole();
|
return getProjectConsolePartioner(project).getConsole();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.ui.IBuildConsoleManager#getLastBuiltProject()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public IProject getLastBuiltProject() {
|
public IProject getLastBuiltProject() {
|
||||||
return fLastProject;
|
return fLastProject;
|
||||||
|
|
|
@ -211,11 +211,6 @@ public class BuildConsolePage extends Page
|
||||||
return getControl() != null;
|
return getControl() != null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.ui.part.IPage#createControl(org.eclipse.swt.widgets.Composite)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void createControl(Composite parent) {
|
public void createControl(Composite parent) {
|
||||||
fViewer = new BuildConsoleViewer(parent);
|
fViewer = new BuildConsoleViewer(parent);
|
||||||
|
@ -268,11 +263,6 @@ public class BuildConsolePage extends Page
|
||||||
menu.add(new Separator(IWorkbenchActionConstants.MB_ADDITIONS));
|
menu.add(new Separator(IWorkbenchActionConstants.MB_ADDITIONS));
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.jface.util.IPropertyChangeListener#propertyChange(org.eclipse.jface.util.PropertyChangeEvent)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void propertyChange(PropertyChangeEvent event) {
|
public void propertyChange(PropertyChangeEvent event) {
|
||||||
final Object source = event.getSource();
|
final Object source = event.getSource();
|
||||||
|
@ -387,11 +377,6 @@ public class BuildConsolePage extends Page
|
||||||
return fConsoleView;
|
return fConsoleView;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.ui.part.IPage#dispose()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void dispose() {
|
public void dispose() {
|
||||||
getSite().getPage().removeSelectionListener(this);
|
getSite().getPage().removeSelectionListener(this);
|
||||||
|
@ -480,11 +465,6 @@ public class BuildConsolePage extends Page
|
||||||
return project;
|
return project;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.ui.part.IPage#getControl()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public Control getControl() {
|
public Control getControl() {
|
||||||
if (fViewer != null) {
|
if (fViewer != null) {
|
||||||
|
@ -493,11 +473,6 @@ public class BuildConsolePage extends Page
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.ui.part.IPage#setFocus()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void setFocus() {
|
public void setFocus() {
|
||||||
Control control = getControl();
|
Control control = getControl();
|
||||||
|
@ -555,11 +530,6 @@ public class BuildConsolePage extends Page
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.jface.text.ITextListener#textChanged(org.eclipse.jface.text.TextEvent)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void textChanged(TextEvent event) {
|
public void textChanged(TextEvent event) {
|
||||||
// update the find replace action if the document length is > 0
|
// update the find replace action if the document length is > 0
|
||||||
|
|
|
@ -336,9 +336,6 @@ public class CView extends ViewPart
|
||||||
return super.getAdapter(key);
|
return super.getAdapter(key);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc) Method declared on IViewPart.
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void init(IViewSite site, IMemento memento) throws PartInitException {
|
public void init(IViewSite site, IMemento memento) throws PartInitException {
|
||||||
super.init(site, memento);
|
super.init(site, memento);
|
||||||
|
@ -595,9 +592,6 @@ public class CView extends ViewPart
|
||||||
AppearanceAwareLabelProvider.DEFAULT_IMAGEFLAGS | CElementImageProvider.SMALL_ICONS);
|
AppearanceAwareLabelProvider.DEFAULT_IMAGEFLAGS | CElementImageProvider.SMALL_ICONS);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc) Method declared on IWorkbenchPart.
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void dispose() {
|
public void dispose() {
|
||||||
if (fContextActivation != null) {
|
if (fContextActivation != null) {
|
||||||
|
@ -927,11 +921,6 @@ public class CView extends ViewPart
|
||||||
return this == getSite().getPage().getActivePart();
|
return this == getSite().getPage().getActivePart();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see IViewPartInputProvider#getViewPartInput()
|
|
||||||
*/
|
|
||||||
public Object getViewPartInput() {
|
public Object getViewPartInput() {
|
||||||
if (viewer != null) {
|
if (viewer != null) {
|
||||||
return viewer.getInput();
|
return viewer.getInput();
|
||||||
|
@ -1066,11 +1055,6 @@ public class CView extends ViewPart
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.ui.part.IShowInTarget#show(org.eclipse.ui.part.ShowInContext)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public boolean show(ShowInContext context) {
|
public boolean show(ShowInContext context) {
|
||||||
ISelection selection = context.getSelection();
|
ISelection selection = context.getSelection();
|
||||||
|
|
|
@ -249,11 +249,6 @@ abstract public class AbstractPathOptionBlock extends TabFolderOptionBlock imple
|
||||||
fCurrPage = (CPathBasePage) page;
|
fCurrPage = (CPathBasePage) page;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.ui.dialogs.ICOptionContainer#updateContainer()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void updateContainer() {
|
public void updateContainer() {
|
||||||
update();
|
update();
|
||||||
|
|
|
@ -582,11 +582,6 @@ public class CPElement {
|
||||||
return hashCode;
|
return hashCode;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see java.lang.Object#toString()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return getPathEntry().toString();
|
return getPathEntry().toString();
|
||||||
|
|
|
@ -420,11 +420,6 @@ class CPElementLabelProvider extends LabelProvider implements IColorProvider {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.jface.viewers.IColorProvider#getForeground(java.lang.Object)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public Color getForeground(Object element) {
|
public Color getForeground(Object element) {
|
||||||
if (element instanceof CPElement) {
|
if (element instanceof CPElement) {
|
||||||
|
@ -435,11 +430,6 @@ class CPElementLabelProvider extends LabelProvider implements IColorProvider {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.jface.viewers.IColorProvider#getBackground(java.lang.Object)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public Color getBackground(Object element) {
|
public Color getBackground(Object element) {
|
||||||
// TODO Auto-generated method stub
|
// TODO Auto-generated method stub
|
||||||
|
|
|
@ -448,11 +448,6 @@ public class CPathContainerEntryPage extends CPathBasePage {
|
||||||
return currEntries;
|
return currEntries;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.jdt.internal.ui.wizards.buildpaths.BuildPathBasePage#isEntryKind(int)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public boolean isEntryKind(int kind) {
|
public boolean isEntryKind(int kind) {
|
||||||
return kind == IPathEntry.CDT_CONTAINER;
|
return kind == IPathEntry.CDT_CONTAINER;
|
||||||
|
|
|
@ -87,11 +87,6 @@ public class CPathContainerWizard extends Wizard {
|
||||||
return fContainerEntries;
|
return fContainerEntries;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see IWizard#performFinish()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public boolean performFinish() {
|
public boolean performFinish() {
|
||||||
if (fContainerPage != null) {
|
if (fContainerPage != null) {
|
||||||
|
@ -110,11 +105,6 @@ public class CPathContainerWizard extends Wizard {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see IWizard#addPages()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void addPages() {
|
public void addPages() {
|
||||||
if (fPageDesc != null) {
|
if (fPageDesc != null) {
|
||||||
|
@ -166,11 +156,6 @@ public class CPathContainerWizard extends Wizard {
|
||||||
return containerPage;
|
return containerPage;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see IWizard#getNextPage(IWizardPage)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public IWizardPage getNextPage(IWizardPage page) {
|
public IWizardPage getNextPage(IWizardPage page) {
|
||||||
if (page == fSelectionWizardPage) {
|
if (page == fSelectionWizardPage) {
|
||||||
|
@ -209,11 +194,6 @@ public class CPathContainerWizard extends Wizard {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see IWizard#canFinish()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public boolean canFinish() {
|
public boolean canFinish() {
|
||||||
if (fSelectionWizardPage != null) {
|
if (fSelectionWizardPage != null) {
|
||||||
|
|
|
@ -1081,21 +1081,11 @@ public class CPathIncludeSymbolEntryPage extends CPathIncludeSymbolEntryBasePage
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.internal.ui.dialogs.cpaths.CPathBasePage#getSelection()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public List<?> getSelection() {
|
public List<?> getSelection() {
|
||||||
return fIncludeSymPathsList.getSelectedElements();
|
return fIncludeSymPathsList.getSelectedElements();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.internal.ui.dialogs.cpaths.CPathBasePage#setSelection(java.util.List)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void setSelection(List<?> selElements) {
|
public void setSelection(List<?> selElements) {
|
||||||
fIncludeSymPathsList.selectElements(new StructuredSelection(selElements));
|
fIncludeSymPathsList.selectElements(new StructuredSelection(selElements));
|
||||||
|
|
|
@ -1136,21 +1136,11 @@ public class CPathIncludeSymbolEntryPerFilePage extends CPathIncludeSymbolEntryB
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.internal.ui.dialogs.cpaths.CPathBasePage#getSelection()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public List<?> getSelection() {
|
public List<?> getSelection() {
|
||||||
return fIncludeSymPathsList.getSelectedElements();
|
return fIncludeSymPathsList.getSelectedElements();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.internal.ui.dialogs.cpaths.CPathBasePage#setSelection(java.util.List)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void setSelection(List<?> selElements) {
|
public void setSelection(List<?> selElements) {
|
||||||
fIncludeSymPathsList.selectElements(new StructuredSelection(selElements));
|
fIncludeSymPathsList.selectElements(new StructuredSelection(selElements));
|
||||||
|
|
|
@ -44,11 +44,6 @@ public class CPathOrderExportPage extends CPathBasePage {
|
||||||
fCPathList = cPathList;
|
fCPathList = cPathList;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.ui.dialogs.AbstractCOptionPage#createControl(org.eclipse.swt.widgets.Composite)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void createControl(Composite parent) {
|
public void createControl(Composite parent) {
|
||||||
PixelConverter converter = new PixelConverter(parent);
|
PixelConverter converter = new PixelConverter(parent);
|
||||||
|
@ -84,31 +79,16 @@ public class CPathOrderExportPage extends CPathBasePage {
|
||||||
fCPathList.selectElements(new StructuredSelection(selElements));
|
fCPathList.selectElements(new StructuredSelection(selElements));
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.jdt.internal.ui.wizards.buildpaths.BuildPathBasePage#isEntryKind(int)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public boolean isEntryKind(int kind) {
|
public boolean isEntryKind(int kind) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.ui.dialogs.AbstractCOptionPage#performApply(org.eclipse.core.runtime.IProgressMonitor)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void performApply(IProgressMonitor monitor) throws CoreException {
|
public void performApply(IProgressMonitor monitor) throws CoreException {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.ui.dialogs.AbstractCOptionPage#performDefaults()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void performDefaults() {
|
public void performDefaults() {
|
||||||
}
|
}
|
||||||
|
|
|
@ -550,30 +550,15 @@ public class CPathOutputEntryPage extends CPathBasePage {
|
||||||
fOutputList.selectElements(new StructuredSelection(selElements));
|
fOutputList.selectElements(new StructuredSelection(selElements));
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.jdt.internal.ui.wizards.buildpaths.BuildPathBasePage#isEntryKind(int)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public boolean isEntryKind(int kind) {
|
public boolean isEntryKind(int kind) {
|
||||||
return kind == IPathEntry.CDT_OUTPUT;
|
return kind == IPathEntry.CDT_OUTPUT;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.ui.dialogs.ICOptionPage#performApply(org.eclipse.core.runtime.IProgressMonitor)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void performApply(IProgressMonitor monitor) throws CoreException {
|
public void performApply(IProgressMonitor monitor) throws CoreException {
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.ui.dialogs.ICOptionPage#performDefaults()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void performDefaults() {
|
public void performDefaults() {
|
||||||
}
|
}
|
||||||
|
|
|
@ -75,29 +75,14 @@ public class CPathProjectsEntryPage extends CPathBasePage {
|
||||||
return PlatformUI.getWorkbench().getSharedImages().getImage(IDE.SharedImages.IMG_OBJ_PROJECT);
|
return PlatformUI.getWorkbench().getSharedImages().getImage(IDE.SharedImages.IMG_OBJ_PROJECT);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.ui.dialogs.ICOptionPage#performApply(org.eclipse.core.runtime.IProgressMonitor)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void performApply(IProgressMonitor monitor) throws CoreException {
|
public void performApply(IProgressMonitor monitor) throws CoreException {
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.ui.dialogs.ICOptionPage#performDefaults()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void performDefaults() {
|
public void performDefaults() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.jface.dialogs.IDialogPage#createControl(org.eclipse.swt.widgets.Composite)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void createControl(Composite parent) {
|
public void createControl(Composite parent) {
|
||||||
PixelConverter converter = new PixelConverter(parent);
|
PixelConverter converter = new PixelConverter(parent);
|
||||||
|
@ -209,11 +194,6 @@ public class CPathProjectsEntryPage extends CPathBasePage {
|
||||||
fProjectsList.selectElements(new StructuredSelection(selElements));
|
fProjectsList.selectElements(new StructuredSelection(selElements));
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.jdt.internal.ui.wizards.buildpaths.BuildPathBasePage#isEntryKind(int)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public boolean isEntryKind(int kind) {
|
public boolean isEntryKind(int kind) {
|
||||||
return kind == IPathEntry.CDT_PROJECT;
|
return kind == IPathEntry.CDT_PROJECT;
|
||||||
|
|
|
@ -204,22 +204,12 @@ public class CPathPropertyPage extends PropertyPage implements IStatusChangeList
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see IStatusChangeListener#statusChanged
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void statusChanged(IStatus status) {
|
public void statusChanged(IStatus status) {
|
||||||
setValid(!status.matches(IStatus.ERROR));
|
setValid(!status.matches(IStatus.ERROR));
|
||||||
StatusUtil.applyToStatusLine(this, status);
|
StatusUtil.applyToStatusLine(this, status);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.jface.preference.IPreferencePage#performCancel()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public boolean performCancel() {
|
public boolean performCancel() {
|
||||||
if (fCPathsBlock != null) {
|
if (fCPathsBlock != null) {
|
||||||
|
|
|
@ -527,30 +527,15 @@ public class CPathSourceEntryPage extends CPathBasePage {
|
||||||
fFoldersList.selectElements(new StructuredSelection(selElements));
|
fFoldersList.selectElements(new StructuredSelection(selElements));
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.jdt.internal.ui.wizards.buildpaths.BuildPathBasePage#isEntryKind(int)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public boolean isEntryKind(int kind) {
|
public boolean isEntryKind(int kind) {
|
||||||
return kind == IPathEntry.CDT_SOURCE;
|
return kind == IPathEntry.CDT_SOURCE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.ui.dialogs.AbstractCOptionPage#performApply(org.eclipse.core.runtime.IProgressMonitor)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void performApply(IProgressMonitor monitor) throws CoreException {
|
public void performApply(IProgressMonitor monitor) throws CoreException {
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see org.eclipse.cdt.ui.dialogs.AbstractCOptionPage#performDefaults()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public void performDefaults() {
|
public void performDefaults() {
|
||||||
}
|
}
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue