Browse files

Made a component package.

  • Loading branch information...
1 parent a5a204e commit 72b23fd6768fdbed7212162ea6838372fbf79bd5 @gshakhn committed Jan 8, 2012
View
2 ...ar/ide/intellij/SonarModuleComponent.java → ...ellij/component/SonarModuleComponent.java
@@ -1,4 +1,4 @@
-package org.sonar.ide.intellij;
+package org.sonar.ide.intellij.component;
import org.sonar.wsclient.Sonar;
View
8 ...de/intellij/SonarModuleComponentImpl.java → ...j/component/SonarModuleComponentImpl.java
@@ -1,4 +1,4 @@
-package org.sonar.ide.intellij;
+package org.sonar.ide.intellij.component;
import com.intellij.openapi.components.PersistentStateComponent;
import com.intellij.openapi.components.State;
@@ -19,7 +19,7 @@
@State(name = "SonarConfiguration", storages = {@Storage(id = "other", file = "$MODULE_FILE$")})
public class SonarModuleComponentImpl implements SonarModuleComponent, ModuleComponent, PersistentStateComponent<SonarModuleComponent.State> {
- private State myState = new State();
+ private com.intellij.openapi.components.State myState = new com.intellij.openapi.components.State();
public SonarModuleComponentImpl() {
}
@@ -51,12 +51,12 @@ public void moduleAdded() {
}
@Override
- public State getState() {
+ public com.intellij.openapi.components.State getState() {
return myState;
}
@Override
- public void loadState(State state) {
+ public void loadState(com.intellij.openapi.components.State state) {
myState = state;
}
View
2 src/main/java/org/sonar/ide/intellij/model/ViolationTableModel.java
@@ -12,7 +12,7 @@
import com.intellij.psi.PsiFile;
import com.intellij.psi.PsiJavaFile;
import com.intellij.psi.PsiManager;
-import org.sonar.ide.intellij.SonarModuleComponent;
+import org.sonar.ide.intellij.component.SonarModuleComponent;
import org.sonar.wsclient.Sonar;
import org.sonar.wsclient.services.Source;
import org.sonar.wsclient.services.SourceQuery;
View
2 src/main/java/org/sonar/ide/intellij/ui/SonarModuleConfiguration.java
@@ -5,7 +5,7 @@
import com.intellij.openapi.options.ConfigurationException;
import org.apache.commons.lang.StringUtils;
import org.jetbrains.annotations.Nls;
-import org.sonar.ide.intellij.SonarModuleComponent;
+import org.sonar.ide.intellij.component.SonarModuleComponent;
import org.sonar.ide.intellij.model.ProjectComboBoxModel;
import org.sonar.wsclient.Host;
import org.sonar.wsclient.Sonar;
View
4 src/main/resources/META-INF/plugin.xml
@@ -25,8 +25,8 @@
</extensions>
<module-components>
<component>
- <interface-class>org.sonar.ide.intellij.SonarModuleComponent</interface-class>
- <implementation-class>org.sonar.ide.intellij.SonarModuleComponentImpl</implementation-class>
+ <interface-class>org.sonar.ide.intellij.component.SonarModuleComponent</interface-class>
+ <implementation-class>org.sonar.ide.intellij.component.SonarModuleComponentImpl</implementation-class>
</component>
</module-components>
</idea-plugin>

0 comments on commit 72b23fd

Please sign in to comment.