Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkersten2008-06-12 04:58:18 +0000
committermkersten2008-06-12 04:58:18 +0000
commit2fbd77ba218ece51891236004cc648c657507ddd (patch)
treefad855cc82d302aad4cbbc2b510ef011f970d5a4 /org.eclipse.mylyn.trac.ui/src/org/eclipse
parent4496d19736e696112335284fd8f7621690e0c4e5 (diff)
downloadorg.eclipse.mylyn.tasks-2fbd77ba218ece51891236004cc648c657507ddd.tar.gz
org.eclipse.mylyn.tasks-2fbd77ba218ece51891236004cc648c657507ddd.tar.xz
org.eclipse.mylyn.tasks-2fbd77ba218ece51891236004cc648c657507ddd.zip
NEW - bug 235466: copy context is failing
https://bugs.eclipse.org/bugs/show_bug.cgi?id=235466
Diffstat (limited to 'org.eclipse.mylyn.trac.ui/src/org/eclipse')
-rw-r--r--org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracHyperlinkUtil.java2
-rw-r--r--org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracUiPlugin.java4
-rw-r--r--org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/wizard/TracCustomQueryPage.java2
-rw-r--r--org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/wizard/TracQueryWizardPage.java2
-rw-r--r--org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/wizard/TracRepositorySettingsPage.java10
5 files changed, 10 insertions, 10 deletions
diff --git a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracHyperlinkUtil.java b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracHyperlinkUtil.java
index 19b1cb3bf..c248bfa20 100644
--- a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracHyperlinkUtil.java
+++ b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracHyperlinkUtil.java
@@ -227,7 +227,7 @@ public class TracHyperlinkUtil {
url += "?new_path=" + URLEncoder.encode(new_path, "UTF-8");
url += "&old_path=" + URLEncoder.encode(old_path, "UTF-8");
} catch (UnsupportedEncodingException e) {
- StatusHandler.log(new Status(IStatus.WARNING, TracUiPlugin.PLUGIN_ID, "Unexcpected exception", e));
+ StatusHandler.log(new Status(IStatus.WARNING, TracUiPlugin.ID_PLUGIN, "Unexcpected exception", e));
continue;
}
if (new_rev != null) {
diff --git a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracUiPlugin.java b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracUiPlugin.java
index 58e97beb9..6790a10d4 100644
--- a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracUiPlugin.java
+++ b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracUiPlugin.java
@@ -19,11 +19,11 @@ import org.osgi.framework.BundleContext;
*/
public class TracUiPlugin extends AbstractUIPlugin {
- public static final String PLUGIN_ID = "org.eclipse.mylyn.trac.ui";
+ public static final String ID_PLUGIN = "org.eclipse.mylyn.trac.ui";
public final static String TITLE_MESSAGE_DIALOG = "Mylyn Trac Client";
- public static final String NEW_BUG_EDITOR_ID = PLUGIN_ID + ".newBugEditor";
+ public static final String NEW_BUG_EDITOR_ID = ID_PLUGIN + ".newBugEditor";
private static TracUiPlugin plugin;
diff --git a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/wizard/TracCustomQueryPage.java b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/wizard/TracCustomQueryPage.java
index 9e740a40f..8c5d25ce8 100644
--- a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/wizard/TracCustomQueryPage.java
+++ b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/wizard/TracCustomQueryPage.java
@@ -170,7 +170,7 @@ public class TracCustomQueryPage extends AbstractRepositoryQueryPage {
if (field != null) {
field.setFilter(filter);
} else {
- StatusHandler.log(new Status(IStatus.WARNING, TracUiPlugin.PLUGIN_ID,
+ StatusHandler.log(new Status(IStatus.WARNING, TracUiPlugin.ID_PLUGIN,
"Ignoring invalid search filter: " + filter));
}
}
diff --git a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/wizard/TracQueryWizardPage.java b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/wizard/TracQueryWizardPage.java
index 1a2c5d2b8..a26f938c4 100644
--- a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/wizard/TracQueryWizardPage.java
+++ b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/wizard/TracQueryWizardPage.java
@@ -113,7 +113,7 @@ public class TracQueryWizardPage extends WizardPage {
if (field != null) {
showSearchField(field, filter);
} else {
- StatusHandler.log(new Status(IStatus.WARNING, TracUiPlugin.PLUGIN_ID,
+ StatusHandler.log(new Status(IStatus.WARNING, TracUiPlugin.ID_PLUGIN,
"Ignoring invalid search filter: " + filter));
}
}
diff --git a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/wizard/TracRepositorySettingsPage.java b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/wizard/TracRepositorySettingsPage.java
index 3d2993d71..065a8f046 100644
--- a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/wizard/TracRepositorySettingsPage.java
+++ b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/wizard/TracRepositorySettingsPage.java
@@ -176,20 +176,20 @@ public class TracRepositorySettingsPage extends AbstractRepositorySettingsPage {
validate(monitor);
} catch (MalformedURLException e) {
throw new CoreException(RepositoryStatus.createStatus(repositoryUrl, IStatus.ERROR,
- TracUiPlugin.PLUGIN_ID, INVALID_REPOSITORY_URL));
+ TracUiPlugin.ID_PLUGIN, INVALID_REPOSITORY_URL));
} catch (TracLoginException e) {
throw new CoreException(RepositoryStatus.createStatus(repositoryUrl, IStatus.ERROR,
- TracUiPlugin.PLUGIN_ID, INVALID_LOGIN));
+ TracUiPlugin.ID_PLUGIN, INVALID_LOGIN));
} catch (TracPermissionDeniedException e) {
throw new CoreException(RepositoryStatus.createStatus(repositoryUrl, IStatus.ERROR,
- TracUiPlugin.PLUGIN_ID, "Insufficient permissions for selected access type."));
+ TracUiPlugin.ID_PLUGIN, "Insufficient permissions for selected access type."));
} catch (TracException e) {
String message = "No Trac repository found at url";
if (e.getMessage() != null) {
message += ": " + e.getMessage();
}
throw new CoreException(RepositoryStatus.createStatus(repositoryUrl, IStatus.ERROR,
- TracUiPlugin.PLUGIN_ID, message));
+ TracUiPlugin.ID_PLUGIN, message));
}
}
@@ -214,7 +214,7 @@ public class TracRepositorySettingsPage extends AbstractRepositorySettingsPage {
if (e instanceof TracPermissionDeniedException) {
setStatus(RepositoryStatus.createStatus(repositoryUrl, IStatus.INFO,
- TracUiPlugin.PLUGIN_ID,
+ TracUiPlugin.ID_PLUGIN,
"Authentication credentials are valid. Note: Insufficient permissions for XML-RPC access, falling back to web access."));
}
} catch (TracLoginException e2) {

Back to the top