IDEA-59344 Made fields public, storage file - WORKSPACE_FILE

This commit is contained in:
Kirill Likhodedov
2010-11-15 09:58:14 +03:00
parent df0b12c48e
commit 4b340fd720
@@ -18,13 +18,18 @@ import com.intellij.openapi.components.Storage;
@State(
name = "hg4idea.settings",
storages = @Storage(id = "hg4idea.settings", file = "$PROJECT_FILE$")
storages = @Storage(id = "hg4idea.settings", file = "$WORKSPACE_FILE$")
)
public class HgProjectSettings implements PersistentStateComponent<HgProjectSettings.State> {
private boolean myCheckIncoming = true;
private boolean myCheckOutgoing = true;
public static class State {
public boolean myCheckIncoming = true;
public boolean myCheckOutgoing = true;
}
public State getState() {
final State s = new State();
s.myCheckIncoming = myCheckIncoming;
@@ -69,8 +74,4 @@ public class HgProjectSettings implements PersistentStateComponent<HgProjectSett
HgGlobalSettings.getInstance().setHgExecutable(text);
}
public static class State {
private boolean myCheckIncoming;
private boolean myCheckOutgoing;
}
}