Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSFolderPropertiesPage.java')
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSFolderPropertiesPage.java26
1 files changed, 13 insertions, 13 deletions
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSFolderPropertiesPage.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSFolderPropertiesPage.java
index aafb34efa..68904c852 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSFolderPropertiesPage.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSFolderPropertiesPage.java
@@ -52,23 +52,23 @@ public class CVSFolderPropertiesPage extends CVSPropertiesPage {
ICVSFolder cvsResource = CVSWorkspaceRoot.getCVSFolderFor(folder);
if (!cvsResource.isManaged()) {
if (cvsResource.isIgnored()) {
- createLabel(composite, Policy.bind("CVSFolderPropertiesPage.ignored"), 2); //$NON-NLS-1$
+ createLabel(composite, CVSUIMessages.CVSFolderPropertiesPage_ignored, 2); //$NON-NLS-1$
} else {
- createLabel(composite, Policy.bind("CVSFolderPropertiesPage.notManaged"), 2); //$NON-NLS-1$
+ createLabel(composite, CVSUIMessages.CVSFolderPropertiesPage_notManaged, 2); //$NON-NLS-1$
}
} else if (!cvsResource.isCVSFolder()) {
// We have a managed folder which is not a cvs folder.
// This is really an invalid state but it does happen once in a while
- createLabel(composite, Policy.bind("CVSFolderPropertiesPage.notCVSFolder"), 2); //$NON-NLS-1$
+ createLabel(composite, CVSUIMessages.CVSFolderPropertiesPage_notCVSFolder, 2); //$NON-NLS-1$
} else {
FolderSyncInfo syncInfo = cvsResource.getFolderSyncInfo();
- createLabel(composite, Policy.bind("CVSFolderPropertiesPage.root")); //$NON-NLS-1$
+ createLabel(composite, CVSUIMessages.CVSFolderPropertiesPage_root); //$NON-NLS-1$
root = createLabel(composite, syncInfo.getRoot());
- createLabel(composite, Policy.bind("CVSFolderPropertiesPage.repository")); //$NON-NLS-1$
+ createLabel(composite, CVSUIMessages.CVSFolderPropertiesPage_repository); //$NON-NLS-1$
repository = createLabel(composite, syncInfo.getRepository());
// Tag
- createLabel(composite, Policy.bind("CVSFilePropertiesPage.tag")); //$NON-NLS-1$
+ createLabel(composite, CVSUIMessages.CVSFilePropertiesPage_tag); //$NON-NLS-1$
CVSTag tag = syncInfo.getTag();
if (tag != null && tag.getType() == CVSTag.BRANCH) {
@@ -79,15 +79,15 @@ public class CVSFolderPropertiesPage extends CVSPropertiesPage {
// Static-ness
if (syncInfo.getIsStatic()) {
- createLabel(composite, Policy.bind("CVSFolderPropertiesPage.static")); //$NON-NLS-1$
- createLabel(composite, syncInfo.getIsStatic() ? Policy.bind("yes") : Policy.bind("no")); //$NON-NLS-1$ //$NON-NLS-2$
+ createLabel(composite, CVSUIMessages.CVSFolderPropertiesPage_static); //$NON-NLS-1$
+ createLabel(composite, syncInfo.getIsStatic() ? CVSUIMessages.yes : CVSUIMessages.no); //$NON-NLS-1$ //$NON-NLS-2$
}
createLabel(composite, "", 2); // spacer //$NON-NLS-1$
// Allow the folder to be disconnected from CVS control
final Button disconnect = new Button(composite, SWT.NONE);
- disconnect.setText(Policy.bind("CVSFolderPropertiesPage.disconnect")); //$NON-NLS-1$
+ disconnect.setText(CVSUIMessages.CVSFolderPropertiesPage_disconnect); //$NON-NLS-1$
GridData data = new GridData(GridData.HORIZONTAL_ALIGN_END);
data.heightHint = convertVerticalDLUsToPixels(IDialogConstants.BUTTON_HEIGHT);
int widthHint = convertHorizontalDLUsToPixels(IDialogConstants.BUTTON_WIDTH);
@@ -97,8 +97,8 @@ public class CVSFolderPropertiesPage extends CVSPropertiesPage {
public void handleEvent (Event event) {
// perform a disconnect
if (disconnectFolder()) {
- root.setText(Policy.bind("CVSFilePropertiesPage.none")); //$NON-NLS-1$
- repository.setText(Policy.bind("CVSFilePropertiesPage.none")); //$NON-NLS-1$
+ root.setText(CVSUIMessages.CVSFilePropertiesPage_none); //$NON-NLS-1$
+ repository.setText(CVSUIMessages.CVSFilePropertiesPage_none); //$NON-NLS-1$
disconnect.setEnabled(false);
}
}
@@ -106,7 +106,7 @@ public class CVSFolderPropertiesPage extends CVSPropertiesPage {
}
} catch (TeamException e) {
// Display error text
- createLabel(composite, Policy.bind("CVSFilePropertiesPage.error"), 2); //$NON-NLS-1$
+ createLabel(composite, CVSUIMessages.CVSFilePropertiesPage_error, 2); //$NON-NLS-1$
}
WorkbenchHelp.setHelp(getControl(), IHelpContextIds.FOLDER_PROPERTY_PAGE);
Dialog.applyDialogFont(parent);
@@ -152,7 +152,7 @@ public class CVSFolderPropertiesPage extends CVSPropertiesPage {
}
private boolean disconnectFolder() {
- if (MessageDialog.openQuestion(getShell(), Policy.bind("CVSFolderPropertiesPage.disconnectTitle"), Policy.bind("CVSFolderPropertiesPage.disconnectQuestion"))) { //$NON-NLS-1$ //$NON-NLS-2$
+ if (MessageDialog.openQuestion(getShell(), CVSUIMessages.CVSFolderPropertiesPage_disconnectTitle, CVSUIMessages.CVSFolderPropertiesPage_disconnectQuestion)) { //$NON-NLS-1$ //$NON-NLS-2$
final ICVSFolder cvsFolder = CVSWorkspaceRoot.getCVSFolderFor(folder);
try {
PlatformUI.getWorkbench().getProgressService().run(true, false, new IRunnableWithProgress() {

Back to the top