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
point="org.eclipse.ui.ide.markerResolution">
<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">
</markerResolutionGenerator>
</extension>

View file

@ -8,7 +8,7 @@
* Contributors:
* 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.Pattern;

View file

@ -8,7 +8,7 @@
* Contributors:
* 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.IMarker;

View file

@ -3,7 +3,7 @@ Bundle-ManifestVersion: 2
Bundle-Name: Checkers
Bundle-SymbolicName: org.eclipse.cdt.codan.checkers;singleton:=true
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,
org.eclipse.core.resources;bundle-version="3.5.0",
org.eclipse.cdt.core;bundle-version="5.1.0",

View file

@ -6,7 +6,7 @@
id="org.eclipse.cdt.codan.core.checkers.sample">
<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"
name="Assignment in condition">
<problem
@ -18,7 +18,7 @@
</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"
name="StatementHasNoEffectChecker">
<problem
@ -30,7 +30,7 @@
</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"
name="NonVirtualDescructorChecker">
<problem
@ -42,7 +42,7 @@
</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"
name="CatchUsesReferenceChecker">
<problem
@ -53,7 +53,7 @@
</problem>
</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"
name="SuggestedParenthesisChecker">
<problem
@ -64,7 +64,7 @@
</problem>
</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"
name="NamingConventionFunctionChecker">
<problem

View file

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

View file

@ -8,7 +8,7 @@
* Contributors:
* 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.core.dom.ast.ASTNodeProperty;
@ -20,7 +20,7 @@ import org.eclipse.cdt.core.dom.ast.IASTIfStatement;
import org.eclipse.cdt.core.dom.ast.IASTTranslationUnit;
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) {
// traverse the ast using the visitor pattern.

View file

@ -9,7 +9,7 @@
* 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.core.dom.ast.ASTVisitor;
@ -28,7 +28,7 @@ import org.eclipse.cdt.core.dom.ast.cpp.ICPPASTTryBlockStatement;
*
*/
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) {
// traverse the ast using the visitor pattern.

View file

@ -8,7 +8,7 @@
* Contributors:
* 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 org.eclipse.cdt.codan.core.model.AbstractCIndexChecker;
@ -28,7 +28,7 @@ import org.eclipse.core.runtime.CoreException;
public class NamingConventionFunctionChecker extends AbstractCIndexChecker
implements ICheckerWithParameters {
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)

View file

@ -8,11 +8,11 @@
* Contributors:
* 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 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.core.dom.ast.ASTVisitor;
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 {
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) {
// traverse the ast using the visitor pattern.
@ -74,7 +74,7 @@ public class NonVirtualDestructor extends AbstractIndexAstChecker {
} catch (DOMException e) {
// ignore, no error
} catch (Exception e) {
Activator.log(e);
CodanCheckersActivator.log(e);
}
return PROCESS_SKIP;
}

View file

@ -8,7 +8,7 @@
* Contributors:
* 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.core.dom.ast.ASTVisitor;
@ -36,7 +36,7 @@ import org.eclipse.cdt.internal.core.dom.parser.cpp.CPPASTBinaryExpression;
*
*/
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) {
// traverse the ast using the visitor pattern.

View file

@ -8,7 +8,7 @@
* Contributors:
* 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.core.dom.ast.ASTNodeProperty;
@ -29,7 +29,7 @@ import org.eclipse.cdt.core.dom.ast.IASTUnaryExpression;
*
*/
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) {
// traverse the ast using the visitor pattern.

View file

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

View file

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

View file

@ -8,7 +8,7 @@
* Contributors:
* 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.core.dom.ast.IASTTranslationUnit;

View file

@ -8,7 +8,7 @@
* Contributors:
* 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.IPartListener2;

View file

@ -8,7 +8,7 @@
* Contributors:
* 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;

View file

@ -8,7 +8,7 @@
* Contributors:
* 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;

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.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.ProjectScope;
import org.eclipse.core.runtime.IAdaptable;
@ -21,7 +21,7 @@ public class BuildPropertyPage extends FieldEditorPreferencePage implements
*
*/
public BuildPropertyPage() {
setPreferenceStore(org.eclipse.cdt.codan.ui.Activator.getDefault()
setPreferenceStore(org.eclipse.cdt.codan.ui.CodanUIActivator.getDefault()
.getPreferenceStore());
}

View file

@ -25,7 +25,7 @@ public class PreferenceInitializer extends AbstractPreferenceInitializer {
* @see org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer#initializeDefaultPreferences()
*/
public void initializeDefaultPreferences() {
IPreferenceStore store = org.eclipse.cdt.codan.ui.Activator
IPreferenceStore store = org.eclipse.cdt.codan.ui.CodanUIActivator
.getDefault().getPreferenceStore();
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
*/
public class Activator extends AbstractUIPlugin {
public class CodanUIActivator extends AbstractUIPlugin {
// The plug-in ID
public static final String PLUGIN_ID = "org.eclipse.cdt.codan.ui";
// The shared instance
private static Activator plugin;
private static CodanUIActivator plugin;
/**
* The constructor
*/
public Activator() {
public CodanUIActivator() {
}
/*
@ -50,7 +50,7 @@ public class Activator extends AbstractUIPlugin {
*
* @return the shared instance
*/
public static Activator getDefault() {
public static CodanUIActivator getDefault() {
return plugin;
}