1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00

[279740] - renamed some packages to internal

This commit is contained in:
Alena Laskavaia 2010-03-08 15:04:53 +00:00
parent f9f808080d
commit b99ecd97c7
21 changed files with 42 additions and 42 deletions

View file

@ -4,7 +4,7 @@
<extension <extension
point="org.eclipse.ui.ide.markerResolution"> point="org.eclipse.ui.ide.markerResolution">
<markerResolutionGenerator <markerResolutionGenerator
class="org.eclipse.cdt.codan.checkers.ui.quickfix.CodanProblemMarkerResolutionGenerator" class="org.eclipse.cdt.codan.internal.checkers.ui.quickfix.CodanProblemMarkerResolutionGenerator"
markerType="org.eclipse.cdt.codan.core.codanProblem"> markerType="org.eclipse.cdt.codan.core.codanProblem">
</markerResolutionGenerator> </markerResolutionGenerator>
</extension> </extension>

View file

@ -8,7 +8,7 @@
* Contributors: * Contributors:
* Andrew Gvozdev - initial API and implementation * Andrew Gvozdev - initial API and implementation
*******************************************************************************/ *******************************************************************************/
package org.eclipse.cdt.codan.checkers.ui.quickfix; package org.eclipse.cdt.codan.internal.checkers.ui.quickfix;
import java.util.regex.Matcher; import java.util.regex.Matcher;
import java.util.regex.Pattern; import java.util.regex.Pattern;

View file

@ -8,7 +8,7 @@
* Contributors: * Contributors:
* Andrew Gvozdev - initial API and implementation * Andrew Gvozdev - initial API and implementation
*******************************************************************************/ *******************************************************************************/
package org.eclipse.cdt.codan.checkers.ui.quickfix; package org.eclipse.cdt.codan.internal.checkers.ui.quickfix;
import org.eclipse.core.resources.IFile; import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IMarker; import org.eclipse.core.resources.IMarker;

View file

@ -3,7 +3,7 @@ Bundle-ManifestVersion: 2
Bundle-Name: Checkers Bundle-Name: Checkers
Bundle-SymbolicName: org.eclipse.cdt.codan.checkers;singleton:=true Bundle-SymbolicName: org.eclipse.cdt.codan.checkers;singleton:=true
Bundle-Version: 1.0.0 Bundle-Version: 1.0.0
Bundle-Activator: org.eclipse.cdt.codan.checkers.Activator Bundle-Activator: org.eclipse.cdt.codan.checkers.CodanCheckersActivator
Require-Bundle: org.eclipse.core.runtime, Require-Bundle: org.eclipse.core.runtime,
org.eclipse.core.resources;bundle-version="3.5.0", org.eclipse.core.resources;bundle-version="3.5.0",
org.eclipse.cdt.core;bundle-version="5.1.0", org.eclipse.cdt.core;bundle-version="5.1.0",

View file

@ -6,7 +6,7 @@
id="org.eclipse.cdt.codan.core.checkers.sample"> id="org.eclipse.cdt.codan.core.checkers.sample">
<checker <checker
class="org.eclipse.cdt.codan.checkers.sample.AssignmentInConditionChecker" class="org.eclipse.cdt.codan.internal.checkers.sample.AssignmentInConditionChecker"
id="org.eclipse.cdt.codan.checkers.sample.AssignmentInConditionChecker" id="org.eclipse.cdt.codan.checkers.sample.AssignmentInConditionChecker"
name="Assignment in condition"> name="Assignment in condition">
<problem <problem
@ -18,7 +18,7 @@
</checker> </checker>
<checker <checker
class="org.eclipse.cdt.codan.checkers.sample.StatementHasNoEffectChecker" class="org.eclipse.cdt.codan.internal.checkers.sample.StatementHasNoEffectChecker"
id="org.eclipse.cdt.codan.checkers.sample.StatementHasNoEffectChecker" id="org.eclipse.cdt.codan.checkers.sample.StatementHasNoEffectChecker"
name="StatementHasNoEffectChecker"> name="StatementHasNoEffectChecker">
<problem <problem
@ -30,7 +30,7 @@
</checker> </checker>
<checker <checker
class="org.eclipse.cdt.codan.checkers.sample.NonVirtualDestructor" class="org.eclipse.cdt.codan.internal.checkers.sample.NonVirtualDestructor"
id="org.eclipse.cdt.codan.checkers.sample.NonVirtualDescructor" id="org.eclipse.cdt.codan.checkers.sample.NonVirtualDescructor"
name="NonVirtualDescructorChecker"> name="NonVirtualDescructorChecker">
<problem <problem
@ -42,7 +42,7 @@
</checker> </checker>
<checker <checker
class="org.eclipse.cdt.codan.checkers.sample.CatchUsesReference" class="org.eclipse.cdt.codan.internal.checkers.sample.CatchUsesReference"
id="org.eclipse.cdt.codan.checkers.sample.CatchUsesReference" id="org.eclipse.cdt.codan.checkers.sample.CatchUsesReference"
name="CatchUsesReferenceChecker"> name="CatchUsesReferenceChecker">
<problem <problem
@ -53,7 +53,7 @@
</problem> </problem>
</checker> </checker>
<checker <checker
class="org.eclipse.cdt.codan.checkers.sample.SuggestedParenthesisChecker" class="org.eclipse.cdt.codan.internal.checkers.sample.SuggestedParenthesisChecker"
id="org.eclipse.cdt.codan.checkers.sample.SuggestedParenthesisChecker" id="org.eclipse.cdt.codan.checkers.sample.SuggestedParenthesisChecker"
name="SuggestedParenthesisChecker"> name="SuggestedParenthesisChecker">
<problem <problem
@ -64,7 +64,7 @@
</problem> </problem>
</checker> </checker>
<checker <checker
class="org.eclipse.cdt.codan.checkers.sample.NamingConventionFunctionChecker" class="org.eclipse.cdt.codan.internal.checkers.sample.NamingConventionFunctionChecker"
id="org.eclipse.cdt.codan.checkers.sample.NamingConventionFunctionChecker" id="org.eclipse.cdt.codan.checkers.sample.NamingConventionFunctionChecker"
name="NamingConventionFunctionChecker"> name="NamingConventionFunctionChecker">
<problem <problem

View file

@ -8,16 +8,16 @@ import org.osgi.framework.BundleContext;
/** /**
* The activator class controls the plug-in life cycle * The activator class controls the plug-in life cycle
*/ */
public class Activator extends Plugin { public class CodanCheckersActivator extends Plugin {
// The plug-in ID // The plug-in ID
public static final String PLUGIN_ID = "org.eclipse.cdt.codan.checkers"; public static final String PLUGIN_ID = "org.eclipse.cdt.codan.checkers";
// The shared instance // The shared instance
private static Activator plugin; private static CodanCheckersActivator plugin;
/** /**
* The constructor * The constructor
*/ */
public Activator() { public CodanCheckersActivator() {
} }
/* /*
@ -49,7 +49,7 @@ public class Activator extends Plugin {
* *
* @return the shared instance * @return the shared instance
*/ */
public static Activator getDefault() { public static CodanCheckersActivator getDefault() {
return plugin; return plugin;
} }

View file

@ -8,7 +8,7 @@
* Contributors: * Contributors:
* Alena Laskavaia - initial API and implementation * Alena Laskavaia - initial API and implementation
*******************************************************************************/ *******************************************************************************/
package org.eclipse.cdt.codan.checkers.sample; package org.eclipse.cdt.codan.internal.checkers.sample;
import org.eclipse.cdt.codan.core.model.AbstractIndexAstChecker; import org.eclipse.cdt.codan.core.model.AbstractIndexAstChecker;
import org.eclipse.cdt.core.dom.ast.ASTNodeProperty; import org.eclipse.cdt.core.dom.ast.ASTNodeProperty;
@ -20,7 +20,7 @@ import org.eclipse.cdt.core.dom.ast.IASTIfStatement;
import org.eclipse.cdt.core.dom.ast.IASTTranslationUnit; import org.eclipse.cdt.core.dom.ast.IASTTranslationUnit;
public class AssignmentInConditionChecker extends AbstractIndexAstChecker { public class AssignmentInConditionChecker extends AbstractIndexAstChecker {
private static final String ER_ID = "org.eclipse.cdt.codan.checkers.sample.AssignmentInConditionProblem"; private static final String ER_ID = "org.eclipse.cdt.codan.internal.checkers.sample.AssignmentInConditionProblem";
public void processAst(IASTTranslationUnit ast) { public void processAst(IASTTranslationUnit ast) {
// traverse the ast using the visitor pattern. // traverse the ast using the visitor pattern.

View file

@ -9,7 +9,7 @@
* Alena Laskavaia - initial API and implementation * Alena Laskavaia - initial API and implementation
*******************************************************************************/ *******************************************************************************/
package org.eclipse.cdt.codan.checkers.sample; package org.eclipse.cdt.codan.internal.checkers.sample;
import org.eclipse.cdt.codan.core.model.AbstractIndexAstChecker; import org.eclipse.cdt.codan.core.model.AbstractIndexAstChecker;
import org.eclipse.cdt.core.dom.ast.ASTVisitor; import org.eclipse.cdt.core.dom.ast.ASTVisitor;
@ -28,7 +28,7 @@ import org.eclipse.cdt.core.dom.ast.cpp.ICPPASTTryBlockStatement;
* *
*/ */
public class CatchUsesReference extends AbstractIndexAstChecker { public class CatchUsesReference extends AbstractIndexAstChecker {
private static final String ER_ID = "org.eclipse.cdt.codan.checkers.sample.CatchUsesReference"; private static final String ER_ID = "org.eclipse.cdt.codan.internal.checkers.sample.CatchUsesReference";
public void processAst(IASTTranslationUnit ast) { public void processAst(IASTTranslationUnit ast) {
// traverse the ast using the visitor pattern. // traverse the ast using the visitor pattern.

View file

@ -8,7 +8,7 @@
* Contributors: * Contributors:
* Alena Laskavaia - initial API and implementation * Alena Laskavaia - initial API and implementation
*******************************************************************************/ *******************************************************************************/
package org.eclipse.cdt.codan.checkers.sample; package org.eclipse.cdt.codan.internal.checkers.sample;
import java.util.regex.Pattern; import java.util.regex.Pattern;
import org.eclipse.cdt.codan.core.model.AbstractCIndexChecker; import org.eclipse.cdt.codan.core.model.AbstractCIndexChecker;
@ -28,7 +28,7 @@ import org.eclipse.core.runtime.CoreException;
public class NamingConventionFunctionChecker extends AbstractCIndexChecker public class NamingConventionFunctionChecker extends AbstractCIndexChecker
implements ICheckerWithParameters { implements ICheckerWithParameters {
public static final String PARAM_KEY = "pattern"; public static final String PARAM_KEY = "pattern";
private static final String ER_ID = "org.eclipse.cdt.codan.checkers.sample.NamingConventionFunctionProblem"; private static final String ER_ID = "org.eclipse.cdt.codan.internal.checkers.sample.NamingConventionFunctionProblem";
/* /*
* (non-Javadoc) * (non-Javadoc)

View file

@ -8,11 +8,11 @@
* Contributors: * Contributors:
* Alena Laskavaia - initial API and implementation * Alena Laskavaia - initial API and implementation
*******************************************************************************/ *******************************************************************************/
package org.eclipse.cdt.codan.checkers.sample; package org.eclipse.cdt.codan.internal.checkers.sample;
import java.text.MessageFormat; import java.text.MessageFormat;
import org.eclipse.cdt.codan.checkers.Activator; import org.eclipse.cdt.codan.checkers.CodanCheckersActivator;
import org.eclipse.cdt.codan.core.model.AbstractIndexAstChecker; import org.eclipse.cdt.codan.core.model.AbstractIndexAstChecker;
import org.eclipse.cdt.core.dom.ast.ASTVisitor; import org.eclipse.cdt.core.dom.ast.ASTVisitor;
import org.eclipse.cdt.core.dom.ast.DOMException; import org.eclipse.cdt.core.dom.ast.DOMException;
@ -33,7 +33,7 @@ import org.eclipse.cdt.internal.core.dom.parser.cpp.ICPPInternalBinding;
* *
*/ */
public class NonVirtualDestructor extends AbstractIndexAstChecker { public class NonVirtualDestructor extends AbstractIndexAstChecker {
private static final String ER_ID = "org.eclipse.cdt.codan.checkers.sample.NonVirtualDestructorProblem"; private static final String ER_ID = "org.eclipse.cdt.codan.internal.checkers.sample.NonVirtualDestructorProblem";
public void processAst(IASTTranslationUnit ast) { public void processAst(IASTTranslationUnit ast) {
// traverse the ast using the visitor pattern. // traverse the ast using the visitor pattern.
@ -74,7 +74,7 @@ public class NonVirtualDestructor extends AbstractIndexAstChecker {
} catch (DOMException e) { } catch (DOMException e) {
// ignore, no error // ignore, no error
} catch (Exception e) { } catch (Exception e) {
Activator.log(e); CodanCheckersActivator.log(e);
} }
return PROCESS_SKIP; return PROCESS_SKIP;
} }

View file

@ -8,7 +8,7 @@
* Contributors: * Contributors:
* Alena Laskavaia - initial API and implementation * Alena Laskavaia - initial API and implementation
*******************************************************************************/ *******************************************************************************/
package org.eclipse.cdt.codan.checkers.sample; package org.eclipse.cdt.codan.internal.checkers.sample;
import org.eclipse.cdt.codan.core.model.AbstractIndexAstChecker; import org.eclipse.cdt.codan.core.model.AbstractIndexAstChecker;
import org.eclipse.cdt.core.dom.ast.ASTVisitor; import org.eclipse.cdt.core.dom.ast.ASTVisitor;
@ -36,7 +36,7 @@ import org.eclipse.cdt.internal.core.dom.parser.cpp.CPPASTBinaryExpression;
* *
*/ */
public class StatementHasNoEffectChecker extends AbstractIndexAstChecker { public class StatementHasNoEffectChecker extends AbstractIndexAstChecker {
private static final String ER_ID = "org.eclipse.cdt.codan.checkers.sample.StatementHasNoEffectProblem"; private static final String ER_ID = "org.eclipse.cdt.codan.internal.checkers.sample.StatementHasNoEffectProblem";
public void processAst(IASTTranslationUnit ast) { public void processAst(IASTTranslationUnit ast) {
// traverse the ast using the visitor pattern. // traverse the ast using the visitor pattern.

View file

@ -8,7 +8,7 @@
* Contributors: * Contributors:
* Alena Laskavaia - initial API and implementation * Alena Laskavaia - initial API and implementation
*******************************************************************************/ *******************************************************************************/
package org.eclipse.cdt.codan.checkers.sample; package org.eclipse.cdt.codan.internal.checkers.sample;
import org.eclipse.cdt.codan.core.model.AbstractIndexAstChecker; import org.eclipse.cdt.codan.core.model.AbstractIndexAstChecker;
import org.eclipse.cdt.core.dom.ast.ASTNodeProperty; import org.eclipse.cdt.core.dom.ast.ASTNodeProperty;
@ -29,7 +29,7 @@ import org.eclipse.cdt.core.dom.ast.IASTUnaryExpression;
* *
*/ */
public class SuggestedParenthesisChecker extends AbstractIndexAstChecker { public class SuggestedParenthesisChecker extends AbstractIndexAstChecker {
private static final String ER_ID = "org.eclipse.cdt.codan.checkers.sample.SuggestedParenthesisProblem"; private static final String ER_ID = "org.eclipse.cdt.codan.internal.checkers.sample.SuggestedParenthesisProblem";
public void processAst(IASTTranslationUnit ast) { public void processAst(IASTTranslationUnit ast) {
// traverse the ast using the visitor pattern. // traverse the ast using the visitor pattern.

View file

@ -3,7 +3,7 @@ Bundle-ManifestVersion: 2
Bundle-Name: Code Analyzers Framework Bundle-Name: Code Analyzers Framework
Bundle-SymbolicName: org.eclipse.cdt.codan.ui; singleton:=true Bundle-SymbolicName: org.eclipse.cdt.codan.ui; singleton:=true
Bundle-Version: 1.0.0 Bundle-Version: 1.0.0
Bundle-Activator: org.eclipse.cdt.codan.ui.Activator Bundle-Activator: org.eclipse.cdt.codan.ui.CodanUIActivator
Bundle-Vendor: Eclipse Bundle-Vendor: Eclipse
Require-Bundle: org.eclipse.ui, Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime, org.eclipse.core.runtime,

View file

@ -12,7 +12,7 @@
id="org.eclipse.cdt.codan.ui.runaction"> id="org.eclipse.cdt.codan.ui.runaction">
<action <action
label="Run Code Analysis" label="Run Code Analysis"
class="org.eclipse.cdt.codan.ui.actions.RunCodeAnalysis" class="org.eclipse.cdt.codan.internal.ui.actions.RunCodeAnalysis"
menubarPath="additions" menubarPath="additions"
enablesFor="+" enablesFor="+"
id="org.eclipse.cdt.codan.ui.actions.RunCodeAnalysis"> id="org.eclipse.cdt.codan.ui.actions.RunCodeAnalysis">
@ -65,6 +65,6 @@
<extension <extension
point="org.eclipse.ui.startup"> point="org.eclipse.ui.startup">
<startup <startup
class="org.eclipse.cdt.codan.ui.Startup"></startup> class="org.eclipse.cdt.codan.internal.ui.Startup"></startup>
</extension> </extension>
</plugin> </plugin>

View file

@ -8,7 +8,7 @@
* Contributors: * Contributors:
* Alena Laskavaia - initial API and implementation * Alena Laskavaia - initial API and implementation
*******************************************************************************/ *******************************************************************************/
package org.eclipse.cdt.codan.ui; package org.eclipse.cdt.codan.internal.ui;
import org.eclipse.cdt.codan.core.CodanRuntime; import org.eclipse.cdt.codan.core.CodanRuntime;
import org.eclipse.cdt.core.dom.ast.IASTTranslationUnit; import org.eclipse.cdt.core.dom.ast.IASTTranslationUnit;

View file

@ -8,7 +8,7 @@
* Contributors: * Contributors:
* Alena Laskavaia - initial API and implementation * Alena Laskavaia - initial API and implementation
*******************************************************************************/ *******************************************************************************/
package org.eclipse.cdt.codan.ui; package org.eclipse.cdt.codan.internal.ui;
import org.eclipse.ui.IEditorReference; import org.eclipse.ui.IEditorReference;
import org.eclipse.ui.IPartListener2; import org.eclipse.ui.IPartListener2;

View file

@ -8,7 +8,7 @@
* Contributors: * Contributors:
* Alena Laskavaia - initial API and implementation * Alena Laskavaia - initial API and implementation
*******************************************************************************/ *******************************************************************************/
package org.eclipse.cdt.codan.ui.actions; package org.eclipse.cdt.codan.internal.ui.actions;
import java.util.Iterator; import java.util.Iterator;

View file

@ -8,7 +8,7 @@
* Contributors: * Contributors:
* Alena Laskavaia - initial API and implementation * Alena Laskavaia - initial API and implementation
*******************************************************************************/ *******************************************************************************/
package org.eclipse.cdt.codan.ui.actions; package org.eclipse.cdt.codan.internal.ui.actions;
import java.util.Iterator; import java.util.Iterator;

View file

@ -2,7 +2,7 @@ package org.eclipse.cdt.codan.internal.ui.preferences;
import org.eclipse.cdt.codan.core.CodanCorePlugin; import org.eclipse.cdt.codan.core.CodanCorePlugin;
import org.eclipse.cdt.codan.core.PreferenceConstants; import org.eclipse.cdt.codan.core.PreferenceConstants;
import org.eclipse.cdt.codan.ui.actions.ToggleNatureAction; import org.eclipse.cdt.codan.internal.ui.actions.ToggleNatureAction;
import org.eclipse.core.resources.IProject; import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.ProjectScope; import org.eclipse.core.resources.ProjectScope;
import org.eclipse.core.runtime.IAdaptable; import org.eclipse.core.runtime.IAdaptable;
@ -21,7 +21,7 @@ public class BuildPropertyPage extends FieldEditorPreferencePage implements
* *
*/ */
public BuildPropertyPage() { public BuildPropertyPage() {
setPreferenceStore(org.eclipse.cdt.codan.ui.Activator.getDefault() setPreferenceStore(org.eclipse.cdt.codan.ui.CodanUIActivator.getDefault()
.getPreferenceStore()); .getPreferenceStore());
} }

View file

@ -25,7 +25,7 @@ public class PreferenceInitializer extends AbstractPreferenceInitializer {
* @see org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer#initializeDefaultPreferences() * @see org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer#initializeDefaultPreferences()
*/ */
public void initializeDefaultPreferences() { public void initializeDefaultPreferences() {
IPreferenceStore store = org.eclipse.cdt.codan.ui.Activator IPreferenceStore store = org.eclipse.cdt.codan.ui.CodanUIActivator
.getDefault().getPreferenceStore(); .getDefault().getPreferenceStore();
store.setDefault(PreferenceConstants.P_RUN_ON_BUILD, false); store.setDefault(PreferenceConstants.P_RUN_ON_BUILD, false);
} }

View file

@ -9,16 +9,16 @@ import org.osgi.framework.BundleContext;
/** /**
* The activator class controls the plug-in life cycle * The activator class controls the plug-in life cycle
*/ */
public class Activator extends AbstractUIPlugin { public class CodanUIActivator extends AbstractUIPlugin {
// The plug-in ID // The plug-in ID
public static final String PLUGIN_ID = "org.eclipse.cdt.codan.ui"; public static final String PLUGIN_ID = "org.eclipse.cdt.codan.ui";
// The shared instance // The shared instance
private static Activator plugin; private static CodanUIActivator plugin;
/** /**
* The constructor * The constructor
*/ */
public Activator() { public CodanUIActivator() {
} }
/* /*
@ -50,7 +50,7 @@ public class Activator extends AbstractUIPlugin {
* *
* @return the shared instance * @return the shared instance
*/ */
public static Activator getDefault() { public static CodanUIActivator getDefault() {
return plugin; return plugin;
} }