| java.lang.Object org.eclipse.pde.internal.ui.util.PDELabelUtility
PDELabelUtility | public class PDELabelUtility (Code) | | PDELabelUtility
|
generateName | public static String generateName(String[] names, String base, boolean bracketed)(Code) | | Generates a name that does not conflict with any of the given names with one of two forms:
- "<base> (#)"
- "<base>#"
The number will be omitted if the base name alone is available.
Parameters: names - the existing names that should not be conflicted Parameters: base - the base name to add numbers to Parameters: bracketed - if true use the first form, otherwise use the secondthe non-conflicting name |
getFieldLabel | public static String getFieldLabel(Control control)(Code) | | Get the field label text from the label widget created before the
control (assumption). Use this method when the control's label is
variable or if the label's text is set elsewhere. Note: Hyperlink
label text will not be detected.
Parameters: control - |
qualifyMessage | public static String qualifyMessage(String qualification, String message)(Code) | | Parameters: qualification - Parameters: message - |
|
|