Java Code Examples for org.eclipse.compare.CompareConfiguration#getProperty()
The following examples show how to use
org.eclipse.compare.CompareConfiguration#getProperty() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: Utilities.java From APICloud-Studio with GNU General Public License v3.0 | 5 votes |
public static boolean getBoolean(CompareConfiguration cc, String key, boolean dflt) { if (cc != null) { Object value= cc.getProperty(key); if (value instanceof Boolean) return ((Boolean) value).booleanValue(); } return dflt; }
Example 2
Source File: JavaCompareUtilities.java From Eclipse-Postfix-Code-Completion with Eclipse Public License 1.0 | 5 votes |
static boolean getBoolean(CompareConfiguration cc, String key, boolean dflt) { if (cc != null) { Object value= cc.getProperty(key); if (value instanceof Boolean) return ((Boolean) value).booleanValue(); } return dflt; }