diff options
author | Jean Michel-Lemieux | 2003-06-20 14:44:45 +0000 |
---|---|---|
committer | Jean Michel-Lemieux | 2003-06-20 14:44:45 +0000 |
commit | 761a80e4740eb17583e5efd9895be0b5d305d04b (patch) | |
tree | bc29c8edac34679dc2aa722caeb8d7e69864bc63 /bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/Policy.java | |
parent | fb950174a6799d2c86d8c8006495e8c4e08ac046 (diff) | |
download | eclipse.platform.team-761a80e4740eb17583e5efd9895be0b5d305d04b.tar.gz eclipse.platform.team-761a80e4740eb17583e5efd9895be0b5d305d04b.tar.xz eclipse.platform.team-761a80e4740eb17583e5efd9895be0b5d305d04b.zip |
- refactored images in Team UI. they have been consolidated.Root_MV_Settings_Branch
- added code to show revision/author/comment in compare editor
Diffstat (limited to 'bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/Policy.java')
-rw-r--r-- | bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/Policy.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/Policy.java b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/Policy.java index 81f11045d..4c2b884a6 100644 --- a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/Policy.java +++ b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/Policy.java @@ -66,6 +66,20 @@ public class Policy { } /** + * Lookup the message with the given ID in this catalog and bind its + * substitution locations with the given strings. + * + * @param id the id to look up + * @param binding1 the first string to bind to the result + * @param binding2 the second string to bind to the result + * @param binding3 the third string to bind to the result + * @return the bound string + */ + public static String bind(String id, String binding1, String binding2,String binding3) { + return bind(id, new String[] { binding1, binding2, binding3 }); + } + + /** * Gets a string from the resource bundle. We don't want to crash because of a missing String. * Returns the key if not found. * |