mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-59344 Made fields public, storage file - WORKSPACE_FILE
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user