org.eclipse.rse.ui.operations
Class Policy
java.lang.Object
org.eclipse.rse.ui.operations.Policy
-
public class Policy
- extends
Object
Methods inherited from class java.lang.
Object
|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
|
bundle
protected static
ResourceBundle bundle
Policy
public Policy()
localize
public static void localize(
String bundleName)
- Creates a NLS catalog for the given locale.
-
bind
public static
String bind(
String id,
String binding)
- Lookup the message with the given ID in this catalog and bind its
substitution locations with the given string.
-
bind
public static
String bind(
String id,
String binding1,
String binding2)
- Lookup the message with the given ID in this catalog and bind its
substitution locations with the given strings.
-
bind
public static
String bind(
String key)
- Gets a string from the resource bundle. We don't want to crash because of a missing String.
Returns the key if not found.
-
bind
public static
String bind(
String key,
Object[] args)
- Gets a string from the resource bundle and binds it with the given arguments. If the key is
not found, return the key.
-
checkCanceled
public static void checkCanceled(
IProgressMonitor monitor)
- Progress monitor helpers
-
cancelOperation
public static void cancelOperation()
-
monitorFor
public static
IProgressMonitor monitorFor(
IProgressMonitor monitor)
-
subMonitorFor
public static
IProgressMonitor subMonitorFor(
IProgressMonitor monitor,
int ticks)
-
subMonitorFor
public static
IProgressMonitor subMonitorFor(
IProgressMonitor monitor,
int ticks,
int style)
-
getBundle
public static
ResourceBundle getBundle()
-
Copyright (c) IBM Corporation and others 2000, 2008. All Rights Reserved.