| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (11.0.5) on Tue Jan 21 20:13:53 EST 2020 --> |
| <title>Preferences (PTP API Specification)</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
| <meta name="dc.created" content="2020-01-21"> |
| <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style"> |
| <script type="text/javascript" src="../../../../script.js"></script> |
| <script type="text/javascript" src="../../../../jquery/jszip/dist/jszip.min.js"></script> |
| <script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script> |
| <!--[if IE]> |
| <script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script> |
| <![endif]--> |
| <script type="text/javascript" src="../../../../jquery/jquery-3.4.1.js"></script> |
| <script type="text/javascript" src="../../../../jquery/jquery-ui.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="Preferences (PTP API Specification)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var data = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":9,"i21":9,"i22":9,"i23":9,"i24":9,"i25":9,"i26":9,"i27":9,"i28":9,"i29":9,"i30":9,"i31":9,"i32":9,"i33":9}; |
| var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| var pathtoroot = "../../../../"; |
| var useModuleDirectories = true; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <header role="banner"> |
| <nav role="navigation"> |
| <div class="fixedNav"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a id="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/Preferences.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-files/index-1.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| <div class="aboutLanguage"><b>PTP</b><br>Release 7.0</div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <ul class="navListSearch"> |
| <li><label for="search">SEARCH:</label> |
| <input type="text" id="search" value="search" disabled="disabled"> |
| <input type="reset" id="reset" value="reset" disabled="disabled"> |
| </li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a id="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| </div> |
| <div class="navPadding"> </div> |
| <script type="text/javascript"><!-- |
| $('.navPadding').css('padding-top', $('.fixedNav').css("height")); |
| //--> |
| </script> |
| </nav> |
| </header> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <main role="main"> |
| <div class="header"> |
| <div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">org.eclipse.ptp.core</a></div> |
| <h2 title="Class Preferences" class="title">Class Preferences</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li>java.lang.Object</li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.eclipse.ptp.core.Preferences</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <hr> |
| <pre>public final class <span class="typeNameLabel">Preferences</span> |
| extends java.lang.Object</pre> |
| <div class="block">Convenience class to facilitate using the new <code>IEclipsePreferences</code> story. Adapted from |
| org.eclipse.debug.internal.core.Preferences.</div> |
| <dl> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>5.0</dd> |
| <dt><span class="simpleTagLabel">Restriction:</span></dt> |
| <dd>This class is not intended to be instantiated by clients.</dd> |
| </dl> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addPreferenceChangeListener(java.lang.String,org.eclipse.core.runtime.preferences.IEclipsePreferences.IPreferenceChangeListener)">addPreferenceChangeListener</a></span>​(java.lang.String qualifier, |
| org.eclipse.core.runtime.preferences.IEclipsePreferences.IPreferenceChangeListener listener)</code></th> |
| <td class="colLast"> |
| <div class="block">Adds the given preference listener to the <code>DefaultScope</code> and the <code>InstanceScope</code></div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#contains(java.lang.String,java.lang.String)">contains</a></span>​(java.lang.String qualifier, |
| java.lang.String name)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns whether the named preference is know in the preference store.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getBoolean(java.lang.String,java.lang.String)">getBoolean</a></span>​(java.lang.String qualifier, |
| java.lang.String key)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the value in the preference store for the given key.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>static byte[]</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getByteArray(java.lang.String,java.lang.String)">getByteArray</a></span>​(java.lang.String qualifier, |
| java.lang.String key)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the value in the preference store for the given key.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDefaultBoolean(java.lang.String,java.lang.String,boolean)">getDefaultBoolean</a></span>​(java.lang.String qualifier, |
| java.lang.String key, |
| boolean defaultvalue)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the default boolean value stored in the <code>DefaultScope</code> for |
| the given key or the specified default value if the key does not appear |
| in the <code>DefaultScope</code></div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>static byte[]</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDefaultByteArray(java.lang.String,java.lang.String,byte%5B%5D)">getDefaultByteArray</a></span>​(java.lang.String qualifier, |
| java.lang.String key, |
| byte[] defaultvalue)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the default byte array value stored in the <code>DefaultScope</code> for the given key or the specified default value if |
| the key does not |
| appear in the <code>DefaultScope</code></div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>static double</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDefaultDouble(java.lang.String,java.lang.String,double)">getDefaultDouble</a></span>​(java.lang.String qualifier, |
| java.lang.String key, |
| double defaultvalue)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the default double value stored in the <code>DefaultScope</code> for |
| the given key or the specified default value if the key does not appear |
| in the <code>DefaultScope</code></div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>static float</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDefaultFloat(java.lang.String,java.lang.String,float)">getDefaultFloat</a></span>​(java.lang.String qualifier, |
| java.lang.String key, |
| float defaultvalue)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the default float value stored in the <code>DefaultScope</code> for |
| the given key or the specified default value if the key does not appear |
| in the <code>DefaultScope</code></div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDefaultInt(java.lang.String,java.lang.String,int)">getDefaultInt</a></span>​(java.lang.String qualifier, |
| java.lang.String key, |
| int defaultvalue)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the default integer value stored in the <code>DefaultScope</code> for |
| the given key or the specified default value if the key does not appear |
| in the <code>DefaultScope</code></div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>static long</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDefaultLong(java.lang.String,java.lang.String,long)">getDefaultLong</a></span>​(java.lang.String qualifier, |
| java.lang.String key, |
| long defaultvalue)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the default long value stored in the <code>DefaultScope</code> for the |
| given key or the specified default value if the key does not appear in |
| the <code>DefaultScope</code></div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>static java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDefaultString(java.lang.String,java.lang.String,java.lang.String)">getDefaultString</a></span>​(java.lang.String qualifier, |
| java.lang.String key, |
| java.lang.String defaultvalue)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the default string value stored in the <code>DefaultScope</code> for |
| the given key or the specified default value if the key does not appear |
| in the <code>DefaultScope</code></div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code>static double</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDouble(java.lang.String,java.lang.String)">getDouble</a></span>​(java.lang.String qualifier, |
| java.lang.String key)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the value in the preference store for the given key.</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>static float</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getFloat(java.lang.String,java.lang.String)">getFloat</a></span>​(java.lang.String qualifier, |
| java.lang.String key)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the value in the preference store for the given key.</div> |
| </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getInt(java.lang.String,java.lang.String)">getInt</a></span>​(java.lang.String qualifier, |
| java.lang.String key)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the value in the preference store for the given key.</div> |
| </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code>static long</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLong(java.lang.String,java.lang.String)">getLong</a></span>​(java.lang.String qualifier, |
| java.lang.String key)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the value in the preference store for the given key.</div> |
| </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code>static java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getString(java.lang.String,java.lang.String)">getString</a></span>​(java.lang.String qualifier, |
| java.lang.String key)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the value in the preference store for the given key.</div> |
| </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isDefault(java.lang.String,java.lang.String)">isDefault</a></span>​(java.lang.String qualifier, |
| java.lang.String name)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns true if the named preference has the default value.</div> |
| </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removePreferenceChangeListener(java.lang.String,org.eclipse.core.runtime.preferences.IEclipsePreferences.IPreferenceChangeListener)">removePreferenceChangeListener</a></span>​(java.lang.String qualifier, |
| org.eclipse.core.runtime.preferences.IEclipsePreferences.IPreferenceChangeListener listener)</code></th> |
| <td class="colLast"> |
| <div class="block">Removes the given preference listener from the <code>DefaultScope</code> and |
| the <code>InstanceScope</code></div> |
| </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#savePreferences(java.lang.String)">savePreferences</a></span>​(java.lang.String qualifier)</code></th> |
| <td class="colLast"> |
| <div class="block">Save the preferences for the given plugin identifier.</div> |
| </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setBoolean(java.lang.String,java.lang.String,boolean)">setBoolean</a></span>​(java.lang.String qualifier, |
| java.lang.String key, |
| boolean value)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets a boolean preference in the <code>InstanceScope</code>.</div> |
| </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setByteArray(java.lang.String,java.lang.String,byte%5B%5D)">setByteArray</a></span>​(java.lang.String qualifier, |
| java.lang.String key, |
| byte[] value)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets a byte array preference in the <code>InstanceScope</code>.</div> |
| </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setDefaultBoolean(java.lang.String,java.lang.String,boolean)">setDefaultBoolean</a></span>​(java.lang.String qualifier, |
| java.lang.String key, |
| boolean value)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets a boolean in the <code>DefaultScope</code></div> |
| </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setDefaultByteArray(java.lang.String,java.lang.String,byte%5B%5D)">setDefaultByteArray</a></span>​(java.lang.String qualifier, |
| java.lang.String key, |
| byte[] value)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets a byte array in the <code>DefaultScope</code></div> |
| </td> |
| </tr> |
| <tr id="i23" class="rowColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setDefaultDouble(java.lang.String,java.lang.String,double)">setDefaultDouble</a></span>​(java.lang.String qualifier, |
| java.lang.String key, |
| double value)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets a double in the <code>DefaultScope</code></div> |
| </td> |
| </tr> |
| <tr id="i24" class="altColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setDefaultFloat(java.lang.String,java.lang.String,float)">setDefaultFloat</a></span>​(java.lang.String qualifier, |
| java.lang.String key, |
| float value)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets a float in the <code>DefaultScope</code></div> |
| </td> |
| </tr> |
| <tr id="i25" class="rowColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setDefaultInt(java.lang.String,java.lang.String,int)">setDefaultInt</a></span>​(java.lang.String qualifier, |
| java.lang.String key, |
| int value)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets a integer in the <code>DefaultScope</code></div> |
| </td> |
| </tr> |
| <tr id="i26" class="altColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setDefaultLong(java.lang.String,java.lang.String,long)">setDefaultLong</a></span>​(java.lang.String qualifier, |
| java.lang.String key, |
| long value)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets a long in the <code>DefaultScope</code></div> |
| </td> |
| </tr> |
| <tr id="i27" class="rowColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setDefaultString(java.lang.String,java.lang.String,java.lang.String)">setDefaultString</a></span>​(java.lang.String qualifier, |
| java.lang.String key, |
| java.lang.String value)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets a string in the <code>DefaultScope</code></div> |
| </td> |
| </tr> |
| <tr id="i28" class="altColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setDouble(java.lang.String,java.lang.String,double)">setDouble</a></span>​(java.lang.String qualifier, |
| java.lang.String key, |
| double value)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets a double preference in the <code>InstanceScope</code>.</div> |
| </td> |
| </tr> |
| <tr id="i29" class="rowColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setFloat(java.lang.String,java.lang.String,float)">setFloat</a></span>​(java.lang.String qualifier, |
| java.lang.String key, |
| float value)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets a float preference in the <code>InstanceScope</code>.</div> |
| </td> |
| </tr> |
| <tr id="i30" class="altColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setInt(java.lang.String,java.lang.String,int)">setInt</a></span>​(java.lang.String qualifier, |
| java.lang.String key, |
| int value)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets a integer preference in the <code>InstanceScope</code>.</div> |
| </td> |
| </tr> |
| <tr id="i31" class="rowColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setLong(java.lang.String,java.lang.String,long)">setLong</a></span>​(java.lang.String qualifier, |
| java.lang.String key, |
| long value)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets a long preference in the <code>InstanceScope</code>.</div> |
| </td> |
| </tr> |
| <tr id="i32" class="altColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setString(java.lang.String,java.lang.String,java.lang.String)">setString</a></span>​(java.lang.String qualifier, |
| java.lang.String key, |
| java.lang.String value)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets a string preference in the <code>InstanceScope</code>.</div> |
| </td> |
| </tr> |
| <tr id="i33" class="rowColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setToDefault(java.lang.String,java.lang.String)">setToDefault</a></span>​(java.lang.String qualifier, |
| java.lang.String key)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets the given preference to its default value.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.Object</h3> |
| <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ METHOD DETAIL ========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a id="addPreferenceChangeListener(java.lang.String,org.eclipse.core.runtime.preferences.IEclipsePreferences.IPreferenceChangeListener)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addPreferenceChangeListener</h4> |
| <pre class="methodSignature">public static void addPreferenceChangeListener​(java.lang.String qualifier, |
| org.eclipse.core.runtime.preferences.IEclipsePreferences.IPreferenceChangeListener listener)</pre> |
| <div class="block">Adds the given preference listener to the <code>DefaultScope</code> and the <code>InstanceScope</code></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>qualifier</code> - </dd> |
| <dd><code>listener</code> - </dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="contains(java.lang.String,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>contains</h4> |
| <pre class="methodSignature">public static boolean contains​(java.lang.String qualifier, |
| java.lang.String name)</pre> |
| <div class="block">Returns whether the named preference is know in the preference store.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>qualifier</code> - </dd> |
| <dd><code>name</code> - </dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| </dl> |
| </li> |
| </ul> |
| <a id="getBoolean(java.lang.String,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getBoolean</h4> |
| <pre class="methodSignature">public static boolean getBoolean​(java.lang.String qualifier, |
| java.lang.String key)</pre> |
| <div class="block">Returns the value in the preference store for the given key. If the key |
| is not defined then return the default value. Use the canonical scope |
| lookup order for finding the preference value.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>qualifier</code> - </dd> |
| <dd><code>key</code> - </dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the value of the preference or false if no preference has been set</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getByteArray(java.lang.String,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getByteArray</h4> |
| <pre class="methodSignature">public static byte[] getByteArray​(java.lang.String qualifier, |
| java.lang.String key)</pre> |
| <div class="block">Returns the value in the preference store for the given key. If the key |
| is not defined then return the default value. Use the canonical scope |
| lookup order for finding the preference value.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>qualifier</code> - </dd> |
| <dd><code>key</code> - </dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the value of the preference or null if no preference has been set</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getDefaultBoolean(java.lang.String,java.lang.String,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getDefaultBoolean</h4> |
| <pre class="methodSignature">public static boolean getDefaultBoolean​(java.lang.String qualifier, |
| java.lang.String key, |
| boolean defaultvalue)</pre> |
| <div class="block">Returns the default boolean value stored in the <code>DefaultScope</code> for |
| the given key or the specified default value if the key does not appear |
| in the <code>DefaultScope</code></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>qualifier</code> - </dd> |
| <dd><code>key</code> - </dd> |
| <dd><code>defaultvalue</code> - </dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the boolean value set in the <code>DefaultScope</code> for the given |
| key, or the specified default value.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getDefaultByteArray(java.lang.String,java.lang.String,byte[])"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getDefaultByteArray</h4> |
| <pre class="methodSignature">public static byte[] getDefaultByteArray​(java.lang.String qualifier, |
| java.lang.String key, |
| byte[] defaultvalue)</pre> |
| <div class="block">Returns the default byte array value stored in the <code>DefaultScope</code> for the given key or the specified default value if |
| the key does not |
| appear in the <code>DefaultScope</code></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>qualifier</code> - </dd> |
| <dd><code>key</code> - </dd> |
| <dd><code>defaultvalue</code> - </dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the byte array value set in the <code>DefaultScope</code> for the |
| given key, or the specified default value.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getDefaultDouble(java.lang.String,java.lang.String,double)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getDefaultDouble</h4> |
| <pre class="methodSignature">public static double getDefaultDouble​(java.lang.String qualifier, |
| java.lang.String key, |
| double defaultvalue)</pre> |
| <div class="block">Returns the default double value stored in the <code>DefaultScope</code> for |
| the given key or the specified default value if the key does not appear |
| in the <code>DefaultScope</code></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>qualifier</code> - </dd> |
| <dd><code>key</code> - </dd> |
| <dd><code>defaultvalue</code> - </dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the double value set in the <code>DefaultScope</code> for the given |
| key, or the specified default value.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getDefaultFloat(java.lang.String,java.lang.String,float)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getDefaultFloat</h4> |
| <pre class="methodSignature">public static float getDefaultFloat​(java.lang.String qualifier, |
| java.lang.String key, |
| float defaultvalue)</pre> |
| <div class="block">Returns the default float value stored in the <code>DefaultScope</code> for |
| the given key or the specified default value if the key does not appear |
| in the <code>DefaultScope</code></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>qualifier</code> - </dd> |
| <dd><code>key</code> - </dd> |
| <dd><code>defaultvalue</code> - </dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the float value set in the <code>DefaultScope</code> for the given |
| key, or the specified default value.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getDefaultInt(java.lang.String,java.lang.String,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getDefaultInt</h4> |
| <pre class="methodSignature">public static int getDefaultInt​(java.lang.String qualifier, |
| java.lang.String key, |
| int defaultvalue)</pre> |
| <div class="block">Returns the default integer value stored in the <code>DefaultScope</code> for |
| the given key or the specified default value if the key does not appear |
| in the <code>DefaultScope</code></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>qualifier</code> - </dd> |
| <dd><code>key</code> - </dd> |
| <dd><code>defaultvalue</code> - </dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the integer value set in the <code>DefaultScope</code> for the given |
| key, or the specified default value.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getDefaultLong(java.lang.String,java.lang.String,long)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getDefaultLong</h4> |
| <pre class="methodSignature">public static long getDefaultLong​(java.lang.String qualifier, |
| java.lang.String key, |
| long defaultvalue)</pre> |
| <div class="block">Returns the default long value stored in the <code>DefaultScope</code> for the |
| given key or the specified default value if the key does not appear in |
| the <code>DefaultScope</code></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>qualifier</code> - </dd> |
| <dd><code>key</code> - </dd> |
| <dd><code>defaultvalue</code> - </dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the long value set in the <code>DefaultScope</code> for the given key, |
| or the specified default value.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getDefaultString(java.lang.String,java.lang.String,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getDefaultString</h4> |
| <pre class="methodSignature">public static java.lang.String getDefaultString​(java.lang.String qualifier, |
| java.lang.String key, |
| java.lang.String defaultvalue)</pre> |
| <div class="block">Returns the default string value stored in the <code>DefaultScope</code> for |
| the given key or the specified default value if the key does not appear |
| in the <code>DefaultScope</code></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>qualifier</code> - </dd> |
| <dd><code>key</code> - </dd> |
| <dd><code>defaultvalue</code> - </dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the string value set in the <code>DefaultScope</code> for the given |
| key, or the specified default value.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getDouble(java.lang.String,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getDouble</h4> |
| <pre class="methodSignature">public static double getDouble​(java.lang.String qualifier, |
| java.lang.String key)</pre> |
| <div class="block">Returns the value in the preference store for the given key. If the key |
| is not defined then return the default value. Use the canonical scope |
| lookup order for finding the preference value.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>qualifier</code> - </dd> |
| <dd><code>key</code> - </dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the value of the preference or 0.0 if no preference has been set</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getFloat(java.lang.String,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getFloat</h4> |
| <pre class="methodSignature">public static float getFloat​(java.lang.String qualifier, |
| java.lang.String key)</pre> |
| <div class="block">Returns the value in the preference store for the given key. If the key |
| is not defined then return the default value. Use the canonical scope |
| lookup order for finding the preference value.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>qualifier</code> - </dd> |
| <dd><code>key</code> - </dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the value of the preference or 0.0f if no preference has been set</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getInt(java.lang.String,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getInt</h4> |
| <pre class="methodSignature">public static int getInt​(java.lang.String qualifier, |
| java.lang.String key)</pre> |
| <div class="block">Returns the value in the preference store for the given key. If the key |
| is not defined then return the default value. Use the canonical scope |
| lookup order for finding the preference value.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>qualifier</code> - </dd> |
| <dd><code>key</code> - </dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the value of the preference or 0 if no preference has been set</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getLong(java.lang.String,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLong</h4> |
| <pre class="methodSignature">public static long getLong​(java.lang.String qualifier, |
| java.lang.String key)</pre> |
| <div class="block">Returns the value in the preference store for the given key. If the key |
| is not defined then return the default value. Use the canonical scope |
| lookup order for finding the preference value.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>qualifier</code> - </dd> |
| <dd><code>key</code> - </dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the value of the preference or 0L if no preference has been set</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getString(java.lang.String,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getString</h4> |
| <pre class="methodSignature">public static java.lang.String getString​(java.lang.String qualifier, |
| java.lang.String key)</pre> |
| <div class="block">Returns the value in the preference store for the given key. If the key |
| is not defined then return the default value. Use the canonical scope |
| lookup order for finding the preference value.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>qualifier</code> - </dd> |
| <dd><code>key</code> - </dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the value of the preference or "" if no preference has been set</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="isDefault(java.lang.String,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isDefault</h4> |
| <pre class="methodSignature">public static boolean isDefault​(java.lang.String qualifier, |
| java.lang.String name)</pre> |
| <div class="block">Returns true if the named preference has the default value.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>qualifier</code> - </dd> |
| <dd><code>name</code> - </dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>true if the preference exists has a default value</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="removePreferenceChangeListener(java.lang.String,org.eclipse.core.runtime.preferences.IEclipsePreferences.IPreferenceChangeListener)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removePreferenceChangeListener</h4> |
| <pre class="methodSignature">public static void removePreferenceChangeListener​(java.lang.String qualifier, |
| org.eclipse.core.runtime.preferences.IEclipsePreferences.IPreferenceChangeListener listener)</pre> |
| <div class="block">Removes the given preference listener from the <code>DefaultScope</code> and |
| the <code>InstanceScope</code></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>qualifier</code> - </dd> |
| <dd><code>listener</code> - </dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="savePreferences(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>savePreferences</h4> |
| <pre class="methodSignature">public static void savePreferences​(java.lang.String qualifier)</pre> |
| <div class="block">Save the preferences for the given plugin identifier. It should be noted |
| that all pending preference changes will be flushed with this method.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>qualifier</code> - </dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setBoolean(java.lang.String,java.lang.String,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setBoolean</h4> |
| <pre class="methodSignature">public static void setBoolean​(java.lang.String qualifier, |
| java.lang.String key, |
| boolean value)</pre> |
| <div class="block">Sets a boolean preference in the <code>InstanceScope</code>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>qualifier</code> - </dd> |
| <dd><code>key</code> - the key</dd> |
| <dd><code>value</code> - the value</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setByteArray(java.lang.String,java.lang.String,byte[])"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setByteArray</h4> |
| <pre class="methodSignature">public static void setByteArray​(java.lang.String qualifier, |
| java.lang.String key, |
| byte[] value)</pre> |
| <div class="block">Sets a byte array preference in the <code>InstanceScope</code>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>qualifier</code> - </dd> |
| <dd><code>key</code> - the key</dd> |
| <dd><code>value</code> - the value</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setDefaultBoolean(java.lang.String,java.lang.String,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setDefaultBoolean</h4> |
| <pre class="methodSignature">public static void setDefaultBoolean​(java.lang.String qualifier, |
| java.lang.String key, |
| boolean value)</pre> |
| <div class="block">Sets a boolean in the <code>DefaultScope</code></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>qualifier</code> - </dd> |
| <dd><code>key</code> - the key</dd> |
| <dd><code>value</code> - the new value</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setDefaultByteArray(java.lang.String,java.lang.String,byte[])"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setDefaultByteArray</h4> |
| <pre class="methodSignature">public static void setDefaultByteArray​(java.lang.String qualifier, |
| java.lang.String key, |
| byte[] value)</pre> |
| <div class="block">Sets a byte array in the <code>DefaultScope</code></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>qualifier</code> - </dd> |
| <dd><code>key</code> - the key</dd> |
| <dd><code>value</code> - the new value</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setDefaultDouble(java.lang.String,java.lang.String,double)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setDefaultDouble</h4> |
| <pre class="methodSignature">public static void setDefaultDouble​(java.lang.String qualifier, |
| java.lang.String key, |
| double value)</pre> |
| <div class="block">Sets a double in the <code>DefaultScope</code></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>qualifier</code> - </dd> |
| <dd><code>key</code> - the key</dd> |
| <dd><code>value</code> - the new value</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setDefaultFloat(java.lang.String,java.lang.String,float)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setDefaultFloat</h4> |
| <pre class="methodSignature">public static void setDefaultFloat​(java.lang.String qualifier, |
| java.lang.String key, |
| float value)</pre> |
| <div class="block">Sets a float in the <code>DefaultScope</code></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>qualifier</code> - </dd> |
| <dd><code>key</code> - the key</dd> |
| <dd><code>value</code> - the new value</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setDefaultInt(java.lang.String,java.lang.String,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setDefaultInt</h4> |
| <pre class="methodSignature">public static void setDefaultInt​(java.lang.String qualifier, |
| java.lang.String key, |
| int value)</pre> |
| <div class="block">Sets a integer in the <code>DefaultScope</code></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>qualifier</code> - </dd> |
| <dd><code>key</code> - the key</dd> |
| <dd><code>value</code> - the new value</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setDefaultLong(java.lang.String,java.lang.String,long)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setDefaultLong</h4> |
| <pre class="methodSignature">public static void setDefaultLong​(java.lang.String qualifier, |
| java.lang.String key, |
| long value)</pre> |
| <div class="block">Sets a long in the <code>DefaultScope</code></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>qualifier</code> - </dd> |
| <dd><code>key</code> - the key</dd> |
| <dd><code>value</code> - the new value</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setDefaultString(java.lang.String,java.lang.String,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setDefaultString</h4> |
| <pre class="methodSignature">public static void setDefaultString​(java.lang.String qualifier, |
| java.lang.String key, |
| java.lang.String value)</pre> |
| <div class="block">Sets a string in the <code>DefaultScope</code></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>qualifier</code> - </dd> |
| <dd><code>key</code> - the key</dd> |
| <dd><code>value</code> - the new value</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setDouble(java.lang.String,java.lang.String,double)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setDouble</h4> |
| <pre class="methodSignature">public static void setDouble​(java.lang.String qualifier, |
| java.lang.String key, |
| double value)</pre> |
| <div class="block">Sets a double preference in the <code>InstanceScope</code>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>qualifier</code> - </dd> |
| <dd><code>key</code> - the key</dd> |
| <dd><code>value</code> - the value</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setFloat(java.lang.String,java.lang.String,float)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setFloat</h4> |
| <pre class="methodSignature">public static void setFloat​(java.lang.String qualifier, |
| java.lang.String key, |
| float value)</pre> |
| <div class="block">Sets a float preference in the <code>InstanceScope</code>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>qualifier</code> - </dd> |
| <dd><code>key</code> - the key</dd> |
| <dd><code>value</code> - the value</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setInt(java.lang.String,java.lang.String,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setInt</h4> |
| <pre class="methodSignature">public static void setInt​(java.lang.String qualifier, |
| java.lang.String key, |
| int value)</pre> |
| <div class="block">Sets a integer preference in the <code>InstanceScope</code>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>qualifier</code> - </dd> |
| <dd><code>key</code> - the key</dd> |
| <dd><code>value</code> - the value</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setLong(java.lang.String,java.lang.String,long)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setLong</h4> |
| <pre class="methodSignature">public static void setLong​(java.lang.String qualifier, |
| java.lang.String key, |
| long value)</pre> |
| <div class="block">Sets a long preference in the <code>InstanceScope</code>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>qualifier</code> - </dd> |
| <dd><code>key</code> - the key</dd> |
| <dd><code>value</code> - the value</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setString(java.lang.String,java.lang.String,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setString</h4> |
| <pre class="methodSignature">public static void setString​(java.lang.String qualifier, |
| java.lang.String key, |
| java.lang.String value)</pre> |
| <div class="block">Sets a string preference in the <code>InstanceScope</code>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>qualifier</code> - </dd> |
| <dd><code>key</code> - the key</dd> |
| <dd><code>value</code> - the value</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setToDefault(java.lang.String,java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>setToDefault</h4> |
| <pre class="methodSignature">public static void setToDefault​(java.lang.String qualifier, |
| java.lang.String key)</pre> |
| <div class="block">Sets the given preference to its default value. This is done by removing |
| any set value from the <code>InstanceScope</code>. Has no effect if the given |
| key is <code>null</code>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>qualifier</code> - </dd> |
| <dd><code>key</code> - the key for the preference</dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| </div> |
| </main> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <footer role="contentinfo"> |
| <nav role="navigation"> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a id="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/Preferences.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-files/index-1.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| <div class="aboutLanguage"><b>PTP</b><br>Release 7.0</div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a id="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </nav> |
| <p class="legalCopy"><small>Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.</small></p> |
| </footer> |
| </body> |
| </html> |