Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


oracle.jdeveloper.vcs.util
Class VCSConfigUtils

java.lang.Object
  extended by oracle.jdeveloper.vcs.util.VCSConfigUtils


public final class VCSConfigUtils
extends java.lang.Object

Utility class for easing access to user-configurable data.

Since:
9.0.5

Method Summary
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.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

getIdeProperty

public static final java.lang.String getIdeProperty(java.lang.String key)
Gets the value of the IDE property for the given key, as stored in 'ide.properties'.
Parameters:
key - the property key.
Returns:
the property value. (null-capable)

isGloballyIgnored

public static final boolean isGloballyIgnored(java.net.URL url)
Deprecated. since 11.0 use GlobalIgnoreList.isGloballyIgnored( URL ).
Asks whether the given URL is ignored according to the IDE's global ignore preferences.
Parameters:
url - the URL
Returns:
a verdict on whether the URL is globally ignored.

removeGlobalIgnoreFilter

public static final void removeGlobalIgnoreFilter(java.lang.String ignoreFilterPattern)
Removes a filter pattern from the IDE's global ignore preferences.
Parameters:
ignoreFilterPattern - the ignore filter pattern to remove.

addGlobalIgnoreFilter

public static final void addGlobalIgnoreFilter(Pair ignoreFilterPair)
Adds a filter pattern to the IDE's global ignore preferences.
Parameters:
ignoreFilterPair - the ignore filter pair, a filter pattern (first) and a Boolean value for whether the pattern is enabled (second).

findGlobalIgnoreFilter

public static final Pair findGlobalIgnoreFilter(java.lang.String ignoreFilterPattern)
Finds the global ignore filter pair from the IDE's global ignore preferences.
Parameters:
ignoreFilterPattern - the ignore filter pattern to find.
Returns:
the pair representing the filter pattern in the global ignore list. (null-capable)

fireGlobalIgnoreSettingsChanged

public static final void fireGlobalIgnoreSettingsChanged()
Fires a notification that the IDE's global ignore preferences may have changed.

registerGlobalIgnoreFilter

@Deprecated
public static final void registerGlobalIgnoreFilter(java.lang.String ignoreFilterPattern)
Deprecated. replaced by declarative registration through global-ignore-filter.
Registers an extension-level filter pattern with the IDE's global ignore preferences, adding it to the list and persisting changes.
Parameters:
ignoreFilterPattern - the ignore filter pattern to register.

isSignificantStructureChange

public static final boolean isSignificantStructureChange(StructureChangeEvent sce)
Asks whether the given StructureChangeEvent represents a significant change in structure. This method should be used to by-pass events that represent {ChangeInfo#StructureChangeEvent} change types.
Parameters:
sce - the change event.
Returns:
a verdict on whether the event is significant.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


Copyright © 1997, 2012, Oracle. All rights reserved.