mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
annotations reformatted
This commit is contained in:
@@ -71,8 +71,8 @@ import java.util.*;
|
||||
@State(
|
||||
name = "CompilerConfiguration",
|
||||
storages = {
|
||||
@Storage( file = StoragePathMacros.PROJECT_FILE),
|
||||
@Storage( file = StoragePathMacros.PROJECT_CONFIG_DIR + "/compiler.xml", scheme = StorageScheme.DIRECTORY_BASED)
|
||||
@Storage(file = StoragePathMacros.PROJECT_FILE),
|
||||
@Storage(file = StoragePathMacros.PROJECT_CONFIG_DIR + "/compiler.xml", scheme = StorageScheme.DIRECTORY_BASED)
|
||||
}
|
||||
)
|
||||
public class CompilerConfigurationImpl extends CompilerConfiguration implements PersistentStateComponent<Element>, ProjectComponent {
|
||||
|
||||
+3
-3
@@ -25,9 +25,9 @@ import com.intellij.openapi.project.Project;
|
||||
@State(
|
||||
name = "CompilerAPISettings",
|
||||
storages = {
|
||||
@Storage( file = StoragePathMacros.PROJECT_FILE)
|
||||
,@Storage( file = StoragePathMacros.PROJECT_CONFIG_DIR + "/compiler.xml", scheme = StorageScheme.DIRECTORY_BASED)
|
||||
}
|
||||
@Storage(file = StoragePathMacros.PROJECT_FILE),
|
||||
@Storage(file = StoragePathMacros.PROJECT_CONFIG_DIR + "/compiler.xml", scheme = StorageScheme.DIRECTORY_BASED)
|
||||
}
|
||||
)
|
||||
public class CompilerAPIConfiguration extends JavacConfiguration {
|
||||
public CompilerAPIConfiguration(Project project) {
|
||||
|
||||
+3
-3
@@ -24,9 +24,9 @@ import org.jetbrains.jps.model.java.compiler.EclipseCompilerOptions;
|
||||
@State(
|
||||
name = "EclipseCompilerSettings",
|
||||
storages = {
|
||||
@Storage( file = StoragePathMacros.PROJECT_FILE)
|
||||
,@Storage( file = StoragePathMacros.PROJECT_CONFIG_DIR + "/compiler.xml", scheme = StorageScheme.DIRECTORY_BASED)
|
||||
}
|
||||
@Storage(file = StoragePathMacros.PROJECT_FILE),
|
||||
@Storage(file = StoragePathMacros.PROJECT_CONFIG_DIR + "/compiler.xml", scheme = StorageScheme.DIRECTORY_BASED)
|
||||
}
|
||||
)
|
||||
public class EclipseCompilerConfiguration implements PersistentStateComponent<EclipseCompilerOptions> {
|
||||
private final EclipseCompilerOptions mySettings = new EclipseCompilerOptions();
|
||||
|
||||
+3
-3
@@ -23,9 +23,9 @@ import com.intellij.openapi.components.StorageScheme;
|
||||
@State(
|
||||
name = "EclipseEmbeddedCompilerSettings",
|
||||
storages = {
|
||||
@Storage( file = StoragePathMacros.PROJECT_FILE)
|
||||
,@Storage( file = StoragePathMacros.PROJECT_CONFIG_DIR + "/compiler.xml", scheme = StorageScheme.DIRECTORY_BASED)
|
||||
}
|
||||
@Storage(file = StoragePathMacros.PROJECT_FILE),
|
||||
@Storage(file = StoragePathMacros.PROJECT_CONFIG_DIR + "/compiler.xml", scheme = StorageScheme.DIRECTORY_BASED)
|
||||
}
|
||||
)
|
||||
public class EclipseEmbeddedCompilerConfiguration extends EclipseCompilerConfiguration {
|
||||
}
|
||||
+3
-3
@@ -24,9 +24,9 @@ import org.jetbrains.jps.model.java.compiler.JpsJavaCompilerOptions;
|
||||
@State(
|
||||
name = "JavacSettings",
|
||||
storages = {
|
||||
@Storage( file = StoragePathMacros.PROJECT_FILE)
|
||||
,@Storage( file = StoragePathMacros.PROJECT_CONFIG_DIR + "/compiler.xml", scheme = StorageScheme.DIRECTORY_BASED)
|
||||
}
|
||||
@Storage(file = StoragePathMacros.PROJECT_FILE),
|
||||
@Storage(file = StoragePathMacros.PROJECT_CONFIG_DIR + "/compiler.xml", scheme = StorageScheme.DIRECTORY_BASED)
|
||||
}
|
||||
)
|
||||
public class JavacConfiguration implements PersistentStateComponent<JpsJavaCompilerOptions> {
|
||||
private final JpsJavaCompilerOptions mySettings = new JpsJavaCompilerOptions();
|
||||
|
||||
+3
-3
@@ -24,9 +24,9 @@ import org.jetbrains.jps.model.java.compiler.JikesCompilerOptions;
|
||||
@State(
|
||||
name = "JikesSettings",
|
||||
storages = {
|
||||
@Storage( file = StoragePathMacros.PROJECT_FILE)
|
||||
,@Storage( file = StoragePathMacros.PROJECT_CONFIG_DIR + "/compiler.xml", scheme = StorageScheme.DIRECTORY_BASED)
|
||||
}
|
||||
@Storage(file = StoragePathMacros.PROJECT_FILE),
|
||||
@Storage(file = StoragePathMacros.PROJECT_CONFIG_DIR + "/compiler.xml", scheme = StorageScheme.DIRECTORY_BASED)
|
||||
}
|
||||
)
|
||||
public class JikesConfiguration implements PersistentStateComponent<JikesCompilerOptions> {
|
||||
private final JikesCompilerOptions mySettings = new JikesCompilerOptions();
|
||||
|
||||
+3
-3
@@ -24,9 +24,9 @@ import org.jetbrains.jps.model.java.compiler.RmicCompilerOptions;
|
||||
@State(
|
||||
name = "RmicSettings",
|
||||
storages = {
|
||||
@Storage( file = StoragePathMacros.PROJECT_FILE)
|
||||
,@Storage( file = StoragePathMacros.PROJECT_CONFIG_DIR + "/compiler.xml", scheme = StorageScheme.DIRECTORY_BASED)
|
||||
}
|
||||
@Storage(file = StoragePathMacros.PROJECT_FILE),
|
||||
@Storage(file = StoragePathMacros.PROJECT_CONFIG_DIR + "/compiler.xml", scheme = StorageScheme.DIRECTORY_BASED)
|
||||
}
|
||||
)
|
||||
public class RmicConfiguration implements PersistentStateComponent<RmicCompilerOptions> {
|
||||
private final RmicCompilerOptions mySettings = new RmicCompilerOptions();
|
||||
|
||||
@@ -31,8 +31,8 @@ import java.util.Map;
|
||||
@State(
|
||||
name = "ValidationConfiguration",
|
||||
storages = {
|
||||
@Storage( file = StoragePathMacros.WORKSPACE_FILE),
|
||||
@Storage( file = StoragePathMacros.PROJECT_CONFIG_DIR + "/validation.xml", scheme = StorageScheme.DIRECTORY_BASED)
|
||||
@Storage(file = StoragePathMacros.WORKSPACE_FILE),
|
||||
@Storage(file = StoragePathMacros.PROJECT_CONFIG_DIR + "/validation.xml", scheme = StorageScheme.DIRECTORY_BASED)
|
||||
}
|
||||
)
|
||||
public class ValidationConfiguration implements PersistentStateComponent<ValidationConfiguration> {
|
||||
@@ -81,8 +81,8 @@ public class ValidationConfiguration implements PersistentStateComponent<Validat
|
||||
@State(
|
||||
name = "ExcludeFromValidation",
|
||||
storages = {
|
||||
@Storage( file = StoragePathMacros.PROJECT_FILE),
|
||||
@Storage( file = StoragePathMacros.PROJECT_CONFIG_DIR + "/excludeFromValidation.xml", scheme = StorageScheme.DIRECTORY_BASED)
|
||||
@Storage(file = StoragePathMacros.PROJECT_FILE),
|
||||
@Storage(file = StoragePathMacros.PROJECT_CONFIG_DIR + "/excludeFromValidation.xml", scheme = StorageScheme.DIRECTORY_BASED)
|
||||
}
|
||||
)
|
||||
public static class ExcludedFromValidationConfiguration extends ExcludedEntriesConfiguration {}
|
||||
|
||||
+3
-2
@@ -50,8 +50,9 @@ import java.util.*;
|
||||
@State(
|
||||
name = ArtifactManagerImpl.COMPONENT_NAME,
|
||||
storages = {
|
||||
@Storage( file = StoragePathMacros.PROJECT_FILE),
|
||||
@Storage( file = StoragePathMacros.PROJECT_CONFIG_DIR + "/artifacts/", scheme = StorageScheme.DIRECTORY_BASED, stateSplitter = ArtifactManagerStateSplitter.class)
|
||||
@Storage(file = StoragePathMacros.PROJECT_FILE),
|
||||
@Storage(file = StoragePathMacros.PROJECT_CONFIG_DIR + "/artifacts/", scheme = StorageScheme.DIRECTORY_BASED,
|
||||
stateSplitter = ArtifactManagerStateSplitter.class)
|
||||
}
|
||||
)
|
||||
public class ArtifactManagerImpl extends ArtifactManager implements ProjectComponent, PersistentStateComponent<ArtifactManagerState> {
|
||||
|
||||
+3
-4
@@ -38,10 +38,9 @@ import java.util.*;
|
||||
@State(
|
||||
name="DependencyValidationManager",
|
||||
storages= {
|
||||
@Storage(
|
||||
file = StoragePathMacros.PROJECT_FILE
|
||||
), @Storage( file = StoragePathMacros.PROJECT_CONFIG_DIR + "/scopes/", scheme = StorageScheme.DIRECTORY_BASED,
|
||||
stateSplitter = DependencyValidationManagerImpl.ScopesStateSplitter.class)}
|
||||
@Storage(file = StoragePathMacros.PROJECT_FILE),
|
||||
@Storage(file = StoragePathMacros.PROJECT_CONFIG_DIR + "/scopes/", scheme = StorageScheme.DIRECTORY_BASED,
|
||||
stateSplitter = DependencyValidationManagerImpl.ScopesStateSplitter.class)}
|
||||
)
|
||||
public class DependencyValidationManagerImpl extends DependencyValidationManager {
|
||||
private static final Logger LOG = Logger.getInstance("#com.intellij.packageDependencies.DependencyValidationManagerImpl");
|
||||
|
||||
+4
-5
@@ -49,11 +49,10 @@ import java.util.concurrent.ConcurrentHashMap;
|
||||
@State(
|
||||
name = "InspectionProjectProfileManager",
|
||||
storages = {
|
||||
@Storage(
|
||||
file = StoragePathMacros.PROJECT_FILE
|
||||
)
|
||||
,@Storage( file = StoragePathMacros.PROJECT_CONFIG_DIR + "/inspectionProfiles/", scheme = StorageScheme.DIRECTORY_BASED, stateSplitter = InspectionProjectProfileManagerImpl.ProfileStateSplitter.class)
|
||||
}
|
||||
@Storage(file = StoragePathMacros.PROJECT_FILE),
|
||||
@Storage(file = StoragePathMacros.PROJECT_CONFIG_DIR + "/inspectionProfiles/", scheme = StorageScheme.DIRECTORY_BASED,
|
||||
stateSplitter = InspectionProjectProfileManagerImpl.ProfileStateSplitter.class)
|
||||
}
|
||||
)
|
||||
public class InspectionProjectProfileManagerImpl extends InspectionProjectProfileManager implements SeverityProvider, ProjectComponent, PersistentStateComponent<Element> {
|
||||
private final Map<String, InspectionProfileWrapper> myName2Profile = new ConcurrentHashMap<String, InspectionProfileWrapper>();
|
||||
|
||||
+3
-3
@@ -26,9 +26,9 @@ import org.jdom.Element;
|
||||
@State(
|
||||
name = "CodeStyleSettingsManager",
|
||||
storages = {
|
||||
@Storage( file = StoragePathMacros.PROJECT_FILE)
|
||||
,@Storage( file = StoragePathMacros.PROJECT_CONFIG_DIR + "/projectCodeStyle.xml", scheme = StorageScheme.DIRECTORY_BASED)
|
||||
}
|
||||
@Storage(file = StoragePathMacros.PROJECT_FILE),
|
||||
@Storage(file = StoragePathMacros.PROJECT_CONFIG_DIR + "/projectCodeStyle.xml", scheme = StorageScheme.DIRECTORY_BASED)
|
||||
}
|
||||
)
|
||||
public class LegacyCodeStyleSettingsManager implements PersistentStateComponent<Element> {
|
||||
|
||||
|
||||
+3
-3
@@ -25,9 +25,9 @@ import com.intellij.openapi.components.StorageScheme;
|
||||
@State(
|
||||
name = "ProjectCodeStyleSettingsManager",
|
||||
storages = {
|
||||
@Storage( file = StoragePathMacros.PROJECT_FILE)
|
||||
,@Storage( file = StoragePathMacros.PROJECT_CONFIG_DIR + "/codeStyleSettings.xml", scheme = StorageScheme.DIRECTORY_BASED)
|
||||
}
|
||||
@Storage(file = StoragePathMacros.PROJECT_FILE),
|
||||
@Storage(file = StoragePathMacros.PROJECT_CONFIG_DIR + "/codeStyleSettings.xml", scheme = StorageScheme.DIRECTORY_BASED)
|
||||
}
|
||||
)
|
||||
public class ProjectCodeStyleSettingsManager extends CodeStyleSettingsManager{
|
||||
}
|
||||
|
||||
+4
-3
@@ -44,9 +44,10 @@ import java.util.Set;
|
||||
@State(
|
||||
name = "ProjectRunConfigurationManager",
|
||||
storages = {
|
||||
@Storage( file = StoragePathMacros.PROJECT_FILE)
|
||||
,@Storage( file = StoragePathMacros.PROJECT_CONFIG_DIR + "/runConfigurations/", scheme = StorageScheme.DIRECTORY_BASED, stateSplitter = ProjectRunConfigurationManager.RunConfigurationStateSplitter.class)
|
||||
}
|
||||
@Storage(file = StoragePathMacros.PROJECT_FILE),
|
||||
@Storage(file = StoragePathMacros.PROJECT_CONFIG_DIR + "/runConfigurations/", scheme = StorageScheme.DIRECTORY_BASED,
|
||||
stateSplitter = ProjectRunConfigurationManager.RunConfigurationStateSplitter.class)
|
||||
}
|
||||
)
|
||||
public class ProjectRunConfigurationManager implements ProjectComponent, PersistentStateComponent<Element> {
|
||||
private static final Logger LOG = Logger.getInstance("#com.intellij.execution.impl.ProjectRunConfigurationManager");
|
||||
|
||||
+2
-2
@@ -24,8 +24,8 @@ import com.intellij.openapi.project.Project;
|
||||
@State(
|
||||
name = "CustomFolding",
|
||||
storages = {
|
||||
@Storage( file = StoragePathMacros.PROJECT_FILE),
|
||||
@Storage( file = StoragePathMacros.PROJECT_CONFIG_DIR + "/customFolding.xml", scheme = StorageScheme.DIRECTORY_BASED)
|
||||
@Storage(file = StoragePathMacros.PROJECT_FILE),
|
||||
@Storage(file = StoragePathMacros.PROJECT_CONFIG_DIR + "/customFolding.xml", scheme = StorageScheme.DIRECTORY_BASED)
|
||||
})
|
||||
public class CustomFoldingConfiguration implements PersistentStateComponent<CustomFoldingConfiguration.State> {
|
||||
|
||||
|
||||
@@ -48,9 +48,9 @@ import java.util.List;
|
||||
@State(
|
||||
name = ModuleManagerImpl.COMPONENT_NAME,
|
||||
storages = {
|
||||
@Storage( file = StoragePathMacros.PROJECT_FILE)
|
||||
,@Storage( file = StoragePathMacros.PROJECT_CONFIG_DIR + "/modules.xml", scheme = StorageScheme.DIRECTORY_BASED)
|
||||
}
|
||||
@Storage(file = StoragePathMacros.PROJECT_FILE),
|
||||
@Storage(file = StoragePathMacros.PROJECT_CONFIG_DIR + "/modules.xml", scheme = StorageScheme.DIRECTORY_BASED)
|
||||
}
|
||||
)
|
||||
public class ModuleManagerComponent extends ModuleManagerImpl {
|
||||
private static final Logger LOG = Logger.getInstance("#com.intellij.openapi.module.impl.ModuleManagerComponent");
|
||||
|
||||
+2
-2
@@ -34,8 +34,8 @@ import java.util.List;
|
||||
@State(
|
||||
name = "TemplateDataLanguageMappings",
|
||||
storages = {
|
||||
@Storage( file = StoragePathMacros.PROJECT_FILE),
|
||||
@Storage( file = StoragePathMacros.PROJECT_CONFIG_DIR + "/templateLanguages.xml", scheme = StorageScheme.DIRECTORY_BASED)
|
||||
@Storage(file = StoragePathMacros.PROJECT_FILE),
|
||||
@Storage(file = StoragePathMacros.PROJECT_CONFIG_DIR + "/templateLanguages.xml", scheme = StorageScheme.DIRECTORY_BASED)
|
||||
})
|
||||
public class TemplateDataLanguageMappings extends LanguagePerFileMappings<Language> {
|
||||
|
||||
|
||||
+2
-2
@@ -28,8 +28,8 @@ import org.jetbrains.annotations.NotNull;
|
||||
@State(
|
||||
name="SharedFileColors",
|
||||
storages = {
|
||||
@Storage( file = StoragePathMacros.PROJECT_FILE),
|
||||
@Storage( file = StoragePathMacros.PROJECT_CONFIG_DIR + "/fileColors.xml", scheme = StorageScheme.DIRECTORY_BASED)
|
||||
@Storage(file = StoragePathMacros.PROJECT_FILE),
|
||||
@Storage(file = StoragePathMacros.PROJECT_CONFIG_DIR + "/fileColors.xml", scheme = StorageScheme.DIRECTORY_BASED)
|
||||
}
|
||||
)
|
||||
public class FileColorSharedConfigurationManager implements PersistentStateComponent<Element> {
|
||||
|
||||
+3
-3
@@ -62,9 +62,9 @@ import java.util.*;
|
||||
@State(
|
||||
name = "Encoding",
|
||||
storages = {
|
||||
@Storage( file = StoragePathMacros.PROJECT_FILE),
|
||||
@Storage( file = StoragePathMacros.PROJECT_CONFIG_DIR + "/encodings.xml", scheme = StorageScheme.DIRECTORY_BASED)
|
||||
}
|
||||
@Storage(file = StoragePathMacros.PROJECT_FILE),
|
||||
@Storage(file = StoragePathMacros.PROJECT_CONFIG_DIR + "/encodings.xml", scheme = StorageScheme.DIRECTORY_BASED)
|
||||
}
|
||||
)
|
||||
public class EncodingProjectManagerImpl extends EncodingProjectManager {
|
||||
private final Project myProject;
|
||||
|
||||
+3
-3
@@ -37,9 +37,9 @@ import java.util.List;
|
||||
@State(
|
||||
name = "libraryTable",
|
||||
storages = {
|
||||
@Storage( file = StoragePathMacros.PROJECT_FILE)
|
||||
,@Storage( file = StoragePathMacros.PROJECT_CONFIG_DIR + "/libraries/", scheme = StorageScheme.DIRECTORY_BASED, stateSplitter = ProjectLibraryTable.LibraryStateSplitter.class)
|
||||
}
|
||||
@Storage(file = StoragePathMacros.PROJECT_FILE),
|
||||
@Storage(file = StoragePathMacros.PROJECT_CONFIG_DIR + "/libraries/", scheme = StorageScheme.DIRECTORY_BASED, stateSplitter = ProjectLibraryTable.LibraryStateSplitter.class)
|
||||
}
|
||||
)
|
||||
public class ProjectLibraryTable extends LibraryTableBase {
|
||||
private static final LibraryTablePresentation PROJECT_LIBRARY_TABLE_PRESENTATION = new LibraryTablePresentation() {
|
||||
|
||||
@@ -36,11 +36,9 @@ import java.util.regex.Pattern;
|
||||
@State(
|
||||
name = "IssueNavigationConfiguration",
|
||||
storages = {
|
||||
@Storage(
|
||||
file = StoragePathMacros.PROJECT_FILE
|
||||
)
|
||||
,@Storage( file = StoragePathMacros.PROJECT_CONFIG_DIR + "/vcs.xml", scheme = StorageScheme.DIRECTORY_BASED)
|
||||
}
|
||||
@Storage(file = StoragePathMacros.PROJECT_FILE),
|
||||
@Storage(file = StoragePathMacros.PROJECT_CONFIG_DIR + "/vcs.xml", scheme = StorageScheme.DIRECTORY_BASED)
|
||||
}
|
||||
)
|
||||
public class IssueNavigationConfiguration implements PersistentStateComponent<IssueNavigationConfiguration> {
|
||||
@NonNls private static final Pattern ourHtmlPattern =
|
||||
|
||||
@@ -29,11 +29,9 @@ import org.jetbrains.annotations.NotNull;
|
||||
@State(
|
||||
name = "VcsDirectoryMappings",
|
||||
storages = {
|
||||
@Storage(
|
||||
file = StoragePathMacros.PROJECT_FILE
|
||||
)
|
||||
,@Storage( file = StoragePathMacros.PROJECT_CONFIG_DIR + "/vcs.xml", scheme = StorageScheme.DIRECTORY_BASED)
|
||||
}
|
||||
@Storage(file = StoragePathMacros.PROJECT_FILE),
|
||||
@Storage(file = StoragePathMacros.PROJECT_CONFIG_DIR + "/vcs.xml", scheme = StorageScheme.DIRECTORY_BASED)
|
||||
}
|
||||
)
|
||||
public class VcsDirectoryMappingStorage extends AbstractProjectComponent implements PersistentStateComponent<Element> {
|
||||
private final ProjectLevelVcsManager myVcsManager;
|
||||
|
||||
@@ -104,8 +104,10 @@ public class Configuration implements PersistentStateComponent<Element>, Modific
|
||||
}
|
||||
@State(
|
||||
name = Configuration.COMPONENT_NAME,
|
||||
storages = {@Storage( file = StoragePathMacros.PROJECT_FILE),
|
||||
@Storage( file = StoragePathMacros.PROJECT_CONFIG_DIR + "/IntelliLang.xml", scheme = StorageScheme.DIRECTORY_BASED)})
|
||||
storages = {
|
||||
@Storage(file = StoragePathMacros.PROJECT_FILE),
|
||||
@Storage(file = StoragePathMacros.PROJECT_CONFIG_DIR + "/IntelliLang.xml", scheme = StorageScheme.DIRECTORY_BASED)
|
||||
})
|
||||
public static class Prj extends Configuration {
|
||||
|
||||
private final Configuration myParentConfiguration;
|
||||
|
||||
@@ -69,8 +69,8 @@ import java.util.*;
|
||||
@State(
|
||||
name = "AntConfiguration",
|
||||
storages = {
|
||||
@Storage( file = StoragePathMacros.PROJECT_FILE),
|
||||
@Storage( file = StoragePathMacros.PROJECT_CONFIG_DIR + "/ant.xml", scheme = StorageScheme.DIRECTORY_BASED)
|
||||
@Storage(file = StoragePathMacros.PROJECT_FILE),
|
||||
@Storage(file = StoragePathMacros.PROJECT_CONFIG_DIR + "/ant.xml", scheme = StorageScheme.DIRECTORY_BASED)
|
||||
}
|
||||
)
|
||||
public class AntConfigurationImpl extends AntConfigurationBase implements PersistentStateComponent<Element>, ModificationTracker {
|
||||
|
||||
+2
-2
@@ -50,8 +50,8 @@ import java.util.List;
|
||||
@State(
|
||||
name = "DynamicElementsStorage",
|
||||
storages = {
|
||||
@Storage( file = StoragePathMacros.PROJECT_FILE),
|
||||
@Storage( file = StoragePathMacros.PROJECT_CONFIG_DIR + "/dynamic.xml", scheme = StorageScheme.DIRECTORY_BASED)
|
||||
@Storage(file = StoragePathMacros.PROJECT_FILE),
|
||||
@Storage(file = StoragePathMacros.PROJECT_CONFIG_DIR + "/dynamic.xml", scheme = StorageScheme.DIRECTORY_BASED)
|
||||
})
|
||||
|
||||
public class DynamicManagerImpl extends DynamicManager {
|
||||
|
||||
+2
-2
@@ -29,8 +29,8 @@ import org.jetbrains.jps.incremental.groovy.JpsGroovySettings;
|
||||
@State(
|
||||
name = "GroovyCompilerProjectConfiguration",
|
||||
storages = {
|
||||
@Storage( file = StoragePathMacros.PROJECT_FILE),
|
||||
@Storage( file = StoragePathMacros.PROJECT_CONFIG_DIR + "/groovyc.xml", scheme = StorageScheme.DIRECTORY_BASED)
|
||||
@Storage(file = StoragePathMacros.PROJECT_FILE),
|
||||
@Storage(file = StoragePathMacros.PROJECT_CONFIG_DIR + "/groovyc.xml", scheme = StorageScheme.DIRECTORY_BASED)
|
||||
}
|
||||
)
|
||||
public class GroovyCompilerConfiguration implements PersistentStateComponent<JpsGroovySettings>, Disposable {
|
||||
|
||||
@@ -25,8 +25,8 @@ import org.jetbrains.plugins.groovy.util.SdkHomeSettings;
|
||||
@State(
|
||||
name = "GantSettings",
|
||||
storages = {
|
||||
@Storage( file = StoragePathMacros.PROJECT_FILE),
|
||||
@Storage( file = StoragePathMacros.PROJECT_CONFIG_DIR + "/gant_config.xml", scheme = StorageScheme.DIRECTORY_BASED)
|
||||
@Storage(file = StoragePathMacros.PROJECT_FILE),
|
||||
@Storage(file = StoragePathMacros.PROJECT_CONFIG_DIR + "/gant_config.xml", scheme = StorageScheme.DIRECTORY_BASED)
|
||||
}
|
||||
)
|
||||
public class GantSettings extends SdkHomeSettings {
|
||||
|
||||
@@ -27,11 +27,9 @@ import com.intellij.util.xmlb.XmlSerializerUtil;
|
||||
@State(
|
||||
name = "uidesigner-configuration",
|
||||
storages = {
|
||||
@Storage(
|
||||
file = StoragePathMacros.PROJECT_FILE
|
||||
)
|
||||
,@Storage( file = StoragePathMacros.PROJECT_CONFIG_DIR + "/uiDesigner.xml", scheme = StorageScheme.DIRECTORY_BASED)
|
||||
}
|
||||
@Storage(file = StoragePathMacros.PROJECT_FILE),
|
||||
@Storage(file = StoragePathMacros.PROJECT_CONFIG_DIR + "/uiDesigner.xml", scheme = StorageScheme.DIRECTORY_BASED)
|
||||
}
|
||||
)
|
||||
public final class GuiDesignerConfiguration implements PersistentStateComponent<GuiDesignerConfiguration> {
|
||||
public static GuiDesignerConfiguration getInstance(final Project project){
|
||||
|
||||
@@ -65,9 +65,9 @@ import java.util.Map;
|
||||
@State(
|
||||
name = "Palette2",
|
||||
storages = {
|
||||
@Storage( file = StoragePathMacros.PROJECT_FILE)
|
||||
,@Storage( file = StoragePathMacros.PROJECT_CONFIG_DIR + "/uiDesigner.xml", scheme = StorageScheme.DIRECTORY_BASED)
|
||||
}
|
||||
@Storage(file = StoragePathMacros.PROJECT_FILE),
|
||||
@Storage(file = StoragePathMacros.PROJECT_CONFIG_DIR + "/uiDesigner.xml", scheme = StorageScheme.DIRECTORY_BASED)
|
||||
}
|
||||
)
|
||||
public final class Palette implements ProjectComponent, PersistentStateComponent<Element> {
|
||||
private static final Logger LOG = Logger.getInstance("#com.intellij.uiDesigner.palette.Palette");
|
||||
|
||||
@@ -30,10 +30,12 @@ import java.util.Set;
|
||||
|
||||
@State(
|
||||
name = "ProjectDictionaryState",
|
||||
storages = {@Storage(file = StoragePathMacros.PROJECT_FILE),
|
||||
storages = {
|
||||
@Storage(file = StoragePathMacros.PROJECT_FILE),
|
||||
@Storage(file = StoragePathMacros.PROJECT_CONFIG_DIR + "/dictionaries/",
|
||||
scheme = StorageScheme.DIRECTORY_BASED, stateSplitter = ProjectDictionarySplitter.class)})
|
||||
|
||||
scheme = StorageScheme.DIRECTORY_BASED, stateSplitter = ProjectDictionarySplitter.class)
|
||||
}
|
||||
)
|
||||
public class ProjectDictionaryState implements PersistentStateComponent<ProjectDictionaryState>{
|
||||
|
||||
@Property(surroundWithTag = false) @AbstractCollection(surroundWithTag = false, elementTypes = DictionaryState.class)
|
||||
|
||||
Reference in New Issue
Block a user