public final class VCSConfigUtils
extends java.lang.Object
Utility class for easing access to user-configurable data.
Modifier and Type | Method and Description |
---|---|
static void |
addGlobalIgnoreFilter(Pair ignoreFilterPair)
Adds a filter pattern to the IDE's global ignore preferences.
|
static Pair |
findGlobalIgnoreFilter(java.lang.String ignoreFilterPattern)
Finds the global ignore filter pair from the IDE's global ignore preferences.
|
static void |
fireGlobalIgnoreSettingsChanged()
Fires a notification that the IDE's global ignore preferences may have
changed.
|
static java.lang.String |
getIdeProperty(java.lang.String key)
Gets the value of the IDE property for the given key, as stored in
'ide.properties'.
|
static boolean |
isGloballyIgnored(java.net.URL url)
Deprecated.
since 11.0 use
GlobalIgnoreList.isGloballyIgnored( URL ) . |
static boolean |
isSignificantStructureChange(StructureChangeEvent sce)
Asks whether the given
StructureChangeEvent represents a
significant change in structure. |
static void |
registerGlobalIgnoreFilter(java.lang.String ignoreFilterPattern)
Deprecated.
replaced by declarative registration through global-ignore-filter.
|
static void |
removeGlobalIgnoreFilter(java.lang.String ignoreFilterPattern)
Removes a filter pattern from the IDE's global ignore preferences.
|
public static final java.lang.String getIdeProperty(java.lang.String key)
key
- the property key.public static final boolean isGloballyIgnored(java.net.URL url)
GlobalIgnoreList.isGloballyIgnored( URL )
.url
- the URLpublic static final void removeGlobalIgnoreFilter(java.lang.String ignoreFilterPattern)
ignoreFilterPattern
- the ignore filter pattern to remove.public static final void addGlobalIgnoreFilter(Pair ignoreFilterPair)
ignoreFilterPair
- the ignore filter pair, a filter pattern (first)
and a Boolean value for whether the pattern is enabled (second).public static final Pair findGlobalIgnoreFilter(java.lang.String ignoreFilterPattern)
ignoreFilterPattern
- the ignore filter pattern to find.public static final void fireGlobalIgnoreSettingsChanged()
@Deprecated public static final void registerGlobalIgnoreFilter(java.lang.String ignoreFilterPattern)
ignoreFilterPattern
- the ignore filter pattern to register.public static final boolean isSignificantStructureChange(StructureChangeEvent sce)
StructureChangeEvent
represents a
significant change in structure. This method should be used to by-pass
events that represent {ChangeInfo#StructureChangeEvent} change types.sce
- the change event.