DuplocatorSettings — set exportable name, use own storage file

This commit is contained in:
Vladimir Krivosheev
2014-10-23 10:25:39 +02:00
parent ba07a9515a
commit 0e281c4f60
2 changed files with 7 additions and 13 deletions
@@ -1,5 +1,5 @@
/*
* Copyright 2000-2007 JetBrains s.r.o.
* Copyright 2000-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -13,7 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.intellij.dupLocator;
import com.intellij.openapi.components.*;
@@ -22,19 +21,13 @@ import com.intellij.util.xmlb.XmlSerializerUtil;
import java.util.HashSet;
import java.util.Set;
/**
* Created by IntelliJ IDEA.
* User: db
* Date: Apr 8, 2004
* Time: 2:47:43 PM
* To change this template use File | Settings | File Templates.
*/
@State(
name="DuplocatorSettings",
name = "DuplocatorSettings",
storages = {
@Storage(
file = StoragePathMacros.APP_CONFIG + "/other.xml"
)}
@Storage(file = StoragePathMacros.APP_CONFIG + "/other.xml"),
@Storage(file = StoragePathMacros.APP_CONFIG + "/duplocator.xml")
},
storageChooser = LastStorageChooserForWrite.class
)
public class DuplocatorSettings implements PersistentStateComponent<DuplocatorSettings> {
public boolean DISTINGUISH_VARIABLES = false;
@@ -305,3 +305,4 @@ exportable.HttpConfigurable.presentable.name=HTTP Proxy
exportable.KeymapManager.presentable.name=Key maps
exportable.UsageViewSettings.presentable.name=Usage View
exportable.BaseRefactoringSettings.presentable.name=Refactoring
exportable.DuplocatorSettings.presentable.name=Duplocator