Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

RSE
Release 3.0

org.eclipse.rse.ui.operations
Class Policy

java.lang.Object
  extended by 
org.eclipse.rse.ui.operations.Policy

public class Policy
extends Object


Field Summary
protected static  ResourceBundle bundle
           
 
Constructor Summary
Policy ()
           
 
Method Summary
static  String bind ( String key)
          Gets a string from the resource bundle.
static  String bind ( String key, Object[] args)
          Gets a string from the resource bundle and binds it with the given arguments.
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.
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.
static void cancelOperation ()
           
static void checkCanceled ( IProgressMonitor monitor)
          Progress monitor helpers
static  ResourceBundle getBundle ()
           
static void localize ( String bundleName)
          Creates a NLS catalog for the given locale.
static  IProgressMonitor monitorFor ( IProgressMonitor monitor)
           
static  IProgressMonitor subMonitorFor ( IProgressMonitor monitor, int ticks)
           
static  IProgressMonitor subMonitorFor ( IProgressMonitor monitor, int ticks, int style)
           
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bundle

protected static 
ResourceBundle bundle
Constructor Detail

Policy

public Policy()
Method Detail

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()

RSE
Release 3.0

Copyright (c) IBM Corporation and others 2000, 2008. All Rights Reserved.

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire