| java.lang.Object org.eclipse.pde.internal.build.Policy
Policy | public class Policy (Code) | | Utility class used to help with NLS'ing messages, creating progress monitors, etc.
|
Method Summary | |
public static void | debug(boolean includeDate, String message) Print a debug message to the console. | public static IProgressMonitor | monitorFor(IProgressMonitor monitor) Return a progress monitor for the given monitor. | public static IProgressMonitor | subMonitorFor(IProgressMonitor monitor, int ticks) Create a sub progress monitor with the given units of work, for the given monitor. | public static IProgressMonitor | subMonitorFor(IProgressMonitor monitor, int ticks, int style) Create a sub progress monitor with the given number of units of work and in the
given style, for the specified parent monitor. |
debug | public static void debug(boolean includeDate, String message)(Code) | | Print a debug message to the console. If the given boolean is
true then pre-pend the message with the current date.
|
monitorFor | public static IProgressMonitor monitorFor(IProgressMonitor monitor)(Code) | | Return a progress monitor for the given monitor. Ensures that the resulting
monitor is not null .
Parameters: monitor - the monitor to wrap, or null IProgressMonitor |
subMonitorFor | public static IProgressMonitor subMonitorFor(IProgressMonitor monitor, int ticks)(Code) | | Create a sub progress monitor with the given units of work, for the given monitor.
Parameters: monitor - the parent monitor, or null Parameters: ticks - the number of units of work IProgressMonitor |
subMonitorFor | public static IProgressMonitor subMonitorFor(IProgressMonitor monitor, int ticks, int style)(Code) | | Create a sub progress monitor with the given number of units of work and in the
given style, for the specified parent monitor.
Parameters: monitor - the parent monitor, or null Parameters: ticks - the number of units of work Parameters: style - the style of the sub progress monitor IProgressMonitor |
|
|