diff options
author | mkersten | 2007-07-10 00:31:16 +0000 |
---|---|---|
committer | mkersten | 2007-07-10 00:31:16 +0000 |
commit | d1faadad69f9ff8211f2c8269111870191538051 (patch) | |
tree | 9afec66b8536a68cbe74c7245a991417da7e81c4 | |
parent | fd8d10d7a11b1624680ea023c34f13ff2b38804c (diff) | |
download | org.eclipse.mylyn.tasks-d1faadad69f9ff8211f2c8269111870191538051.tar.gz org.eclipse.mylyn.tasks-d1faadad69f9ff8211f2c8269111870191538051.tar.xz org.eclipse.mylyn.tasks-d1faadad69f9ff8211f2c8269111870191538051.zip |
NEW - bug 191406: rename Mylar project to Mylyn
https://bugs.eclipse.org/bugs/show_bug.cgi?id=191406
245 files changed, 275 insertions, 1974 deletions
diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaClient.java b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaClient.java index 6b6c1fe3f..1bcfe7d5e 100644 --- a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaClient.java +++ b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaClient.java @@ -444,13 +444,6 @@ public class BugzillaClient { } } - // private void checkAuthenticated(CoreException e) { - // if (e.getStatus().getCode() == - // IMylarStatusConstants.REPOSITORY_LOGIN_ERROR) { - // this.authenticated = false; - // } - // } - public boolean getSearchHits(AbstractRepositoryQuery query, ITaskCollector collector) throws IOException, CoreException { GetMethod method = null; diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaClientFactory.java b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaClientFactory.java index 4fa130d55..e68b2a149 100644 --- a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaClientFactory.java +++ b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaClientFactory.java @@ -1,12 +1,9 @@ /******************************************************************************* - * Copyright (c) 2006 - 2006 Mylar eclipse.org project and others. + * Copyright (c) 2003, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Mylar project committers - initial API and implementation *******************************************************************************/ package org.eclipse.mylyn.internal.bugzilla.core; diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaStatus.java b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaStatus.java index bd2861d4d..d23ef3975 100644 --- a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaStatus.java +++ b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaStatus.java @@ -21,30 +21,30 @@ public class BugzillaStatus extends Status { private String repositoryUrl = ""; public BugzillaStatus(int severity, String pluginId, int code) { - super(severity, pluginId, code, "MylarStatus", null); + super(severity, pluginId, code, "MylynStatus", null); this.errorMessage = null; } public BugzillaStatus(int severity, String pluginId, int code, String errorMessage) { - super(severity, pluginId, code, "MylarStatus", null); + super(severity, pluginId, code, "MylynStatus", null); this.errorMessage = errorMessage; } public BugzillaStatus(int severity, String pluginId, int code, String repositoryUrl, Throwable e) { - super(severity, pluginId, code, "MylarStatus", e); + super(severity, pluginId, code, "MylynStatus", e); this.repositoryUrl = repositoryUrl; this.errorMessage = e.getMessage(); } public BugzillaStatus(int severity, String pluginId, int code, String repositoryUrl, String errorMessage) { - super(severity, pluginId, code, "MylarStatus", null); + super(severity, pluginId, code, "MylynStatus", null); this.errorMessage = errorMessage; this.repositoryUrl = repositoryUrl; } public BugzillaStatus(int severity, String pluginId, int code, String repositoryUrl, String errorMessage, Throwable e) { - super(severity, pluginId, code, "MylarStatus", e); + super(severity, pluginId, code, "MylynStatus", e); this.errorMessage = errorMessage; this.repositoryUrl = repositoryUrl; } diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaTaskDataHandler.java b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaTaskDataHandler.java index f7c3822cd..7cf979375 100644 --- a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaTaskDataHandler.java +++ b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaTaskDataHandler.java @@ -268,8 +268,6 @@ public class BugzillaTaskDataHandler extends AbstractTaskDataHandler { break; default: break; - // MylarStatusHandler.log("Unknown bugzilla operation code recieved", - // BugzillaRepositoryUtil.class); } if (newOperation != null) { bugReport.addOperation(newOperation); diff --git a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaConfigurationTest.java b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaConfigurationTest.java index 944396d14..189e6997a 100644 --- a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaConfigurationTest.java +++ b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaConfigurationTest.java @@ -182,7 +182,7 @@ public class BugzillaConfigurationTest extends TestCase { /** * Can use this to test config data submitted by users. Be sure not to commit user's config file though. The file - * included (rdfconfig218.txt) is from mylar.eclipse.org/bugs218 + * included (rdfconfig218.txt) is from mylyn.eclipse.org/bugs218 */ public void testRepositoryConfigurationFromFile() throws Exception { diff --git a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaProductParserTest.java b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaProductParserTest.java index 291523b72..755d0ee66 100644 --- a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaProductParserTest.java +++ b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaProductParserTest.java @@ -31,15 +31,11 @@ public class BugzillaProductParserTest extends TestCase { @Override protected void setUp() throws Exception { super.setUp(); - // repository = new TaskRepository(BugzillaPlugin.REPOSITORY_KIND, - // new URL(IBugzillaConstants.ECLIPSE_BUGZILLA_URL)); - // MylarTaskListPlugin.getRepositoryManager().addRepository(repository); } @Override protected void tearDown() throws Exception { super.tearDown(); - // MylarTaskListPlugin.getRepositoryManager().removeRepository(repository); } public BugzillaProductParserTest(String arg0) { diff --git a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaRepositoryConnectorTest.java b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaRepositoryConnectorTest.java index 5a4d7f2fb..1ba3f4e2e 100644 --- a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaRepositoryConnectorTest.java +++ b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaRepositoryConnectorTest.java @@ -612,7 +612,7 @@ public class BugzillaRepositoryConnectorTest extends AbstractBugzillaTest { // public void testSimpleLoad() throws Exception { // repository = new TaskRepository(DEFAULT_KIND, // IBugzillaConstants.ECLIPSE_BUGZILLA_URL); -// //Credentials credentials = MylarTestUtils.readCredentials(); +// //Credentials credentials = MylynTestUtils.readCredentials(); // //repository.setAuthenticationCredentials(credentials.username, // credentials.password); // diff --git a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaSearchEngineTest.java b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaSearchEngineTest.java index 3b384757f..c501be6bf 100644 --- a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaSearchEngineTest.java +++ b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaSearchEngineTest.java @@ -57,7 +57,7 @@ public class BugzillaSearchEngineTest extends TestCase { // TaskRepository(BugzillaPlugin.REPOSITORY_KIND, // IBugzillaConstants.TEST_BUGZILLA_216_URL, // IBugzillaConstants.BugzillaServerVersion.SERVER_216.toString()); -// MylarTaskListPlugin.getRepositoryManager().addRepository(repository); +// MylynTaskListPlugin.getRepositoryManager().addRepository(repository); // List<AbstractQueryHit> hits = // runQuery(IBugzillaConstants.TEST_BUGZILLA_216_URL, SEARCH_DESCRIPTION); // assertEquals(NUM_EXPECTED_HITS, hits.size()); diff --git a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/RepositoryTaskHandleTest.java b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/RepositoryTaskHandleTest.java index bf78c462a..a21eaf6c7 100644 --- a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/RepositoryTaskHandleTest.java +++ b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/RepositoryTaskHandleTest.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2003, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/TaskEditorTest.java b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/TaskEditorTest.java index 4d88eaa4e..73b543e75 100644 --- a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/TaskEditorTest.java +++ b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/TaskEditorTest.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2003, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/OfflineView.java b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/OfflineView.java deleted file mode 100644 index ca069bce8..000000000 --- a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/OfflineView.java +++ /dev/null @@ -1,695 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2005, 2007 Mylyn project committers and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - *******************************************************************************/ - -//package org.eclipse.mylyn.internal.bugzilla.ui; -// -//import java.util.ArrayList; -//import java.util.Iterator; -//import java.util.List; -// -//import org.eclipse.core.runtime.CoreException; -//import org.eclipse.jface.action.GroupMarker; -//import org.eclipse.jface.action.IMenuListener; -//import org.eclipse.jface.action.IMenuManager; -//import org.eclipse.jface.action.IStatusLineManager; -//import org.eclipse.jface.action.IToolBarManager; -//import org.eclipse.jface.action.MenuManager; -//import org.eclipse.jface.action.Separator; -//import org.eclipse.jface.viewers.ColumnLayoutData; -//import org.eclipse.jface.viewers.ColumnWeightData; -//import org.eclipse.jface.viewers.IContentProvider; -//import org.eclipse.jface.viewers.ISelectionChangedListener; -//import org.eclipse.jface.viewers.IStructuredContentProvider; -//import org.eclipse.jface.viewers.IStructuredSelection; -//import org.eclipse.jface.viewers.ITableLabelProvider; -//import org.eclipse.jface.viewers.LabelProvider; -//import org.eclipse.jface.viewers.SelectionChangedEvent; -//import org.eclipse.jface.viewers.TableLayout; -//import org.eclipse.jface.viewers.TableViewer; -//import org.eclipse.jface.viewers.Viewer; -//import org.eclipse.mylyn.bugzilla.core.IBugzillaBug; -//import org.eclipse.mylyn.internal.bugzilla.core.BugzillaPlugin; -//import org.eclipse.mylyn.internal.bugzilla.core.IBugzillaConstants; -//import org.eclipse.mylyn.internal.bugzilla.core.IOfflineBugListener.BugzillaOfflineStaus; -//import org.eclipse.mylyn.internal.bugzilla.core.internal.OfflineReportsFile; -//import org.eclipse.mylyn.internal.bugzilla.ui.actions.AbstractOfflineReportsAction; -//import org.eclipse.mylyn.internal.bugzilla.ui.actions.DeleteOfflineReportAction; -//import org.eclipse.mylyn.internal.bugzilla.ui.actions.ViewOfflineReportAction; -//import org.eclipse.mylyn.internal.core.util.MylarStatusHandler; -//import org.eclipse.swt.SWT; -//import org.eclipse.swt.events.KeyAdapter; -//import org.eclipse.swt.events.KeyEvent; -//import org.eclipse.swt.events.MouseAdapter; -//import org.eclipse.swt.events.MouseEvent; -//import org.eclipse.swt.events.SelectionEvent; -//import org.eclipse.swt.events.SelectionListener; -//import org.eclipse.swt.graphics.Image; -//import org.eclipse.swt.layout.GridData; -//import org.eclipse.swt.widgets.Composite; -//import org.eclipse.swt.widgets.Display; -//import org.eclipse.swt.widgets.Menu; -//import org.eclipse.swt.widgets.Table; -//import org.eclipse.swt.widgets.TableColumn; -//import org.eclipse.swt.widgets.TableItem; -//import org.eclipse.ui.IActionBars; -//import org.eclipse.ui.IMemento; -//import org.eclipse.ui.IViewSite; -//import org.eclipse.ui.IWorkbenchActionConstants; -//import org.eclipse.ui.IWorkbenchPage; -//import org.eclipse.ui.IWorkbenchWindow; -//import org.eclipse.ui.PartInitException; -//import org.eclipse.ui.actions.ActionFactory; -//import org.eclipse.ui.part.ViewPart; -// -///** -// * A view that displays any bugs that have been saved offline. -// */ -//public class OfflineView extends ViewPart { -// -// private static Composite parent; -// -// private IMemento savedMemento; -// -// private static DeleteOfflineReportAction remove; -// -// public static DeleteOfflineReportAction removeAll; -// -// public static SelectAllAction selectAll; -// -// private static ViewOfflineReportAction open; -// -// private Table table; -// -// private MenuManager contextMenu; -// -// private static TableViewer viewer; -// -// private static OfflineReportsViewContentProvider contentProvider = new OfflineReportsViewContentProvider(); -// -// private String[] columnHeaders = { "Bug", "Summary", "Description" }; -// -// private ColumnLayoutData columnLayouts[] = { new ColumnWeightData(3), new ColumnWeightData(5), -// new ColumnWeightData(10) }; -// -// /** -// * Constructor initializes OfflineReports' source file initializes actions -// */ -// public OfflineView() { -// super(); -// open = new ViewOfflineReportAction(this); -// selectAll = new SelectAllAction(); -// remove = new DeleteOfflineReportAction(this, false); -// removeAll = new DeleteOfflineReportAction(this, true); -// } -// -// @Override -// public void init(IViewSite site) throws PartInitException { -// super.init(site); -// } -// -// /** -// * Initializes this view with the given view site. A memento is passed to -// * the view which contains a snapshot of the views state from a previous -// * session. -// */ -// @Override -// public void init(IViewSite site, IMemento memento) throws PartInitException { -// init(site); -// this.savedMemento = memento; -// } -// -// @Override -// public void createPartControl(Composite parentComposite) { -// OfflineView.parent = parentComposite; -// setPartName("Bugzilla Offline Reports"); -// createTable(); -// -// viewer = new TableViewer(table); -// viewer.setUseHashlookup(true); -// createColumns(); -// -// GridData gd = new GridData(GridData.FILL_BOTH); -// gd.verticalSpan = 20; -// viewer.getTable().setLayoutData(gd); -// -// viewer.setContentProvider(contentProvider); -// viewer.setLabelProvider(new OfflineReportsViewLabelProvider()); -// viewer.setInput(BugzillaPlugin.getDefault().getOfflineReports().elements()); -// -// viewer.addSelectionChangedListener(new ISelectionChangedListener() { -// public void selectionChanged(SelectionChangedEvent event) { -// OfflineView.this.widgetSelected(event); -// } -// }); -// -// fillToolbar(); -// createContextMenu(); -// -// Menu menu = contextMenu.createContextMenu(table); -// table.setMenu(menu); -// -// hookGlobalActions(); -// parentComposite.layout(); -// -// // Restore state from the previous session. -// restoreState(); -// } -// -// @Override -// public void setFocus() { -// // don't need to do anything when we get focus -// } -// -// private void createColumns() { -// TableLayout layout = new TableLayout(); -// table.setLayout(layout); -// table.setHeaderVisible(true); -// -// for (int i = 0; i < columnHeaders.length; i++) { -// TableColumn tc = new TableColumn(table, SWT.NONE, i); -// -// tc.setText(columnHeaders[i]); -// tc.pack(); -// tc.setResizable(columnLayouts[i].resizable); -// layout.addColumnData(columnLayouts[i]); -// } -// } -// -// private void createTable() { -// -// table = new Table(parent, SWT.H_SCROLL | SWT.V_SCROLL | SWT.MULTI | SWT.FULL_SELECTION); -// table.setLinesVisible(true); -// -// // Add action support for a double-click -// table.addMouseListener(new MouseAdapter() { -// -// @Override -// public void mouseDoubleClick(MouseEvent e) { -// open.run(); -// } -// }); -// } -// -// private void fillToolbar() { -// IActionBars actionBars = getViewSite().getActionBars(); -// IToolBarManager toolbar = actionBars.getToolBarManager(); -// -// remove.setEnabled(false); -// toolbar.add(remove); -// toolbar.add(removeAll); -// toolbar.add(new Separator()); -// toolbar.add(selectAll); -// -// // create actions to handle the sorting of the OfflineReports -// // sortByIDAction = new SortByAction(OfflineReportManager.ID_SORT); -// // sortByIDAction.setText("by &Bug ID"); -// // sortByIDAction.setToolTipText("Sorts by Bug number"); -// // -// // sortByTypeAction = new SortByAction(OfflineReportManager.TYPE_SORT); -// // sortByTypeAction.setText("by &Bug Type"); -// // sortByTypeAction.setToolTipText("Sorts by locally created/from server -// // status"); -// -// // get the menu manager and create a submenu to contain sorting -// IMenuManager menu = actionBars.getMenuManager(); -// IMenuManager submenu = new MenuManager("&Sort"); -// -// // add the sorting actions to the menu bar -// menu.add(submenu); -// // submenu.add(sortByIDAction); -// // submenu.add(sortByTypeAction); -// -// // updateSortingState(); -// } -// -// // /** -// // * Function to make sure that the appropriate sort is checked -// // */ -// // void updateSortingState() { -// // int curCriterion = OfflineReportManager.lastSel; -// // -// // sortByIDAction.setChecked(curCriterion == OfflineReportManager.ID_SORT); -// // sortByTypeAction.setChecked(curCriterion == -// // OfflineReportManager.TYPE_SORT); -// // viewer.setInput(viewer.getInput()); -// // } -// // -// // // Sorting actions for the OfflineReports view -// // SortByAction sortByIDAction, sortByTypeAction/*, sortBySeverityAction, -// // sortByPriorityAction, sortByStatusAction*/; -// -// // /** -// // * Inner class to handle sorting -// // * @author Shawn Minto -// // */ -// // class SortByAction extends Action { -// // /** The criteria to sort the OfflineReports menu based on */ -// // private int criterion; -// // -// // /** -// // * Constructor -// // * @param criteria The criteria to sort the OfflineReports menu based on -// // */ -// // public SortByAction(int criteria) { -// // this.criterion = criteria; -// // } -// // -// // /** -// // * Perform the sort -// // */ -// // @Override -// // public void run() { -// // BugzillaPlugin.getDefault().getOfflineReports().sort(criterion); -// // updateSortingState(); -// // } -// // } -// -// /** -// * Create context menu. -// */ -// private void createContextMenu() { -// contextMenu = new MenuManager("#OfflineReportsView"); -// contextMenu.setRemoveAllWhenShown(true); -// contextMenu.addMenuListener(new IMenuListener() { -// public void menuAboutToShow(IMenuManager manager) { -// fillContextMenu(manager); -// updateActionEnablement(); -// } -// }); -// -// // Register menu for extension. -// getSite().registerContextMenu("#OfflineReportsView", contextMenu, viewer); -// } -// -// /** -// * Hook global actions -// */ -// private void hookGlobalActions() { -// IActionBars bars = getViewSite().getActionBars(); -// bars.setGlobalActionHandler(ActionFactory.SELECT_ALL.getId(), selectAll); -// bars.setGlobalActionHandler(ActionFactory.DELETE.getId(), remove); -// table.addKeyListener(new KeyAdapter() { -// -// @Override -// public void keyPressed(KeyEvent event) { -// if (event.character == SWT.DEL && event.stateMask == 0 && remove.isEnabled()) { -// remove.run(); -// } -// } -// }); -// } -// -// /** -// * Populate context menu -// */ -// private void fillContextMenu(IMenuManager mgr) { -// mgr.add(open); -// mgr.add(new Separator()); -// mgr.add(new GroupMarker(IWorkbenchActionConstants.MB_ADDITIONS)); -// mgr.add(new Separator()); -// mgr.add(remove); -// mgr.add(new DeleteOfflineReportAction(this, true)); -// mgr.add(new SelectAllAction()); -// } -// -// /** -// * Update action enablement depending on whether or not any items are -// * selected. Displays name of current item in status bar. -// */ -// public static void updateActionEnablement() { -// -// boolean hasSelected = viewer.getTable().getSelectionCount() > 0; -// remove.setEnabled(hasSelected); -// open.setEnabled(hasSelected); -// -// boolean hasItems = viewer.getTable().getItemCount() > 0; -// removeAll.setEnabled(hasItems); -// selectAll.setEnabled(hasItems); -// } -// -// @Override -// public void saveState(IMemento memento) { -// TableItem[] sel = table.getSelection(); -// if (sel.length == 0) -// return; -// memento = memento.createChild("selection"); -// for (int i = 0; i < sel.length; i++) { -// memento.createChild("descriptor", new Integer(table.indexOf(sel[i])).toString()); -// } -// } -// -// private void restoreState() { -// if (savedMemento == null) -// return; -// savedMemento = savedMemento.getChild("selection"); -// if (savedMemento != null) { -// IMemento descriptors[] = savedMemento.getChildren("descriptor"); -// if (descriptors.length > 0) { -// int[] objList = new int[descriptors.length]; -// for (int nX = 0; nX < descriptors.length; nX++) { -// String taskId = descriptors[nX].getID(); -// objList[nX] = BugzillaPlugin.getDefault().getOfflineReports().find(Integer.valueOf(taskId).intValue()); -// } -// table.setSelection(objList); -// } -// } -// viewer.setSelection(viewer.getSelection(), true); -// savedMemento = null; -// updateActionEnablement(); -// } -// -// /** -// * Returns list of names of selected items. -// */ -// @SuppressWarnings("unchecked") -// public List<Integer> getBugIdsOfSelected() { -// IStructuredSelection selection = (IStructuredSelection) viewer.getSelection();// TableItem[] -// // sel -// // = -// // table.getSelection(); -// List<Object> sel = selection.toList(); -// List<Integer> Ids = new ArrayList<Integer>(); -// -// Iterator<Object> itr = sel.iterator(); -// while (itr.hasNext()) { -// Object o = itr.next(); -// if (o instanceof IBugzillaBug) { -// IBugzillaBug entry = (IBugzillaBug) o; -// Integer taskId = entry.getId(); -// if (!entry.isLocallyCreated()) { -// Ids.add(taskId); -// } -// } -// } -// -// return Ids; -// } -// -// /** -// * @return List of selected offline bug reports. -// */ -// @SuppressWarnings("unchecked") -// public List<IBugzillaBug> getSelectedBugs() { -// List<Object> selection = ((IStructuredSelection) viewer.getSelection()).toList(); -// List<IBugzillaBug> bugs = new ArrayList<IBugzillaBug>(); -// for (Iterator<Object> iter = selection.iterator(); iter.hasNext();) { -// Object obj = iter.next(); -// if (obj instanceof IBugzillaBug) { -// bugs.add((IBugzillaBug) obj); -// } -// } -// return bugs; -// } -// -// /** -// * Closes any open editors of the given offline reports. -// * -// * @param reports -// * The list of offline reports that need their editors closed. -// */ -// protected void closeOfflineReports(List<IBugzillaBug> reports) { -// if (reports == null) -// return; -// -// IWorkbenchPage page = BugzillaPlugin.getDefault().getWorkbench().getActiveWorkbenchWindow().getActivePage(); -// -// // if we couldn't get the page, get out of here -// if (page == null) -// return; -// -// for (Iterator<IBugzillaBug> iter = reports.iterator(); iter.hasNext();) { -// IBugzillaBug bug = iter.next(); -// BugzillaUITools.closeEditor(page, bug); -// } -// } -// -// /** -// * Refreshes the view. -// */ -// public static void refreshView() { -// if (viewer != null && !viewer.getControl().isDisposed()) { -// if (viewer.getContentProvider() == null) -// viewer.setContentProvider(contentProvider); -// if (viewer.getContentProvider() == null) -// return; -// viewer.setInput(viewer.getInput()); -// } -// } -// -// /** -// * Calls remove function in OfflineReportManager -// */ -// @SuppressWarnings("unchecked") -// public void deleteSelectedOfflineReports() { -// List<IBugzillaBug> selection = ((IStructuredSelection) viewer.getSelection()).toList(); -// closeOfflineReports(selection); -// for (IBugzillaBug bug : selection) { -// removeReport(bug); -// } -// viewer.setInput(viewer.getInput()); -// } -// -// /** -// * Removes all of the offline reports in the OfflineReportManager. -// */ -// public void deleteAllOfflineReports() { -// closeOfflineReports(BugzillaPlugin.getDefault().getOfflineReports().elements()); -// List<IBugzillaBug> reports = new ArrayList<IBugzillaBug>(OfflineReportManager.getOfflineBugs()); -// for (IBugzillaBug bug : reports) { -// removeReport(bug); -// } -// viewer.setInput(viewer.getInput()); -// } -// -// /** -// * Saves the given report to the offlineReportsFile, or, if it already -// * exists in the file, updates it. -// * -// * @param bug -// * The bug to add/update. -// * @param saveChosen -// * This is used to determine a refresh from a user save -// */ -// public static void saveOffline(final IBugzillaBug bug, final boolean saveChosen) { -// Display.getDefault().asyncExec(new Runnable() { -// public void run() { -// -// OfflineReportManager file = BugzillaPlugin.getDefault().getOfflineReports(); -// // If there is already an offline report for this bug, update -// // the file. -// if (bug.isSavedOffline()) { -// file.update(); -// } -// // If this bug has not been saved offline before, add it to the -// // file. -// else { -// // If there is already an offline report with the same taskId, -// // don't save this report. -// // int index = -1; -// // if ((index = file.find(bug.getId())) >= 0) { -// // removeReport(getOfflineBugs().get(index)); -// // MessageDialog.openInformation(null, "Bug's Id is already -// // used.", "There is already a bug saved offline with an -// // identical taskId."); -// // return; -// // } -// try { -// file.add(bug, saveChosen); -// bug.setOfflineState(true); -// } catch (CoreException e) { -// MylarStatusHandler.fail(e, e.getMessage(), false); -// } -// // file.sort(OfflineReportManager.lastSel); -// } -// // OfflineView.checkWindow(); -// OfflineView.refreshView(); -// } -// }); -// } -// -// public static List<IBugzillaBug> getOfflineBugs() { -// OfflineReportManager file = BugzillaPlugin.getDefault().getOfflineReports(); -// return file.elements(); -// } -// -// /** -// * Removes the given report from the offlineReportsFile. -// * -// * @param bug -// * The report to remove. -// */ -// public static void removeReport(IBugzillaBug bug) { -// BugzillaPlugin.getDefault().fireOfflineStatusChanged(bug, BugzillaOfflineStaus.DELETED); -// -// ArrayList<IBugzillaBug> bugList = new ArrayList<IBugzillaBug>(); -// bugList.add(bug); -// BugzillaPlugin.getDefault().getOfflineReports().remove(bugList); -// -// if (viewer != null && !viewer.getControl().isDisposed()) { -// if (viewer.getContentProvider() == null) -// viewer.setContentProvider(contentProvider); -// if (viewer.getContentProvider() == null) -// return; -// viewer.setInput(viewer.getInput()); -// } -// } -// -//// public static IBugzillaBug find(int bugId) { -//// int location = BugzillaPlugin.getDefault().getOfflineReports().find(bugId); -//// if (location != -1) { -//// return BugzillaPlugin.getDefault().getOfflineReports().elements().get(location); -//// } -//// return null; -//// } -// -// /** -// * @see SelectionListener#widgetSelected(SelectionEvent) -// */ -// @SuppressWarnings("unchecked") -// public void widgetSelected(SelectionChangedEvent e) { -// -// IStructuredSelection selection = (IStructuredSelection) e.getSelection(); -// -// boolean enable = selection.size() > 0; -// selectAll.setEnabled(enable); -// remove.setEnabled(enable); -// open.setEnabled(enable); -// -// IStructuredSelection viewerSelection = (IStructuredSelection) viewer.getSelection();// TableItem[] -// // sel -// // = -// // table.getSelection(); -// List<IBugzillaBug> sel = viewerSelection.toList(); -// if (sel.size() > 0) { -// IStatusLineManager manager = this.getViewSite().getActionBars().getStatusLineManager(); -// manager.setMessage(sel.get(0).toString()); -// } -// -// updateActionEnablement(); -// } -// -// /** -// * Attempts to display this view on the workbench. -// */ -// public static void checkWindow() { -// if (parent == null || parent.isDisposed()) { -// IWorkbenchWindow w = BugzillaPlugin.getDefault().getWorkbench().getActiveWorkbenchWindow(); -// if (w != null) { -// IWorkbenchPage page = w.getActivePage(); -// if (page != null) { -// try { -// page.showView(IBugzillaConstants.PLUGIN_ID + ".ui.offlineReportsView"); -// } catch (PartInitException pie) { -// BugzillaPlugin.log(pie.getStatus()); -// } -// } -// } -// } -// } -// -// /** -// * Action class - "Select All" -// */ -// public class SelectAllAction extends AbstractOfflineReportsAction { -// -// public SelectAllAction() { -// setToolTipText("Select all offline Bugzilla reports"); -// setText("Select all"); -// setImageDescriptor(BugzillaImages.SELECT_ALL); -// } -// -// @Override -// public void run() { -// checkWindow(); -// table.selectAll(); -// viewer.setSelection(viewer.getSelection(), true); -// updateActionEnablement(); -// } -// } -// -// private class OfflineReportsViewLabelProvider extends LabelProvider implements ITableLabelProvider { -// -// /** -// * Returns the label text for the given column of a recommendation in -// * the table. -// */ -// public String getColumnText(Object element, int columnIndex) { -// if (element instanceof IBugzillaBug) { -// IBugzillaBug f = (IBugzillaBug) element; -// switch (columnIndex) { -// case 0: -// return f.getLabel(); -// case 1: -// return f.getSummary(); -// case 2: -// return f.getDescription(); -// default: -// return "Undefined column text"; -// } -// } -// return ""; //$NON-NLS-1$ -// } -// -// /* -// * @see org.eclipse.jface.viewers.ITableLabelProvider#getColumnImage(java.lang.Object, -// * int) -// */ -// public Image getColumnImage(Object arg0, int arg1) { -// return null; -// } -// } -// -// public static void refresh() { -// if (viewer != null && !viewer.getTable().isDisposed()) -// viewer.refresh(); -// } -// -// private static class OfflineReportsViewContentProvider implements IStructuredContentProvider { -// -// private List results; -// -// /** -// * The constructor. -// */ -// public OfflineReportsViewContentProvider() { -// // no setup needed -// } -// -// /** -// * Returns the elements to display in the viewer when its input is set -// * to the given element. These elements can be presented as rows in a -// * table, items in a list, etc. The result is not modified by the -// * viewer. -// * -// * @param inputElement -// * the input element -// * @return the array of elements to display in the viewer -// */ -// public Object[] getElements(Object inputElement) { -// if (results != null) { -// return results.toArray(); -// } else -// return null; -// } -// -// /** -// * Notifies this content provider that a given viewer's input has been -// * changed. -// * -// * @see IContentProvider#inputChanged -// */ -// public void inputChanged(Viewer inputViewer, Object oldInput, Object newInput) { -// this.results = (List) newInput; -// } -// -// public void dispose() { -// if (results != null) -// results = null; -// } -// } -//} diff --git a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/BugzillaTaskEditor.java b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/BugzillaTaskEditor.java index 3a30b8f51..c315b5e6a 100644 --- a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/BugzillaTaskEditor.java +++ b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/BugzillaTaskEditor.java @@ -156,39 +156,11 @@ public class BugzillaTaskEditor extends AbstractRepositoryTaskEditor { boolean addHyperlinks = (dependson != null && dependson.length() > 0) || (blocked != null && blocked.length() > 0); - // Hyperlink showDependencyTree = toolkit.createHyperlink(composite, - // "Show dependency tree", SWT.NONE); - // showDependencyTree.addHyperlinkListener(new HyperlinkAdapter() { - // public void linkActivated(HyperlinkEvent e) { - // if (ExistingBugEditor.this.getEditor() instanceof TaskEditor) { - // TaskEditor mylarTaskEditor = (TaskEditor) - // ExistingBugEditor.this.getEditor(); - // mylarTaskEditor.displayInBrowser(repository.getUrl() + - // IBugzillaConstants.DEPENDENCY_TREE_URL - // + taskData.getId()); - // } - // } - // }); - if (addHyperlinks) { getManagedForm().getToolkit().createLabel(composite, ""); addBugHyperlinks(composite, BugzillaReportElement.DEPENDSON.getKeyString()); } - // Hyperlink showDependencyGraph = toolkit.createHyperlink(composite, - // "Show dependency graph", SWT.NONE); - // showDependencyGraph.addHyperlinkListener(new HyperlinkAdapter() { - // public void linkActivated(HyperlinkEvent e) { - // if (ExistingBugEditor.this.getEditor() instanceof TaskEditor) { - // TaskEditor mylarTaskEditor = (TaskEditor) - // ExistingBugEditor.this.getEditor(); - // mylarTaskEditor.displayInBrowser(repository.getUrl() + - // IBugzillaConstants.DEPENDENCY_GRAPH_URL - // + taskData.getId()); - // } - // } - // }); - if (addHyperlinks) { getManagedForm().getToolkit().createLabel(composite, ""); addBugHyperlinks(composite, BugzillaReportElement.BLOCKED.getKeyString()); @@ -614,7 +586,6 @@ public class BugzillaTaskEditor extends AbstractRepositoryTaskEditor { @Override public void linkActivated(HyperlinkEvent e) { if (BugzillaTaskEditor.this.getEditor() instanceof TaskEditor) { -// TaskEditor mylarTaskEditor = (TaskEditor) BugzillaTaskEditor.this.getEditor(); TasksUiUtil.openUrl(repository.getUrl() + IBugzillaConstants.URL_SHOW_VOTES + taskData.getId(), false); } diff --git a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/search/BugzillaSearchPage.java b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/search/BugzillaSearchPage.java index ae89f7f9e..01407e94d 100644 --- a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/search/BugzillaSearchPage.java +++ b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/search/BugzillaSearchPage.java @@ -899,30 +899,12 @@ public class BugzillaSearchPage extends AbstractRepositoryQueryPage implements L * Example: https://bugs.eclipse.org/bugs/buglist.cgi? */ private StringBuffer getQueryURLStart(TaskRepository repository) { - // StringBuffer sb = new - // StringBuffer(BugzillaPlugin.getDefault().getServerName()); StringBuffer sb = new StringBuffer(repository.getUrl()); if (sb.charAt(sb.length() - 1) != '/') { sb.append('/'); } sb.append("buglist.cgi?"); - - // NOTE: authentication now added in BugzillaSsearchEngine constructor - // // use the username and password if we have it - // if (repository.hasCredentials()) { - // try { - // sb.append("GoAheadAndLogIn=1&Bugzilla_login=" - // + URLEncoder.encode(repository.getUserName(), - // BugzillaPlugin.ENCODING_UTF_8) - // + "&Bugzilla_password=" - // + URLEncoder.encode(repository.getPassword(), - // BugzillaPlugin.ENCODING_UTF_8) + "&"); - // } catch (UnsupportedEncodingException e) { - // MylarStatusHandler.fail(e, "unsupported encoding", false); - // } - // } - return sb; } diff --git a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/BugzillaRepositorySettingsPage.java b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/BugzillaRepositorySettingsPage.java index b23e22ba0..d52636d5d 100644 --- a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/BugzillaRepositorySettingsPage.java +++ b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/BugzillaRepositorySettingsPage.java @@ -321,20 +321,6 @@ public class BugzillaRepositorySettingsPage extends AbstractRepositorySettingsPa validate(monitor); } catch (Exception e) { displayError(serverUrl, e); -// IStatus status; -// if (e instanceof MalformedURLException) { -// status = new MylarStatus(Status.WARNING, BugzillaCorePlugin.PLUGIN_ID, -// IMylarStatusConstants.NETWORK_ERROR, "Server URL is invalid."); -// } else if (e instanceof CoreException) { -// status = ((CoreException) e).getStatus(); -// } else if (e instanceof IOException) { -// status = new MylarStatus(Status.WARNING, BugzillaCorePlugin.PLUGIN_ID, -// IMylarStatusConstants.IO_ERROR, serverUrl, e.getMessage()); -// } else { -// status = new MylarStatus(Status.WARNING, BugzillaCorePlugin.PLUGIN_ID, -// IMylarStatusConstants.NETWORK_ERROR, serverUrl, e.getMessage()); -// } -// MylarStatusHandler.displayStatus("Validation failed", status); } } diff --git a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/NewBugzillaQueryWizard.java b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/NewBugzillaQueryWizard.java index 859ca05b6..5bd2c9bf3 100644 --- a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/NewBugzillaQueryWizard.java +++ b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/NewBugzillaQueryWizard.java @@ -60,8 +60,6 @@ public class NewBugzillaQueryWizard extends Wizard { final BugzillaRepositoryQuery queryCategory = (BugzillaRepositoryQuery) page.getQuery(); TasksUiPlugin.getTaskListManager().getTaskList().addQuery(queryCategory); -// boolean offline = MylarTaskListPlugin.getMylarCorePrefs().getBoolean(TaskListPreferenceConstants.WORK_OFFLINE); -// if (!offline) { WorkspaceModifyOperation op = new WorkspaceModifyOperation() { @Override protected void execute(IProgressMonitor monitor) throws CoreException { @@ -81,7 +79,6 @@ public class NewBugzillaQueryWizard extends Wizard { } catch (Exception e) { StatusHandler.log(e, "There was a problem executing the query refresh"); } -// } return true; } diff --git a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/wizard/BugzillaProductPage.java b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/wizard/BugzillaProductPage.java index 6e8092ec2..3a5f6de02 100644 --- a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/wizard/BugzillaProductPage.java +++ b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/wizard/BugzillaProductPage.java @@ -268,8 +268,6 @@ public class BugzillaProductPage extends WizardPage { MessageDialog.openError(Display.getDefault().getActiveShell(), NEW_BUGZILLA_TASK_ERROR_TITLE, "Unable to get products. Ensure proper repository configuration in " + TasksUiPlugin.LABEL_VIEW_REPOSITORIES + ".\n\n"); - // MylarStatusHandler.log(e, "Failed to retrieve products - // from server"); } }); } diff --git a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/wizard/NewBugzillaTaskWizard.java b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/wizard/NewBugzillaTaskWizard.java index 9eec42d96..85bbd8855 100644 --- a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/wizard/NewBugzillaTaskWizard.java +++ b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/wizard/NewBugzillaTaskWizard.java @@ -97,67 +97,4 @@ public class NewBugzillaTaskWizard extends Wizard implements INewWizard { } return false; } - } - -// @Override -// protected void saveBugOffline() { -// // AbstractRepositoryConnector client = (AbstractRepositoryConnector) -// // MylarTaskListPlugin.getRepositoryManager() -// // .getRepositoryConnector(BugzillaPlugin.REPOSITORY_KIND); -// // client.saveOffline(taskData); -// } -// -// @Override -// protected AbstractBugzillaWizardPage getWizardDataPage() { -// return null; -// } - -// Open new bug editor - -// if (super.performFinish()) { -// -// String bugIdString = this.getId(); -// int bugId = -1; -// // boolean validId = false; -// try { -// if (bugIdString != null) { -// bugId = Integer.parseInt(bugIdString); -// // validId = true; -// } -// } catch (NumberFormatException nfe) { -// MessageDialog.openError(null, IBugzillaConstants.TITLE_MESSAGE_DIALOG, -// "Could not create bug taskId, no valid taskId"); -// return false; -// } -// // if (!validId) { -// // MessageDialog.openError(null, -// // IBugzillaConstants.TITLE_MESSAGE_DIALOG, -// // "Could not create bug taskId, no valid taskId"); -// // return false; -// // } -// -// BugzillaTask newTask = new -// BugzillaTask(AbstractTask.getHandle(repository.getUrl(), bugId), -// "<bugzilla info>", true); -// Object selectedObject = null; -// if (TaskListView.getFromActivePerspective() != null) -// selectedObject = ((IStructuredSelection) -// TaskListView.getFromActivePerspective().getViewer() -// .getSelection()).getFirstElement(); -// -// // MylarTaskListPlugin.getTaskListManager().getTaskList().addTask(newTask); -// -// if (selectedObject instanceof TaskCategory) { -// MylarTaskListPlugin.getTaskListManager().getTaskList() -// .addTask(newTask, ((TaskCategory) selectedObject)); -// } else { -// MylarTaskListPlugin.getTaskListManager().getTaskList().addTask(newTask, -// MylarTaskListPlugin.getTaskListManager().getTaskList().getRootCategory()); -// } -// -// TasksUiUtil.refreshAndOpenTaskListElement(newTask); -// MylarTaskListPlugin.getSynchronizationManager().synchNow(0); -// -// return true; -// } diff --git a/org.eclipse.mylyn.help.ui/images/mylar-overview-small.gif b/org.eclipse.mylyn.help.ui/images/mylyn-overview-small.gif Binary files differindex 2e88b0b6f..2e88b0b6f 100644 --- a/org.eclipse.mylyn.help.ui/images/mylar-overview-small.gif +++ b/org.eclipse.mylyn.help.ui/images/mylyn-overview-small.gif diff --git a/org.eclipse.mylyn.help.ui/images/mylar-overview.gif b/org.eclipse.mylyn.help.ui/images/mylyn-overview.gif Binary files differindex 74409455d..74409455d 100644 --- a/org.eclipse.mylyn.help.ui/images/mylar-overview.gif +++ b/org.eclipse.mylyn.help.ui/images/mylyn-overview.gif diff --git a/org.eclipse.mylyn.help.ui/images/topiclabel/ov_mylar48.gif b/org.eclipse.mylyn.help.ui/images/topiclabel/ov_mylar48.gif Binary files differdeleted file mode 100644 index 0504e9f94..000000000 --- a/org.eclipse.mylyn.help.ui/images/topiclabel/ov_mylar48.gif +++ /dev/null diff --git a/org.eclipse.mylyn.help.ui/images/topiclabel/ov_mylar48_hov.gif b/org.eclipse.mylyn.help.ui/images/topiclabel/ov_mylar48_hov.gif Binary files differdeleted file mode 100644 index 761e5540e..000000000 --- a/org.eclipse.mylyn.help.ui/images/topiclabel/ov_mylar48_hov.gif +++ /dev/null diff --git a/org.eclipse.mylyn.help.ui/images/topiclabel/wn_mylar48.gif b/org.eclipse.mylyn.help.ui/images/topiclabel/wn_mylar48.gif Binary files differdeleted file mode 100644 index 0504e9f94..000000000 --- a/org.eclipse.mylyn.help.ui/images/topiclabel/wn_mylar48.gif +++ /dev/null diff --git a/org.eclipse.mylyn.help.ui/images/topiclabel/wn_mylar48_hov.gif b/org.eclipse.mylyn.help.ui/images/topiclabel/wn_mylar48_hov.gif Binary files differdeleted file mode 100644 index 761e5540e..000000000 --- a/org.eclipse.mylyn.help.ui/images/topiclabel/wn_mylar48_hov.gif +++ /dev/null diff --git a/org.eclipse.mylyn.tasks.core/schema/templates.exsd b/org.eclipse.mylyn.tasks.core/schema/templates.exsd index 9acf51886..9038e77bd 100644 --- a/org.eclipse.mylyn.tasks.core/schema/templates.exsd +++ b/org.eclipse.mylyn.tasks.core/schema/templates.exsd @@ -1,9 +1,9 @@ <?xml version='1.0' encoding='UTF-8'?> <!-- Schema file written by PDE --> -<schema targetNamespace="org.eclipse.mylar.tasks.core"> +<schema targetNamespace="org.eclipse.mylyn.tasks.core"> <annotation> <appInfo> - <meta.schema plugin="org.eclipse.mylar.tasks.core" id="templates" name="templates"/> + <meta.schema plugin="org.eclipse.mylyn.tasks.core" id="templates" name="templates"/> </appInfo> <documentation> Templates describing default parameters for new repository configurations. diff --git a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/IRepositoryConstants.java b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/IRepositoryConstants.java index b502b36e9..b411e436e 100644 --- a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/IRepositoryConstants.java +++ b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/IRepositoryConstants.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/OfflineDataStore.java b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/OfflineDataStore.java index 37ae102f0..8711bac95 100644 --- a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/OfflineDataStore.java +++ b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/OfflineDataStore.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/TaskRepositoriesExternalizer.java b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/TaskRepositoriesExternalizer.java index 765e80251..2a85e5bc1 100644 --- a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/TaskRepositoriesExternalizer.java +++ b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/TaskRepositoriesExternalizer.java @@ -27,8 +27,6 @@ import org.xml.sax.XMLReader; import org.xml.sax.helpers.XMLReaderFactory; /** - * Adapted from MylarContextExternalizer - * * @author Rob Elves */ public class TaskRepositoriesExternalizer { diff --git a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/AbstractAttachmentHandler.java b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/AbstractAttachmentHandler.java index 4c6d4531b..b9be0a393 100644 --- a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/AbstractAttachmentHandler.java +++ b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/AbstractAttachmentHandler.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -46,6 +46,7 @@ public abstract class AbstractAttachmentHandler { public final static String MYLAR_CONTEXT_FILENAME = "mylyn-context.zip"; + // TODO: change name to Mylyn for 3.0 public static final String MYLAR_CONTEXT_DESCRIPTION = "mylyn/context/zip"; public abstract void uploadAttachment(TaskRepository repository, AbstractTask task, ITaskAttachment attachment, diff --git a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/AttributeContainer.java b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/AttributeContainer.java index 0d3a2a2b8..5659a7f29 100644 --- a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/AttributeContainer.java +++ b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/AttributeContainer.java @@ -53,7 +53,7 @@ public class AttributeContainer implements Serializable { } String mapped = attributeFactory.mapCommonAttributeKey(key); if (mapped == null) { - StatusHandler.log("Mylar Error: mapped value for " + key + " returned null.", this); + StatusHandler.log("Mapped value for " + key + " returned null.", this); return; } if (!attributes.containsKey(mapped)) { diff --git a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/ITaskFactory.java b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/ITaskFactory.java index a9f332eaa..e14070fae 100644 --- a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/ITaskFactory.java +++ b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/ITaskFactory.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/RepositoryTemplate.java b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/RepositoryTemplate.java index 7057fd056..5a759ce3c 100644 --- a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/RepositoryTemplate.java +++ b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/RepositoryTemplate.java @@ -1,12 +1,9 @@ /******************************************************************************* - * Copyright (c) 2006 - 2006 Mylar eclipse.org project and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Mylar project committers - initial API and implementation *******************************************************************************/ package org.eclipse.mylyn.tasks.core; diff --git a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/TaskRepository.java b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/TaskRepository.java index 0cc61e26e..be1716f33 100644 --- a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/TaskRepository.java +++ b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/TaskRepository.java @@ -87,7 +87,7 @@ public class TaskRepository { static { URL url = null; try { - url = new URL("http://eclipse.org/mylar"); + url = new URL("http://eclipse.org/mylyn"); } catch (Exception ex) { // TODO ? } diff --git a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/TaskRepositoryManager.java b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/TaskRepositoryManager.java index 4e33f4969..4cdeb1835 100644 --- a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/TaskRepositoryManager.java +++ b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/TaskRepositoryManager.java @@ -366,12 +366,6 @@ public class TaskRepositoryManager { repositoryMap.clear(); orphanedRepositories.clear(); saveRepositories(repositoriesFilePath); - // for (AbstractRepositoryConnector repositoryConnector : - // repositoryConnectors.values()) { - // String prefId = PREF_REPOSITORIES + - // repositoryConnector.getRepositoryType(); - // MylarTaskListPlugin.getMylarCorePrefs().setValue(prefId, ""); - // } } public void notifyRepositorySettingsChanged(TaskRepository repository) { diff --git a/org.eclipse.mylyn.tasks.tests/META-INF/MANIFEST.MF b/org.eclipse.mylyn.tasks.tests/META-INF/MANIFEST.MF index be02f134e..ea3cf9870 100644 --- a/org.eclipse.mylyn.tasks.tests/META-INF/MANIFEST.MF +++ b/org.eclipse.mylyn.tasks.tests/META-INF/MANIFEST.MF @@ -23,7 +23,7 @@ Require-Bundle: org.eclipse.core.runtime, org.eclipse.mylyn, org.eclipse.mylyn.web.core Eclipse-AutoStart: true -Bundle-ClassPath: mylar-tasklist-tests.jar +Bundle-ClassPath: mylyn-tasklist-tests.jar Export-Package: org.eclipse.mylyn.tasks.tests, org.eclipse.mylyn.tasks.tests.connector Bundle-RequiredExecutionEnvironment: J2SE-1.5 diff --git a/org.eclipse.mylyn.tasks.tests/build.properties b/org.eclipse.mylyn.tasks.tests/build.properties index 7901e44bb..80f994373 100644 --- a/org.eclipse.mylyn.tasks.tests/build.properties +++ b/org.eclipse.mylyn.tasks.tests/build.properties @@ -6,12 +6,12 @@ # http://www.eclipse.org/legal/epl-v10.html ############################################################################### bin.includes = META-INF/,\ - mylar-tasklist-tests.jar,\ + mylyn-tasklist-tests.jar,\ about.html,\ plugin.xml -jars.compile.order = mylar-tasklist-tests.jar -source.mylar-tasklist-tests.jar = src/ -output.mylar-tasklist-tests.jar = bin/ +jars.compile.order = mylyn-tasklist-tests.jar +source.mylyn-tasklist-tests.jar = src/ +output.mylyn-tasklist-tests.jar = bin/ src.includes = about.html,\ src/,\ META-INF/ diff --git a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/AttachmentJobTest.java b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/AttachmentJobTest.java index 060136b48..8407e8141 100644 --- a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/AttachmentJobTest.java +++ b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/AttachmentJobTest.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/CommentQuoterTest.java b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/CommentQuoterTest.java index 49c7af971..d77c403be 100644 --- a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/CommentQuoterTest.java +++ b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/CommentQuoterTest.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/CopyDetailsActionTest.java b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/CopyDetailsActionTest.java index e3a27fb16..c53783616 100644 --- a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/CopyDetailsActionTest.java +++ b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/CopyDetailsActionTest.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/OfflineCachingStorageTest.java b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/OfflineCachingStorageTest.java index dc1abbc6b..2ee9739b0 100644 --- a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/OfflineCachingStorageTest.java +++ b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/OfflineCachingStorageTest.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/OfflineStorageTest.java b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/OfflineStorageTest.java index 6edb19944..b8d36be8f 100644 --- a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/OfflineStorageTest.java +++ b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/OfflineStorageTest.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/ProjectRepositoryAssociationTest.java b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/ProjectRepositoryAssociationTest.java index b3c4f4b63..4b00a5a62 100644 --- a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/ProjectRepositoryAssociationTest.java +++ b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/ProjectRepositoryAssociationTest.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -22,7 +22,7 @@ import org.eclipse.mylyn.tasks.ui.TasksUiPlugin; */ public class ProjectRepositoryAssociationTest extends TestCase { - private static final String REPOSITORY_URL = "http://mylar.eclipse.org/bugs222"; + private static final String REPOSITORY_URL = "http://mylyn.eclipse.org/bugs222"; private static final String REPOSITORY_KIND = "bugzilla"; diff --git a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/RepositorySettingsPageTest.java b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/RepositorySettingsPageTest.java index cb59400f7..196cba3bf 100644 --- a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/RepositorySettingsPageTest.java +++ b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/RepositorySettingsPageTest.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/RepositoryTaskSynchronizationTest.java b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/RepositoryTaskSynchronizationTest.java index b91f9262a..9c10206f7 100644 --- a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/RepositoryTaskSynchronizationTest.java +++ b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/RepositoryTaskSynchronizationTest.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/RetrieveTitleFromUrlTest.java b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/RetrieveTitleFromUrlTest.java index 52da2b7cb..025ce3849 100644 --- a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/RetrieveTitleFromUrlTest.java +++ b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/RetrieveTitleFromUrlTest.java @@ -22,7 +22,7 @@ public class RetrieveTitleFromUrlTest extends TestCase { // XXX broken due to hang that causes the scheduled job to never complete public void testRetrieve() throws InterruptedException, InvocationTargetException { - final String url = "http://eclipse.org/mylar/index.php"; + final String url = "http://eclipse.org/mylyn"; final String knownTitle = "Mylar Technology Project"; RetrieveTitleFromUrlJob job = new RetrieveTitleFromUrlJob(url) { diff --git a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskActivityTest.java b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskActivityTest.java index 981756ba8..d5176735d 100644 --- a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskActivityTest.java +++ b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskActivityTest.java @@ -41,7 +41,6 @@ public class TaskActivityTest extends TestCase { } protected void tearDown() throws Exception { - // MylarTaskListPlugin.getTaskListManager().readExistingOrCreateNewList(); TasksUiPlugin.getTaskListManager().resetTaskList(); TasksUiPlugin.getTaskListManager().saveTaskList(); super.tearDown(); diff --git a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskDataExportTest.java b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskDataExportTest.java index 9c862ea5c..c9f511f1c 100644 --- a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskDataExportTest.java +++ b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskDataExportTest.java @@ -119,34 +119,6 @@ public class TaskDataExportTest extends AbstractContextTest { assertTrue(entries.contains("contexts/local-1.xml.zip")); } - // /** Tests the wizard when it has been asked to export all task data */ - // public void testExportAll() { - // - // // Set parameters in the wizard to simulate a user setting them and - // // clicking "Finish" - // wizardPage.setParameters(true, true, true, true, false, - // destinationDir.getPath()); - // wizard.performFinish(); - // - // // Check that the task list file was exported - // File destTaskListFile = new File(destinationDir + File.separator + - // TasksUiPlugin.OLD_TASK_LIST_FILE); - // assertTrue(destTaskListFile.exists()); - // - // // Check that the activity history file was exported - // File destActivationHistoryFile = new File(destinationDir + File.separator - // + MylarContextManager.CONTEXT_HISTORY_FILE_NAME + - // MylarContextManager.CONTEXT_FILE_EXTENSION_OLD); - // assertTrue(destActivationHistoryFile.exists()); - // - // // Check that the task context file created in setUp() was exported - // File destTaskContextFile = - // ContextCorePlugin.getContextManager().getFileForContext(task1.getHandleIdentifier()); - // // File destTaskContextFile = new File(destinationDir + File.separator + - // // task1.getContextPath() + MylarContextManager.CONTEXT_FILE_EXTENSION); - // assertTrue(destTaskContextFile.exists()); - // } - private void removeFiles(File root) { if (root.isDirectory()) { for (File file : root.listFiles()) { diff --git a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskDataImportTest.java b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskDataImportTest.java index 652564b27..519710628 100644 --- a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskDataImportTest.java +++ b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskDataImportTest.java @@ -28,10 +28,6 @@ public class TaskDataImportTest extends AbstractContextTest { private TaskDataImportWizardPage wizardPage = null; - // private String sourceDir = "testdata/taskdataimporttest"; - - // private File sourceDirFile = null; - private String sourceZipPath = "testdata/taskdataimporttest/mylardata-2007-01-19.zip"; private File sourceZipFile = null; diff --git a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskDataManagerTest.java b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskDataManagerTest.java index 4e419c170..57b136e62 100644 --- a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskDataManagerTest.java +++ b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskDataManagerTest.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskList06DataMigrationTest.java b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskList06DataMigrationTest.java index 4f62d4f7a..d0c2cc6df 100644 --- a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskList06DataMigrationTest.java +++ b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskList06DataMigrationTest.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -28,7 +28,7 @@ import org.eclipse.mylyn.tasks.core.TaskRepositoryManager; import org.eclipse.mylyn.tasks.ui.TasksUiPlugin; /** - * Tests unused code that was live up to Mylar 1.0.1, {@link TasksUiPlugin} + * Tests unused code that was live up to Mylyn 1.0.1, {@link TasksUiPlugin} * * @author Rob Elves */ diff --git a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskListBackupManagerTest.java b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskListBackupManagerTest.java index 1a793f486..2b125058b 100644 --- a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskListBackupManagerTest.java +++ b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskListBackupManagerTest.java @@ -40,14 +40,10 @@ public class TaskListBackupManagerTest extends TestCase { @Override protected void tearDown() throws Exception { super.tearDown(); - // MylarTaskListPlugin.getMylarCorePrefs().setValue(TaskListPreferenceConstants.BACKUP_AUTOMATICALLY, - // false); } public void testAutoBackupDisabled() throws InterruptedException { TaskListBackupManager backupManager = TasksUiPlugin.getDefault().getBackupManager(); - // MylarTaskListPlugin.getMylarCorePrefs().setValue(TaskListPreferenceConstants.BACKUP_AUTOMATICALLY, - // false); TasksUiPlugin.getDefault().getPreferenceStore().setValue(TasksUiPreferenceConstants.BACKUP_SCHEDULE, 1); TasksUiPlugin.getDefault().getPreferenceStore().setValue(TasksUiPreferenceConstants.BACKUP_LAST, 0f); assertEquals(0, TasksUiPlugin.getDefault().getPreferenceStore().getLong(TasksUiPreferenceConstants.BACKUP_LAST)); @@ -59,17 +55,10 @@ public class TaskListBackupManagerTest extends TestCase { public void testAutoBackupEnabled() throws InterruptedException, InvocationTargetException, IOException { TaskListBackupManager backupManager = TasksUiPlugin.getDefault().getBackupManager(); String backupFolder = TasksUiPlugin.getDefault().getBackupFolderPath(); - // String backupFolder = - // MylarTaskListPlugin.getMylarCorePrefs().getDefaultString( - // TaskListPreferenceConstants.BACKUP_FOLDER); File backupFileFolder = new File(backupFolder); deleteBackupFolder(backupFileFolder); - // MylarTaskListPlugin.getMylarCorePrefs().setValue(TaskListPreferenceConstants.BACKUP_FOLDER, - // backupFolder); TasksUiPlugin.getDefault().getPreferenceStore().setValue(TasksUiPreferenceConstants.BACKUP_SCHEDULE, 1); TasksUiPlugin.getDefault().getPreferenceStore().setValue(TasksUiPreferenceConstants.BACKUP_LAST, 0f); - // MylarTaskListPlugin.getMylarCorePrefs().setValue(TaskListPreferenceConstants.BACKUP_AUTOMATICALLY, - // true); backupManager.backupNow(true); assertFalse(TasksUiPlugin.getDefault().getPreferenceStore().getLong(TasksUiPreferenceConstants.BACKUP_LAST) == 0); assertTrue(backupFileFolder.exists()); diff --git a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskListContentProviderTest.java b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskListContentProviderTest.java index 6cb4b7e6b..4c4d47f4a 100644 --- a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskListContentProviderTest.java +++ b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskListContentProviderTest.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskListDnDTest.java b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskListDnDTest.java index 7c422a8f9..fbdbd8ec4 100644 --- a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskListDnDTest.java +++ b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskListDnDTest.java @@ -58,7 +58,7 @@ public class TaskListDnDTest extends TestCase { public void testUrlDrop() { assertEquals(0, manager.getTaskList().getDefaultCategory().getChildren().size()); - String url = "http://eclipse.org/mylar"; + String url = "http://eclipse.org/mylyn"; String title = "Mylar Technology Project"; String urlData = url + "\n" + title; diff --git a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskListManagerTest.java b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskListManagerTest.java index 23f2f494a..0bfe60a1b 100644 --- a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskListManagerTest.java +++ b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskListManagerTest.java @@ -832,7 +832,7 @@ public class TaskListManagerTest extends TestCase { } public void testMarkTaskRead() { - String repositoryUrl = "http://mylar.eclipse.org/bugs222"; + String repositoryUrl = "http://mylyn.eclipse.org/bugs222"; MockRepositoryTask task1 = new MockRepositoryTask(repositoryUrl, "1"); MockRepositoryTask task2 = new MockRepositoryTask(repositoryUrl, "2"); task1.setSynchronizationState(RepositoryTaskSyncState.INCOMING); @@ -868,7 +868,7 @@ public class TaskListManagerTest extends TestCase { } public void testMarkUnRead() { - String repositoryUrl = "http://mylar.eclipse.org/bugs222"; + String repositoryUrl = "http://mylyn.eclipse.org/bugs222"; MockRepositoryTask task1 = new MockRepositoryTask(repositoryUrl, "1"); MockRepositoryTask task2 = new MockRepositoryTask(repositoryUrl, "2"); assertEquals(RepositoryTaskSyncState.SYNCHRONIZED, task1.getSynchronizationState()); diff --git a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskListTest.java b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskListTest.java index c483b3726..9e4fbdb3e 100644 --- a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskListTest.java +++ b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskListTest.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskRepositoryManagerTest.java b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskRepositoryManagerTest.java index e1172b91a..d2884aade 100644 --- a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskRepositoryManagerTest.java +++ b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskRepositoryManagerTest.java @@ -105,16 +105,11 @@ public class TaskRepositoryManagerTest extends TestCase { } public void testRepositoryPersistance() throws MalformedURLException { - // assertEquals("", - // MylarTaskListPlugin.getMylarCorePrefs().getString(TaskRepositoryManager.PREF_REPOSITORIES)); - TaskRepository repository1 = new TaskRepository("bugzilla", "http://bugzilla"); TaskRepository repository2 = new TaskRepository("jira", "http://jira"); manager.addRepository(repository1, TasksUiPlugin.getDefault().getRepositoriesFilePath()); manager.addRepository(repository2, TasksUiPlugin.getDefault().getRepositoriesFilePath()); - - // assertNotNull(MylarTaskListPlugin.getMylarCorePrefs().getString(TaskRepositoryManager.PREF_REPOSITORIES)); - + List<TaskRepository> repositoryList = new ArrayList<TaskRepository>(); repositoryList.add(repository2); repositoryList.add(repository1); diff --git a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskRepositorySorterTest.java b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskRepositorySorterTest.java index 12857c5cb..8682bc1a1 100644 --- a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskRepositorySorterTest.java +++ b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskRepositorySorterTest.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskRepositoryTest.java b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskRepositoryTest.java index a2becad24..f9f2adb74 100644 --- a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskRepositoryTest.java +++ b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskRepositoryTest.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskTest.java b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskTest.java index 53fcbae84..f1f4ef7be 100644 --- a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskTest.java +++ b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskTest.java @@ -31,7 +31,7 @@ public class TaskTest extends TestCase { public void testUrl() { AbstractTask task = new LocalTask("handle", "label"); - task.setUrl("http://eclipse.org/mylar/doc.php"); + task.setUrl("http://eclipse.org/mylyn/doc"); assertTrue(task.hasValidUrl()); task.setUrl("http://"); diff --git a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/UrlConnectionUtilTest.java b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/UrlConnectionUtilTest.java index 513a15f9f..f8f2be49b 100644 --- a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/UrlConnectionUtilTest.java +++ b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/UrlConnectionUtilTest.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/connector/MockAttachmentHandler.java b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/connector/MockAttachmentHandler.java index ee0ee1176..bad4611f3 100644 --- a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/connector/MockAttachmentHandler.java +++ b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/connector/MockAttachmentHandler.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/connector/MockAttributeFactory.java b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/connector/MockAttributeFactory.java index 2063e7103..32958dd41 100644 --- a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/connector/MockAttributeFactory.java +++ b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/connector/MockAttributeFactory.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/connector/MockStatusHandler.java b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/connector/MockStatusHandler.java index d284d3107..a27a1276d 100644 --- a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/connector/MockStatusHandler.java +++ b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/connector/MockStatusHandler.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -26,7 +26,7 @@ public class MockStatusHandler implements IStatusHandler { } public void assertNoStatus() { - TestCase.assertNull("Unexpected error reported through MylarStatusHandler", status); + TestCase.assertNull("Unexpected error reported through StatusHandler", status); } } diff --git a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/connector/MockTaskConnectorUi.java b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/connector/MockTaskConnectorUi.java index 1c6710931..bb4a03ded 100644 --- a/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/connector/MockTaskConnectorUi.java +++ b/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/connector/MockTaskConnectorUi.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/schema/actions.exsd b/org.eclipse.mylyn.tasks.ui/schema/actions.exsd index 73a89ec35..3d205f6af 100644 --- a/org.eclipse.mylyn.tasks.ui/schema/actions.exsd +++ b/org.eclipse.mylyn.tasks.ui/schema/actions.exsd @@ -1,9 +1,9 @@ <?xml version='1.0' encoding='UTF-8'?> <!-- Schema file written by PDE --> -<schema targetNamespace="org.eclipse.mylar.tasks.ui"> +<schema targetNamespace="org.eclipse.mylyn.tasks.ui"> <annotation> <appInfo> - <meta.schema plugin="org.eclipse.mylar.tasks.ui" id="providers" name="Task UI Providers"/> + <meta.schema plugin="org.eclipse.mylyn.tasks.ui" id="providers" name="Task UI Providers"/> </appInfo> <documentation> Currently only a work-around for creating a dynamic popupo menu. diff --git a/org.eclipse.mylyn.tasks.ui/schema/duplicateDetectors.exsd b/org.eclipse.mylyn.tasks.ui/schema/duplicateDetectors.exsd index e8364441f..61acc182e 100644 --- a/org.eclipse.mylyn.tasks.ui/schema/duplicateDetectors.exsd +++ b/org.eclipse.mylyn.tasks.ui/schema/duplicateDetectors.exsd @@ -1,9 +1,9 @@ <?xml version='1.0' encoding='UTF-8'?> <!-- Schema file written by PDE --> -<schema targetNamespace="org.eclipse.mylar.tasks.ui"> +<schema targetNamespace="org.eclipse.mylyn.tasks.ui"> <annotation> <appInfo> - <meta.schema plugin="org.eclipse.mylar.tasks.ui" id="duplicateDetectors" name="duplicateDetectors"/> + <meta.schema plugin="org.eclipse.mylyn.tasks.ui" id="duplicateDetectors" name="duplicateDetectors"/> </appInfo> <documentation> [Enter description of this extension point.] diff --git a/org.eclipse.mylyn.tasks.ui/schema/editors.exsd b/org.eclipse.mylyn.tasks.ui/schema/editors.exsd index 42dd9c593..ca51ab8a8 100644 --- a/org.eclipse.mylyn.tasks.ui/schema/editors.exsd +++ b/org.eclipse.mylyn.tasks.ui/schema/editors.exsd @@ -1,9 +1,9 @@ <?xml version='1.0' encoding='UTF-8'?> <!-- Schema file written by PDE --> -<schema targetNamespace="org.eclipse.mylar.tasks.ui"> +<schema targetNamespace="org.eclipse.mylyn.tasks.ui"> <annotation> <appInfo> - <meta.schema plugin="org.eclipse.mylar.tasks.ui" id="editors" name="Task Editors"/> + <meta.schema plugin="org.eclipse.mylyn.tasks.ui" id="editors" name="Task Editors"/> </appInfo> <documentation> diff --git a/org.eclipse.mylyn.tasks.ui/schema/projectLinkProviders.exsd b/org.eclipse.mylyn.tasks.ui/schema/projectLinkProviders.exsd index 2f89daec4..1b5f7a13a 100644 --- a/org.eclipse.mylyn.tasks.ui/schema/projectLinkProviders.exsd +++ b/org.eclipse.mylyn.tasks.ui/schema/projectLinkProviders.exsd @@ -1,9 +1,9 @@ <?xml version='1.0' encoding='UTF-8'?> <!-- Schema file written by PDE --> -<schema targetNamespace="org.eclipse.mylar.tasks.ui"> +<schema targetNamespace="org.eclipse.mylyn.tasks.ui"> <annotation> <appInfo> - <meta.schema plugin="org.eclipse.mylar.tasks.ui" id="projectLinkProviders" name="Task Repository Link Provider"/> + <meta.schema plugin="org.eclipse.mylyn.tasks.ui" id="projectLinkProviders" name="Task Repository Link Provider"/> </appInfo> <documentation> Providers responsible for linking Workspace resources/projects to the Task Repositories. @@ -64,7 +64,7 @@ </documentation> <appInfo> - <meta.attribute kind="java" basedOn="org.eclipse.mylar.tasks.ui.AbstractTaskRepositoryLinkProvider"/> + <meta.attribute kind="java" basedOn="org.eclipse.mylyn.tasks.ui.AbstractTaskRepositoryLinkProvider"/> </appInfo> </annotation> </attribute> @@ -101,7 +101,7 @@ <meta.section type="apiInfo"/> </appInfo> <documentation> - See org.eclipse.mylar.tasks.ui.TasksUiPlugin.getRepositoryForResource(IResource resource, boolean silent) + See org.eclipse.mylyn.tasks.ui.TasksUiPlugin.getRepositoryForResource(IResource resource, boolean silent) </documentation> </annotation> diff --git a/org.eclipse.mylyn.tasks.ui/schema/repositories.exsd b/org.eclipse.mylyn.tasks.ui/schema/repositories.exsd index 1d686194c..67b119c01 100644 --- a/org.eclipse.mylyn.tasks.ui/schema/repositories.exsd +++ b/org.eclipse.mylyn.tasks.ui/schema/repositories.exsd @@ -1,9 +1,9 @@ <?xml version='1.0' encoding='UTF-8'?> <!-- Schema file written by PDE --> -<schema targetNamespace="org.eclipse.mylar.tasks.ui"> +<schema targetNamespace="org.eclipse.mylyn.tasks.ui"> <annotation> <appInfo> - <meta.schema plugin="org.eclipse.mylar.tasks.ui" id="repositories" name="Repositories"/> + <meta.schema plugin="org.eclipse.mylyn.tasks.ui" id="repositories" name="Repositories"/> </appInfo> <documentation> [Enter description of this extension point.] @@ -102,7 +102,7 @@ </documentation> <appInfo> - <meta.attribute kind="java" basedOn="org.eclipse.mylar.provisional.tasklist.AbstractRepositoryClient"/> + <meta.attribute kind="java" basedOn="org.eclipse.mylyn.provisional.tasklist.AbstractRepositoryClient"/> </appInfo> </annotation> </attribute> @@ -150,7 +150,7 @@ (no description available) </documentation> <appInfo> - <meta.attribute kind="java" basedOn="org.eclipse.mylar.tasks.ui.AbstractConnectorUi"/> + <meta.attribute kind="java" basedOn="org.eclipse.mylyn.tasks.ui.AbstractConnectorUi"/> </appInfo> </annotation> </attribute> diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/CompositeContainerImageDescriptor.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/CompositeContainerImageDescriptor.java index a0cf4becd..293647a2b 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/CompositeContainerImageDescriptor.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/CompositeContainerImageDescriptor.java @@ -1,12 +1,9 @@ /******************************************************************************* - * Copyright (c) 2006 - 2006 Mylar eclipse.org project and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Mylar project committers - initial API and implementation *******************************************************************************/ package org.eclipse.mylyn.internal.tasks.ui; diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/CompositeSynchImageDescriptor.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/CompositeSynchImageDescriptor.java index cd25e7db1..b389f857c 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/CompositeSynchImageDescriptor.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/CompositeSynchImageDescriptor.java @@ -1,12 +1,9 @@ /******************************************************************************* - * Copyright (c) 2006 - 2006 Mylar eclipse.org project and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Mylar project committers - initial API and implementation *******************************************************************************/ package org.eclipse.mylyn.internal.tasks.ui; diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/CompositeTaskImageDescriptor.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/CompositeTaskImageDescriptor.java index 862139446..834069a51 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/CompositeTaskImageDescriptor.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/CompositeTaskImageDescriptor.java @@ -1,12 +1,9 @@ /******************************************************************************* - * Copyright (c) 2006 - 2006 Mylar eclipse.org project and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Mylar project committers - initial API and implementation *******************************************************************************/ package org.eclipse.mylyn.internal.tasks.ui; diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/ContextUiUtil.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/ContextUiUtil.java index 64fa4190e..d875222b7 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/ContextUiUtil.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/ContextUiUtil.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/ITaskCommandIds.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/ITaskCommandIds.java index d874169ab..82b9e9bf7 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/ITaskCommandIds.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/ITaskCommandIds.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/ITasksUiConstants.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/ITasksUiConstants.java index 77454e2db..6221d1cde 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/ITasksUiConstants.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/ITasksUiConstants.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -13,11 +13,11 @@ package org.eclipse.mylyn.internal.tasks.ui; */ public interface ITasksUiConstants { - public static final String TITLE_DIALOG = "Mylar Information"; + public static final String TITLE_DIALOG = "Mylyn Information"; - public static final String MESSAGE_RESTORE = "Could not read task list. Consider restoring via File -> Import -> Mylar Task Data"; + public static final String MESSAGE_RESTORE = "Could not read task list. Consider restoring via File -> Import -> Mylyn Task Data"; - public static final String URL_HOMEPAGE = "http://eclipse.org/mylar"; + public static final String URL_HOMEPAGE = "http://eclipse.org/mylyn"; public static final String FILE_EXTENSION = ".xml.zip"; diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/LocalTaskConnectorUi.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/LocalTaskConnectorUi.java index 12b7b2ab8..08ca23971 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/LocalTaskConnectorUi.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/LocalTaskConnectorUi.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/MoveToCategoryMenuContributor.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/MoveToCategoryMenuContributor.java index d2370aa88..4f7334918 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/MoveToCategoryMenuContributor.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/MoveToCategoryMenuContributor.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/OfflineCachingStorage.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/OfflineCachingStorage.java index c35a47023..d4b8a0a5c 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/OfflineCachingStorage.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/OfflineCachingStorage.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/PersonContentProposal.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/PersonContentProposal.java index 0e293eec7..0a0765f1a 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/PersonContentProposal.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/PersonContentProposal.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/PersonProposalLabelProvider.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/PersonProposalLabelProvider.java index 1fa7e0aff..5456da997 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/PersonProposalLabelProvider.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/PersonProposalLabelProvider.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/RepositoryAwareStatusHandler.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/RepositoryAwareStatusHandler.java index d778cf0f5..1b1024ee2 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/RepositoryAwareStatusHandler.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/RepositoryAwareStatusHandler.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -27,7 +27,7 @@ import org.eclipse.ui.PlatformUI; public class RepositoryAwareStatusHandler implements IStatusHandler { protected static final String ERROR_MESSAGE = "Please report the following error at:\n" - + "http://bugs.eclipse.org/bugs/enter_bug.cgi?product=Mylar\n\n" + + "http://bugs.eclipse.org/bugs/enter_bug.cgi?product=Mylyn\n\n" + "Or select Report as Bug from popup menu on error in the Error Log (Window -> Show View -> Error Log)"; // TODO: implement option to report bug @@ -41,7 +41,7 @@ public class RepositoryAwareStatusHandler implements IStatusHandler { && PlatformUI.getWorkbench().getActiveWorkbenchWindow() != null) { shell = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(); } - ErrorDialog.openError(shell, "Mylar Error", ERROR_MESSAGE, status); + ErrorDialog.openError(shell, "Mylyn Error", ERROR_MESSAGE, status); } }); } catch (Throwable t) { diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/ScheduledTaskListSynchJob.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/ScheduledTaskListSynchJob.java index c62f3e3a4..c864f4f04 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/ScheduledTaskListSynchJob.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/ScheduledTaskListSynchJob.java @@ -97,8 +97,6 @@ public class ScheduledTaskListSynchJob extends Job { connector.updateAttributes(repository, new SubProgressMonitor(monitor, 1)); } catch (Throwable t) { // ignore, since we might not be connected -// MylarStatusHandler.log(t, "Unable to update attributes for " + repository.getUrl() -// + " " + t.getMessage()); } return Status.OK_STATUS; } diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskHistoryDropDown.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskHistoryDropDown.java index df9c8ab5c..880b3758e 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskHistoryDropDown.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskHistoryDropDown.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskHistoryHandler.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskHistoryHandler.java index 6881d6021..96c594886 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskHistoryHandler.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskHistoryHandler.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskListBackupManager.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskListBackupManager.java index 593fab762..9e8339ce2 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskListBackupManager.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskListBackupManager.java @@ -53,9 +53,6 @@ public class TaskListBackupManager implements IPropertyChangeListener { private Timer timer; public TaskListBackupManager() { -// boolean enabled = MylarTaskListPlugin.getMylarCorePrefs().getBoolean( -// TaskListPreferenceConstants.BACKUP_AUTOMATICALLY); -// if (enabled) { int days = TasksUiPlugin.getDefault().getPreferenceStore().getInt(TasksUiPreferenceConstants.BACKUP_SCHEDULE); if (days > 0) { start(MINUTE); @@ -82,8 +79,6 @@ public class TaskListBackupManager implements IPropertyChangeListener { } public void backupNow(boolean synchronous) { -// String destination = MylarTaskListPlugin.getMylarCorePrefs().getString( -// TaskListPreferenceConstants.BACKUP_FOLDER); String destination = TasksUiPlugin.getDefault().getBackupFolderPath(); File backupFolder = new File(destination); diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskListHyperlink.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskListHyperlink.java index 6886afa58..31eac07ce 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskListHyperlink.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskListHyperlink.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskListImageDescriptor.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskListImageDescriptor.java index a6089a09c..dac3b2a29 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskListImageDescriptor.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskListImageDescriptor.java @@ -1,12 +1,9 @@ /******************************************************************************* - * Copyright (c) 2006 - 2006 Mylar eclipse.org project and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Mylar project committers - initial API and implementation *******************************************************************************/ package org.eclipse.mylyn.internal.tasks.ui; diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskListImageHyperlink.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskListImageHyperlink.java index 6eb3c7683..0d407c963 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskListImageHyperlink.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskListImageHyperlink.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskListNotificationPopup.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskListNotificationPopup.java index 2a47fb0e9..7630a1101 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskListNotificationPopup.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskListNotificationPopup.java @@ -40,7 +40,7 @@ public class TaskListNotificationPopup extends PopupDialog { private static final int NUM_NOTIFICATIONS_TO_DISPLAY = 3; - private static final String MYLAR_NOTIFICATION_LABEL = "Mylyn Notification"; + private static final String LABEL_NOTIFICATION = "Mylyn Notification"; private Form form; @@ -70,14 +70,14 @@ public class TaskListNotificationPopup extends PopupDialog { @Override protected final Control createDialogArea(final Composite parent) { - getShell().setText(MYLAR_NOTIFICATION_LABEL); + getShell().setText(LABEL_NOTIFICATION); form = toolkit.createForm(parent); form.getBody().setLayout(new GridLayout()); Section section = toolkit.createSection(form.getBody(), Section.TITLE_BAR); - section.setText(MYLAR_NOTIFICATION_LABEL); + section.setText(LABEL_NOTIFICATION); section.setLayout(new GridLayout()); sectionClient = toolkit.createComposite(section); diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskStatusMenuContributor.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskStatusMenuContributor.java index 718968a64..5d0cfbab2 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskStatusMenuContributor.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskStatusMenuContributor.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskTransfer.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskTransfer.java index 16cf9d3e7..86dfae3a5 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskTransfer.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskTransfer.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskTrimWidget.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskTrimWidget.java index 5628a5eb7..efc323bee 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskTrimWidget.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskTrimWidget.java @@ -1,13 +1,13 @@ -package org.eclipse.mylyn.internal.tasks.ui; - /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html *******************************************************************************/ +package org.eclipse.mylyn.internal.tasks.ui; + import java.util.ArrayList; import java.util.List; diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/AbstractChangeCompletionAction.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/AbstractChangeCompletionAction.java index 2a5ed193a..b4efee317 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/AbstractChangeCompletionAction.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/AbstractChangeCompletionAction.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/AbstractTaskAction.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/AbstractTaskAction.java index b1b1c3251..e3ebf3f27 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/AbstractTaskAction.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/AbstractTaskAction.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/AbstractTaskRepositoryAction.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/AbstractTaskRepositoryAction.java index 2e440cab1..09c629334 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/AbstractTaskRepositoryAction.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/AbstractTaskRepositoryAction.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/ActivateTaskDialogAction.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/ActivateTaskDialogAction.java index cd01cdb03..9407be9e0 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/ActivateTaskDialogAction.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/ActivateTaskDialogAction.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/AttachFileAction.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/AttachFileAction.java index 79577a232..6f6bfe69d 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/AttachFileAction.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/AttachFileAction.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/CopyAttachmentToClipboardJob.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/CopyAttachmentToClipboardJob.java index ae28858e9..b64d3f367 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/CopyAttachmentToClipboardJob.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/CopyAttachmentToClipboardJob.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/DeactivateAllTasksAction.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/DeactivateAllTasksAction.java index 2eec0e850..ddadf0a32 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/DeactivateAllTasksAction.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/DeactivateAllTasksAction.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -15,7 +15,7 @@ import org.eclipse.ui.IWorkbenchWindowActionDelegate; import org.eclipse.ui.actions.ActionDelegate; /** - * @author wmitsuda + * @author Willian Mitsuda */ public class DeactivateAllTasksAction extends ActionDelegate implements IWorkbenchWindowActionDelegate { diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/DownloadAttachmentJob.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/DownloadAttachmentJob.java index 1e35ecde6..085e90b7d 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/DownloadAttachmentJob.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/DownloadAttachmentJob.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/LinkWithEditorAction.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/LinkWithEditorAction.java index 953143a22..ed99999e4 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/LinkWithEditorAction.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/LinkWithEditorAction.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/MoveTaskToRootAction.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/MoveTaskToRootAction.java index 2e840cda6..76756df96 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/MoveTaskToRootAction.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/MoveTaskToRootAction.java @@ -29,23 +29,5 @@ public class MoveTaskToRootAction extends Action { @Override public void run() { throw new RuntimeException("unimplemented"); - // ISelection selection = this.view.getViewer().getSelection(); - // Object obj = ((IStructuredSelection)selection).getFirstElement(); - // if (obj instanceof ITask) { - // ITask t = (ITask) obj; - // TaskCategory cat = t.getCategory(); - // if (cat != null) { - // cat.removeTask(t); - // t.setCategory(null); - // t.setParent(null); - // MylarTaskListPlugin.getTaskListManager().getTaskList().addRootTask(t); - // this.view.getViewer().refresh(); - // } else if (t.getParent() != null) { - // t.getParent().removeSubTask(t); - // t.setParent(null); - // MylarTaskListPlugin.getTaskListManager().getTaskList().addRootTask(t); - // this.view.getViewer().refresh(); - // } - // } } } diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/OpenRepositoryTask.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/OpenRepositoryTask.java index eca72169d..2f52f05a6 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/OpenRepositoryTask.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/OpenRepositoryTask.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/OpenTaskAction.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/OpenTaskAction.java index e8a986760..61c920d24 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/OpenTaskAction.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/OpenTaskAction.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/OpenTasksUiPreferencesAction.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/OpenTasksUiPreferencesAction.java index 3a9a8a23f..8377c30e9 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/OpenTasksUiPreferencesAction.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/OpenTasksUiPreferencesAction.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/RemoveFromCategoryAction.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/RemoveFromCategoryAction.java index 37e909ff3..d0143d490 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/RemoveFromCategoryAction.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/RemoveFromCategoryAction.java @@ -58,19 +58,6 @@ public class RemoveFromCategoryAction extends Action { } TasksUiPlugin.getTaskListManager().getTaskList().moveToContainer(task, TasksUiPlugin.getTaskListManager().getTaskList().getDefaultCategory()); - // just in case, should already be there -// MylarTaskListPlugin.getTaskListManager().getTaskList().addTaskToArchive(task); -// ITaskContainer cat = task.getCategory(); -// if (cat != null) { -// String message = DeleteAction.genDeleteConfirmationMessage(task); -// boolean deleteConfirmed = MessageDialog.openQuestion(PlatformUI.getWorkbench() -// .getActiveWorkbenchWindow().getShell(), "Confirm delete", message); -// if (!deleteConfirmed) -// return; -// -// MylarTaskListPlugin.getTaskListManager().deleteTask(task); -// ContextCorePlugin.getContextManager().contextDeleted(task.getHandleIdentifier()); // task.getContextPath()); -// } } } } catch (NullPointerException npe) { diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/ReportBugAction.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/ReportBugAction.java index 7260c606a..73c066a14 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/ReportBugAction.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/ReportBugAction.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/RestoreTaskListAction.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/RestoreTaskListAction.java index 0017e546f..bb58f27e7 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/RestoreTaskListAction.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/RestoreTaskListAction.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/ShowInTaskListAction.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/ShowInTaskListAction.java index 7c58c1bfa..861ce2eed 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/ShowInTaskListAction.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/ShowInTaskListAction.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/ShowTaskRepositoriesViewAction.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/ShowTaskRepositoriesViewAction.java index 152db177c..31ac69dc6 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/ShowTaskRepositoriesViewAction.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/ShowTaskRepositoriesViewAction.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/SynchronizeAutomaticallyAction.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/SynchronizeAutomaticallyAction.java index 4e18ba5a3..9c9955c40 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/SynchronizeAutomaticallyAction.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/SynchronizeAutomaticallyAction.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/TaskSelectionDialog.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/TaskSelectionDialog.java index c15df855a..70255ec5e 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/TaskSelectionDialog.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/TaskSelectionDialog.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/TaskWorkingSetAction.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/TaskWorkingSetAction.java index f4ab72aef..8197b3471 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/TaskWorkingSetAction.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/TaskWorkingSetAction.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/commands/AddTaskRepositoryHandler.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/commands/AddTaskRepositoryHandler.java index fb6885844..83840bbe8 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/commands/AddTaskRepositoryHandler.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/commands/AddTaskRepositoryHandler.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/commands/RemoteTaskSelectionDialog.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/commands/RemoteTaskSelectionDialog.java index bda7dfa0b..2e44b5d7d 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/commands/RemoteTaskSelectionDialog.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/commands/RemoteTaskSelectionDialog.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/commands/TaskRepositoryParameterValues.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/commands/TaskRepositoryParameterValues.java index dc7e20ff6..ffe2b1990 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/commands/TaskRepositoryParameterValues.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/commands/TaskRepositoryParameterValues.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/AttachmentTableLabelProvider.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/AttachmentTableLabelProvider.java index b5676e44d..e8b36d54a 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/AttachmentTableLabelProvider.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/AttachmentTableLabelProvider.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/AttachmentsTableContentProvider.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/AttachmentsTableContentProvider.java index 1e0d521da..52ac2a18d 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/AttachmentsTableContentProvider.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/AttachmentsTableContentProvider.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/CategoryEditor.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/CategoryEditor.java index 4ff0d7881..e5820fcce 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/CategoryEditor.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/CategoryEditor.java @@ -46,8 +46,6 @@ public class CategoryEditor extends EditorPart { input.setCategoryName(description.getText()); input.setUrl(url.getText()); isDirty = false; - // TODO: save the list -// MylarTaskListPlugin.getTaskListManager().notifyListUpdated(); firePropertyChange(PROP_DIRTY); } diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/IBusyEditor.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/IBusyEditor.java index 961ea147b..ca95d397e 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/IBusyEditor.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/IBusyEditor.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/RepositoryAttachmentEditorInput.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/RepositoryAttachmentEditorInput.java index 24e39acf7..c05d72888 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/RepositoryAttachmentEditorInput.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/RepositoryAttachmentEditorInput.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/RepositoryViewerConfig.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/RepositoryViewerConfig.java index 64652c41a..fb9251aa7 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/RepositoryViewerConfig.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/RepositoryViewerConfig.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/TaskPlanningEditor.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/TaskPlanningEditor.java index 4ea334bdf..0bac56405 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/TaskPlanningEditor.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/TaskPlanningEditor.java @@ -111,7 +111,7 @@ public class TaskPlanningEditor extends TaskFormPage { private Composite editorComposite; - protected static final String CONTEXT_MENU_ID = "#MylarPlanningEditor"; + protected static final String CONTEXT_MENU_ID = "#MylynPlanningEditor"; private Text pathText; diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/TaskSpellingReconcileStrategy.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/TaskSpellingReconcileStrategy.java index 2f0a10083..ee1c0de3e 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/TaskSpellingReconcileStrategy.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/TaskSpellingReconcileStrategy.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/TaskUrlHyperlink.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/TaskUrlHyperlink.java index b660119f9..aeb826dae 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/TaskUrlHyperlink.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/TaskUrlHyperlink.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/TaskUrlHyperlinkDetector.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/TaskUrlHyperlinkDetector.java index 5ad46f7f6..2677b77e4 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/TaskUrlHyperlinkDetector.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/TaskUrlHyperlinkDetector.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/planner/InProgressTaskCollector.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/planner/InProgressTaskCollector.java index 38abb9736..8aad4c3a7 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/planner/InProgressTaskCollector.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/planner/InProgressTaskCollector.java @@ -32,10 +32,10 @@ public class InProgressTaskCollector implements ITaskCollector { private Date periodStartDate; protected static boolean hasActivitySince(AbstractTask task, Date startDate) { - IInteractionContext mylarContext = ContextCorePlugin.getContextManager() + IInteractionContext interactionContext = ContextCorePlugin.getContextManager() .loadContext(task.getHandleIdentifier()); - if (mylarContext != null) { - List<InteractionEvent> events = mylarContext.getInteractionHistory(); + if (interactionContext != null) { + List<InteractionEvent> events = interactionContext.getInteractionHistory(); if (events.size() > 0) { InteractionEvent latestEvent = events.get(events.size() - 1); if (latestEvent.getDate().compareTo(startDate) > 0) { diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/planner/TaskActivityEditorPart.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/planner/TaskActivityEditorPart.java index 548b51444..93dde4359 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/planner/TaskActivityEditorPart.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/planner/TaskActivityEditorPart.java @@ -502,168 +502,6 @@ public class TaskActivityEditorPart extends EditorPart { }); } - // private void initDrop(final TableViewer tableViewer, final - // PlannedTasksContentProvider contentProvider) { - // Transfer[] types = new Transfer[] { TextTransfer.getInstance() }; - // - // tableViewer.addDropSupport(DND.DROP_MOVE, types, new - // ViewerDropAdapter(tableViewer) { - // { - // setFeedbackEnabled(false); - // } - // - // @Override - // public boolean performDrop(Object data) { - // - // IStructuredSelection selection = ((IStructuredSelection) - // TaskListView.getDefault().getViewer() - // .getSelection()); - // - // for (Iterator iter = selection.iterator(); iter.hasNext();) { - // Object selectedObject = iter.next(); - // if (selectedObject instanceof ITask) { - // contentProvider.addTask((ITask) selectedObject); - // updateLabels(); - // continue; - // } else if (selectedObject instanceof ITaskListElement) { - // // if - // (MylarTaskListPlugin.getDefault().getHandlerForElement((ITaskListElement) - // selectedObject) != null) { - // ITask task = null; - // if (selectedObject instanceof ITask) { - // task = (ITask) selectedObject; - // } else if (selectedObject instanceof AbstractQueryHit) { - // task = ((AbstractQueryHit) - // selectedObject).getOrCreateCorrespondingTask(); - // } - // if (task != null) { - // contentProvider.addTask(task); - // updateLabels(); - // continue; - // } - // // } - // } else { - // return false; - // } - // } - // tableViewer.refresh(); - // return true; - // } - // - // @Override - // public boolean validateDrop(Object targetObject, int operation, - // TransferData transferType) { - // Object selectedObject = ((IStructuredSelection) - // TaskListView.getDefault().getViewer().getSelection()) - // .getFirstElement(); - // if (!(selectedObject instanceof AbstractRepositoryQuery)) { - // // && ((ITaskListElement) selectedObject).isDragAndDropEnabled()) { - // return true; - // } - // return false; - // } - // }); - // } - - // private class PlannedTasksCellModifier implements ICellModifier { - // - // private TableViewer tableViewer; - // - // public PlannedTasksCellModifier(TableViewer tableViewer) { - // this.tableViewer = tableViewer; - // } - // - // public boolean canModify(Object element, String property) { - // int columnIndex = Arrays.asList(planColumnNames).indexOf(property); - // if (columnIndex == 5 || columnIndex == 4) { - // return true; - // } - // return false; - // } - // - // public Object getValue(Object element, String property) { - // if (element instanceof ITask) { - // int columnIndex = Arrays.asList(planColumnNames).indexOf(property); - // if (element instanceof ITask) { - // if (columnIndex == 5) { - // if (((ITask) element).getReminderDate() != null) { - // return DateFormat.getDateInstance(DateFormat.MEDIUM).format( - // ((ITask) element).getReminderDate()); - // } else { - // return null; - // } - // } else if (columnIndex == 4) { - // return new Integer(Arrays.asList(TaskListManager.ESTIMATE_TIMES).indexOf( - // ((ITask) element).getEstimateTimeHours())); - // } - // - // } - // } - // return null; - // } - // - // public void modify(Object element, String property, Object value) { - // int columnIndex = Arrays.asList(planColumnNames).indexOf(property); - // if (element instanceof ITask) { - // ITask task = (ITask) element; - // if (columnIndex == 4) { - // if (value instanceof Integer) { - // task.setEstimatedTimeHours(((Integer) value).intValue() * 10); - // tableViewer.refresh(); - // } - // } - // } - // } - // } - - // private void addPlannedTasksToCategory(PlannedTasksContentProvider - // contentProvider) { - // List<AbstractTaskContainer> categories = - // MylarTaskListPlugin.getTaskListManager().getTaskList().getUserCategories(); - // String[] categoryNames = new String[categories.size()]; - // int i = 0; - // for (AbstractTaskContainer category : categories) { - // categoryNames[i++] = category.getDescription(); - // } - // if (categories.size() > 0) { - // ComboSelectionDialog dialog = new - // ComboSelectionDialog(Display.getCurrent().getActiveShell(), LABEL_DIALOG, - // "Select destination category: ", categoryNames, 0); - // int confirm = dialog.open(); - // if (confirm == ComboSelectionDialog.OK) { - // String selected = dialog.getSelectedString(); - // AbstractTaskContainer destinationCategory = null; - // for (AbstractTaskContainer category : categories) { - // if (category.getDescription().equals(selected)) { - // destinationCategory = category; - // break; // will go to the first one - // } - // } - // if (destinationCategory != null && destinationCategory instanceof - // TaskCategory) { - // TaskCategory taskCategory = (TaskCategory) destinationCategory; - // for (ITask task : editorInput.getPlannedTasks()) { - // if (!taskCategory.getChildren().contains(task)) { - // MylarTaskListPlugin.getTaskListManager().getTaskList().moveToContainer(taskCategory, - // task); - // } - // } - // if (TaskListView.getDefault() != null) { - // TaskListView.getDefault().refreshAndFocus(); - // } - // } else { - // MessageDialog.openInformation(Display.getCurrent().getActiveShell(), - // LABEL_DIALOG, - // "Can not add plan tasks into a query category."); - // } - // } - // } else { - // MessageDialog.openInformation(Display.getCurrent().getActiveShell(), - // LABEL_DIALOG, - // "No categories in task list."); - // } - // } - private void updateLabels() { totalEstimatedHoursLabel.setText(LABEL_ESTIMATED + editorInput.getPlannedEstimate() + " hours"); updateSummarySection(); @@ -686,9 +524,6 @@ public class TaskActivityEditorPart extends EditorPart { // outputStream = new FileOutputStream(outputFile, true); BufferedWriter writer = new BufferedWriter(new FileWriter(outputFile)); writer.write("<html><head></head><body>" - // + "<link rel=\"stylesheet\" - // href=\"http://eclipse.org/mylar/style.css\" - // type=\"text/css\"></head><body>" ); exportSummarySection(writer); diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/planner/TaskActivityWizardPage.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/planner/TaskActivityWizardPage.java index ca942bd31..554482ef9 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/planner/TaskActivityWizardPage.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/planner/TaskActivityWizardPage.java @@ -48,7 +48,7 @@ public class TaskActivityWizardPage extends WizardPage { private static final int DEFAULT_DAYS = 1; - private static final String TITLE = "Mylar Task Activity Report"; + private static final String TITLE = "Mylyn Task Activity Report"; private static final String DESCRIPTION = "Summarizes task activity and assists planning future tasks."; diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/planner/TaskReportGenerator.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/planner/TaskReportGenerator.java index 331947992..4d14ecec8 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/planner/TaskReportGenerator.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/planner/TaskReportGenerator.java @@ -30,7 +30,7 @@ import org.eclipse.mylyn.tasks.core.TaskList; */ public class TaskReportGenerator implements IRunnableWithProgress { - private static final String LABEL_JOB = "Mylar Task Activity Report"; + private static final String LABEL_JOB = "Mylyn Task Activity Report"; private boolean finished; diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/preferences/TaskFocusedUiPreferencePage.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/preferences/TaskFocusedUiPreferencePage.java index f0eb3b677..b5d3fea63 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/preferences/TaskFocusedUiPreferencePage.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/preferences/TaskFocusedUiPreferencePage.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/properties/ProjectPropertiesLinkProvider.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/properties/ProjectPropertiesLinkProvider.java index 9073b5525..f68dd22e5 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/properties/ProjectPropertiesLinkProvider.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/properties/ProjectPropertiesLinkProvider.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/properties/ProjectTaskRepositoryPage.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/properties/ProjectTaskRepositoryPage.java index 588ca1959..fffd37c2f 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/properties/ProjectTaskRepositoryPage.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/properties/ProjectTaskRepositoryPage.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/search/OpenSearchResultAction.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/search/OpenSearchResultAction.java index 29cbff15c..f6174aed8 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/search/OpenSearchResultAction.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/search/OpenSearchResultAction.java @@ -53,17 +53,6 @@ public class OpenSearchResultAction extends Action { AbstractTask repositoryHit = it.next(); TasksUiUtil.openRepositoryTask(repositoryHit.getRepositoryUrl(), repositoryHit.getTaskId(), repositoryHit.getUrl()); - // try { - // int taskId = Integer.parseInt(repositoryHit.getId()); - // String bugUrl = - // BugzillaServerFacade.getBugUrlWithoutLogin(repositoryHit.getRepositoryUrl(), - // taskId); - // TasksUiUtil.openRepositoryTask(repositoryHit.getRepositoryUrl(), - // "" + repositoryHit.getId(), bugUrl); - // } catch (NumberFormatException e) { - // MylarStatusHandler.fail(e, "Could not open, malformed taskId: " + - // repositoryHit.getId(), true); - // } } } diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/util/TaskDataExportJob.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/util/TaskDataExportJob.java index 17e855cef..2fefa2e36 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/util/TaskDataExportJob.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/util/TaskDataExportJob.java @@ -34,7 +34,7 @@ import org.eclipse.mylyn.tasks.core.TaskRepositoryManager; import org.eclipse.mylyn.tasks.ui.TasksUiPlugin; /** - * Job that performs exporting (copying or zipping) of Mylar Task List data Assumes that check with user for overwrite + * Job that performs exporting (copying or zipping) of the Task List data Assumes that check with user for overwrite * already done. Overwrites destination if exists! * * @author Wesley Coelho @@ -43,7 +43,7 @@ import org.eclipse.mylyn.tasks.ui.TasksUiPlugin; */ public class TaskDataExportJob implements IRunnableWithProgress { - private static final String JOB_LABEL = "Exporting Mylar Task Data"; + private static final String JOB_LABEL = "Exporting Mylyn Task Data"; private boolean zip; @@ -81,8 +81,6 @@ public class TaskDataExportJob implements IRunnableWithProgress { } public void run(final IProgressMonitor monitor) throws InvocationTargetException, InterruptedException { - // Collection<ITask> tasks = - // MylarTaskListPlugin.getTaskListManager().getTaskList().getAllTasks(); int jobSize = 1; // 1 for repositories.xml if (exportTaskList) jobSize++; diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/util/TaskListSaveManager.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/util/TaskListSaveManager.java index b6187f67b..00228fb44 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/util/TaskListSaveManager.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/util/TaskListSaveManager.java @@ -110,7 +110,7 @@ public class TaskListSaveManager implements ITaskListChangeListener, IBackground MessageDialog.openInformation( PlatformUI.getWorkbench().getDisplay().getActiveShell(), ITasksUiConstants.TITLE_DIALOG, - "If task list is blank, Mylar Task List may have failed to initialize.\n\n" + "If task list is blank, Mylyn Task List may have failed to initialize.\n\n" + "First, try restarting to see if that corrects the problem.\n\n" + "Then, check the Error Log view for messages, and the FAQ for solutions.\n\n" + ITasksUiConstants.URL_HOMEPAGE); diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/util/TaskListWriter.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/util/TaskListWriter.java index dadf46960..26432ef9e 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/util/TaskListWriter.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/util/TaskListWriter.java @@ -418,8 +418,8 @@ public class TaskListWriter { // document = builder.parse(inputFile); } catch (SAXException se) { // TODO: Use TaskListBackupManager to attempt restore from backup - MessageDialog.openWarning(null, "Mylar task list corrupt", - "Unable to read the Mylar task list. Please restore from previous backup via File > Import > Mylar Task Data"); + MessageDialog.openWarning(null, "Mylyn task list corrupt", + "Unable to read the Mylyn task list. Please restore from previous backup via File > Import > Mylyn Task Data"); } return document; } @@ -468,164 +468,6 @@ public class TaskListWriter { } } - // private Document openAsDOM(String input) throws IOException { - // - // // A factory API that enables applications to obtain a parser - // // that produces DOM object trees from XML documents - // // - // DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); - // - // // Using DocumentBuilder, obtain a Document from XML file. - // // - // DocumentBuilder builder = null; - // Document document = null; - // try { - // // create new instance of DocumentBuilder - // // - // builder = factory.newDocumentBuilder(); - // } catch (ParserConfigurationException pce) { - // MylarStatusHandler.log(pce, "Failed to load XML file"); - // } - // try { - // // Parse the content of the given file as an XML document - // // and return a new DOM Document object. Also throws IOException - // StringReader s = new StringReader(input); - // InputSource in = new InputSource(s); - // document = builder.parse(in); - // } catch (SAXException se) { - // MylarStatusHandler.log(se, "Failed to parse XML file"); - // } - // return document; - // } - - // public void readTaskList(TaskList taskList, String input) { - // try { - // Document doc = openAsDOM(input); - // if (doc == null) { - // return; - // } - // Element root = doc.getDocumentElement(); - // readVersion = root.getAttribute(ATTRIBUTE_VERSION); - // - // if (readVersion.equals(VALUE_VERSION_1_0_0)) { - // MylarStatusHandler.log("version: " + readVersion + " not supported", - // this); - // } else { - // NodeList list = root.getChildNodes(); - // for (int i = 0; i < list.getLength(); i++) { - // Node child = list.item(i); - // boolean wasRead = false; - // try { - // if - // (child.getNodeName().endsWith(DelegatingTaskExternalizer.KEY_CATEGORY)) { - // // for (ITaskListExternalizer externalizer : externalizers) { - // // if (externalizer.canReadCategory(child)) { - // // externalizer.readCategory(child, taskList); - // // wasRead = true; - // // break; - // // } - // // } - // if (delagatingExternalizer.canReadCategory(child)) { - // delagatingExternalizer.readCategory(child, taskList); - // } - // } else { - // for (ITaskListExternalizer externalizer : externalizers) { - // if (externalizer.canReadTask(child)) { - // ITask newTask = externalizer.readTask(child, taskList, null, null); - // // externalizer.getRepositoryClient().addTaskToArchive(newTask); - // taskList.addTaskToArchive(newTask); - // - // taskList.internalAddRootTask(newTask); - // - // wasRead = true; - // break; - // } - // } - // if (!wasRead && delagatingExternalizer.canReadTask(child)) { - // taskList.internalAddRootTask(delagatingExternalizer.readTask(child, - // taskList, null, null)); - // } - // } - // } catch (Exception e) { - // MylarStatusHandler.log(e, "can't read xml string"); - // } - // } - // } - // } catch (Exception e) { - // MylarStatusHandler.log(e, "can't read xml string"); - // } - // } - - // public String getTaskListXml(TaskList tlist) { - // // TODO make this and writeTaskList use the same base code - // DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); - // DocumentBuilder db; - // Document doc = null; - // - // try { - // db = dbf.newDocumentBuilder(); - // doc = db.newDocument(); - // } catch (ParserConfigurationException e) { - // MylarStatusHandler.log(e, "could not create document"); - // e.printStackTrace(); - // } - // - // Element root = doc.createElement(ELEMENT_TASK_LIST); - // root.setAttribute(ATTRIBUTE_VERSION, VALUE_VERSION); - // - // for (ITaskListExternalizer externalizer : externalizers) { - // externalizer.createRegistry(doc, root); - // } - // - // for (ITaskContainer category : tlist.getCategories()) { - // Element element = null; - // for (ITaskListExternalizer externalizer : externalizers) { - // if (externalizer.canCreateElementFor(category)) - // element = externalizer.createCategoryElement(category, doc, root); - // } - // if (element == null && - // delagatingExternalizer.canCreateElementFor(category)) { - // delagatingExternalizer.createCategoryElement(category, doc, root); - // } else if (element == null) { - // MylarStatusHandler.log("Did not externalize: " + category, this); - // } - // } - // for (ITask task : tlist.getRootTasks()) { - // try { - // Element element = null; - // for (ITaskListExternalizer externalizer : externalizers) { - // if (externalizer.canCreateElementFor(task)) - // element = externalizer.createTaskElement(task, doc, root); - // } - // if (element == null && delagatingExternalizer.canCreateElementFor(task)) - // { - // delagatingExternalizer.createTaskElement(task, doc, root); - // } else if (element == null) { - // MylarStatusHandler.log("Did not externalize: " + task, this); - // } - // } catch (Exception e) { - // MylarStatusHandler.log(e, e.getMessage()); - // } - // } - // doc.appendChild(root); - // StringWriter sw = new StringWriter(); - // - // Source source = new DOMSource(doc); - // - // Result result = new StreamResult(sw); - // - // Transformer xformer = null; - // try { - // xformer = TransformerFactory.newInstance().newTransformer(); - // // Transform the XML Source to a Result - // // - // xformer.transform(source, result); - // } catch (Exception e) { - // e.printStackTrace(); - // } - // return sw.toString(); - // } - public void setDelegatingExternalizer(DelegatingTaskExternalizer delagatingExternalizer) { this.delagatingExternalizer = delagatingExternalizer; } diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/util/TasksUiExtensionReader.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/util/TasksUiExtensionReader.java index 04580a120..c4c49fadb 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/util/TasksUiExtensionReader.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/util/TasksUiExtensionReader.java @@ -398,18 +398,6 @@ public class TasksUiExtensionReader { StatusHandler.log("Could not load externalizer: " + externalizerObject.getClass().getCanonicalName() + " must implement " + AbstractTaskListFactory.class.getCanonicalName(), null); } - - // Object taskHandler = - // element.createExecutableExtension(ATTR_ACTION_CONTRIBUTOR_CLASS); - // if (taskHandler instanceof ITaskHandler) { - // MylarTaskListPlugin.getDefault().addTaskHandler((ITaskHandler) - // taskHandler); - // } else { - // MylarStatusHandler.log("Could not load contributor: " + - // taskHandler.getClass().getCanonicalName() - // + " must implement " + ITaskHandler.class.getCanonicalName(), - // null); - // } } catch (CoreException e) { StatusHandler.log(e, "Could not load task handler extension"); } diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/AdaptiveRefreshPolicy.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/AdaptiveRefreshPolicy.java index 2f874b59d..5e617e47e 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/AdaptiveRefreshPolicy.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/AdaptiveRefreshPolicy.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/CustomTaskListDecorationDrawer.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/CustomTaskListDecorationDrawer.java index dbf328e2f..8af7c1d34 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/CustomTaskListDecorationDrawer.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/CustomTaskListDecorationDrawer.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/ITaskListPresentation.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/ITaskListPresentation.java index 49cd0c1a8..363e93dae 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/ITaskListPresentation.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/ITaskListPresentation.java @@ -1,11 +1,10 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html *******************************************************************************/ - package org.eclipse.mylyn.internal.tasks.ui.views; import org.eclipse.jface.resource.ImageDescriptor; diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/PriorityDropDownAction.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/PriorityDropDownAction.java index 4942f6866..4890bde72 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/PriorityDropDownAction.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/PriorityDropDownAction.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/RepositoryOfflineAction.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/RepositoryOfflineAction.java index 8785c9f80..baa5ea8cd 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/RepositoryOfflineAction.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/RepositoryOfflineAction.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/ResetRepositoryConfigurationAction.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/ResetRepositoryConfigurationAction.java index 1508809d6..e9ec46c46 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/ResetRepositoryConfigurationAction.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/ResetRepositoryConfigurationAction.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/SortyByDropDownAction.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/SortyByDropDownAction.java index da3728daa..8d06aea38 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/SortyByDropDownAction.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/SortyByDropDownAction.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskListCellModifier.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskListCellModifier.java index 48ed502f3..02761087d 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskListCellModifier.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskListCellModifier.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskListView.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskListView.java index ee1f442c6..666928977 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskListView.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskListView.java @@ -1186,13 +1186,7 @@ public class TaskListView extends ViewPart implements IPropertyChangeListener { private void addAction(Action action, IMenuManager manager, AbstractTaskContainer element) { manager.add(action); if (element != null) { - // ITaskHandler handler = - // MylarTaskListPlugin.getDefault().getHandlerForElement(element); - // if (handler != null) { - // action.setEnabled(handler.enableAction(action, element)); - // } else { updateActionEnablement(action, element); - // } } } @@ -1317,23 +1311,6 @@ public class TaskListView extends ViewPart implements IPropertyChangeListener { */ protected boolean lookForId(String taskId) { return (TasksUiPlugin.getTaskListManager().getTaskList().getTask(taskId) == null); - // for (ITask task : - // MylarTaskListPlugin.getTaskListManager().getTaskList().getRootTasks()) - // { - // if (task.getHandle().equals(taskId)) { - // return true; - // } - // } - // for (TaskCategory cat : - // MylarTaskListPlugin.getTaskListManager().getTaskList().getTaskCategories()) - // { - // for (ITask task : cat.getChildren()) { - // if (task.getHandle().equals(taskId)) { - // return true; - // } - // } - // } - // return false; } private void hookOpenAction() { @@ -1500,7 +1477,7 @@ public class TaskListView extends ViewPart implements IPropertyChangeListener { isPaused = paused; IStatusLineManager statusLineManager = getViewSite().getActionBars().getStatusLineManager(); if (isPaused) { - statusLineManager.setMessage(TasksUiImages.getImage(TasksUiImages.TASKLIST), "Mylar context capture paused"); + statusLineManager.setMessage(TasksUiImages.getImage(TasksUiImages.TASKLIST), "Mylyn context capture paused"); setPartName("(paused) " + PART_NAME); } else { statusLineManager.setMessage(""); @@ -1525,22 +1502,6 @@ public class TaskListView extends ViewPart implements IPropertyChangeListener { IStructuredSelection selection = restoreSelection(task); getViewer().setSelection(selection, true); - -// // if no task exists, select the query hit if exists -// if (getViewer().getSelection().isEmpty() -// && (hit = -// TasksUiPlugin.getTaskListManager().getTaskList().getQueryHit(task.getHandleIdentifier())) -// != null) { -// try { -// AbstractRepositoryQuery query = -// TasksUiPlugin.getTaskListManager().getTaskList().getQueryForHandle( -// task.getHandleIdentifier()); -// getViewer().expandToLevel(query, 1); -// getViewer().setSelection(new StructuredSelection(hit), true); -// } catch (SWTException e) { -// MylarStatusHandler.log(e, "Failed to expand Task List"); -// } -// } } private void saveSelection() { diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskRepositoriesSorter.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskRepositoriesSorter.java index b8f2612b9..a842aad23 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskRepositoriesSorter.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskRepositoriesSorter.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/WorkweekProgressBar.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/WorkweekProgressBar.java index 7fb9bd96f..0fba1ac6c 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/WorkweekProgressBar.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/WorkweekProgressBar.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/wizards/NewAttachmentWizardDialog.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/wizards/NewAttachmentWizardDialog.java index 34a6dfdda..abff505bc 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/wizards/NewAttachmentWizardDialog.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/wizards/NewAttachmentWizardDialog.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -20,7 +20,7 @@ import org.eclipse.swt.widgets.Shell; */ public class NewAttachmentWizardDialog extends WizardDialog { - private static final String ATTACHMENT_WIZARD_SETTINGS_SECTION = "PatchWizard"; //$NON-NLS-1$ + private static final String ATTACHMENT_WIZARD_SETTINGS_SECTION = "PatchWizard"; public NewAttachmentWizardDialog(Shell parent, IWizard wizard) { super(parent, wizard); diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/wizards/NewLocalCategoryWizard.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/wizards/NewLocalCategoryWizard.java index d0c4dcdee..b304eb8fe 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/wizards/NewLocalCategoryWizard.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/wizards/NewLocalCategoryWizard.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/wizards/NewLocalTaskWizard.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/wizards/NewLocalTaskWizard.java index 577c79c7f..781f155eb 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/wizards/NewLocalTaskWizard.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/wizards/NewLocalTaskWizard.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -43,38 +43,6 @@ public class NewLocalTaskWizard extends Wizard implements INewWizard { @Override public boolean performFinish() { - -// LocalTask newTask = new LocalTask(LocalRepositoryConnector.REPOSITORY_URL, TasksUiPlugin.getTaskListManager() -// .genUniqueTaskHandle(), LocalRepositoryConnector.DEFAULT_SUMMARY); -// TaskListManager.scheduleNewTask(newTask); -// -// Object selectedObject = null; -// TaskListView view = TaskListView.getFromActivePerspective(); -// if (view != null) { -// selectedObject = ((IStructuredSelection) view.getViewer().getSelection()).getFirstElement(); -// } -// if (selectedObject instanceof TaskCategory) { -// TasksUiPlugin.getTaskListManager().getTaskList().addTask(newTask, (TaskCategory) selectedObject); -// } else if (selectedObject instanceof ITask) { -// ITask task = (ITask) selectedObject; -// if (task.getContainer() instanceof TaskCategory) { -// TasksUiPlugin.getTaskListManager().getTaskList().addTask(newTask, task.getContainer()); -// } else if (view != null && view.getDrilledIntoCategory() instanceof TaskCategory) { -// TasksUiPlugin.getTaskListManager().getTaskList().addTask(newTask, view.getDrilledIntoCategory()); -// } else { -// TasksUiPlugin.getTaskListManager().getTaskList().addTask(newTask, -// TasksUiPlugin.getTaskListManager().getTaskList().getUncategorizedCategory()); -// } -// } else if (view != null && view.getDrilledIntoCategory() instanceof TaskCategory) { -// TasksUiPlugin.getTaskListManager().getTaskList().addTask(newTask, view.getDrilledIntoCategory()); -// } else { -// if (view != null && view.getDrilledIntoCategory() != null) { -// MessageDialog.openInformation(Display.getCurrent().getActiveShell(), ITasksUiConstants.TITLE_DIALOG, -// "The new task has been added to the root of the list, since tasks can not be added to a query."); -// } -// TasksUiPlugin.getTaskListManager().getTaskList().addTask(newTask, -// TasksUiPlugin.getTaskListManager().getTaskList().getUncategorizedCategory()); -// } AbstractTask task = TasksUiPlugin.getTaskListManager().createNewLocalTask(null); if (task != null) { TasksUiUtil.openEditor(task, true); diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/wizards/PreviewAttachmentPage.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/wizards/PreviewAttachmentPage.java index c3ff84528..223f6f5b2 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/wizards/PreviewAttachmentPage.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/wizards/PreviewAttachmentPage.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/wizards/TaskDataExportWizard.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/wizards/TaskDataExportWizard.java index f9869ae11..685dbc2a6 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/wizards/TaskDataExportWizard.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/wizards/TaskDataExportWizard.java @@ -43,7 +43,7 @@ public class TaskDataExportWizard extends Wizard implements IExportWizard { */ private final static String SETTINGS_SECTION = "org.eclipse.mylyn.tasklist.ui.exportWizard"; - public final static String ZIP_FILE_PREFIX = "mylardata"; + public final static String ZIP_FILE_PREFIX = "mylyndata"; private final static String ZIP_FILE_EXTENSION = ".zip"; @@ -184,184 +184,4 @@ public class TaskDataExportWizard extends Wizard implements IExportWizard { exportPage.saveSettings(); return true; } - - // /** Job that performs the file copying and zipping */ - // class FileCopyJob implements IRunnableWithProgress { - // - // private static final String JOB_LABEL = "Exporting Data"; - // - // private File destZipFile = null; - // - // private File destTaskListFile = null; - // - // private File destActivationHistoryFile = null; - // - // private boolean zip; - // - // private boolean exportTaskList; - // - // private boolean exportActivationHistory; - // - // private boolean exportTaskContexts; - // - // private String destinationDirectory; - // - // public FileCopyJob(File destZipFile, File destTaskListFile, File - // destActivationHistoryFile) { - // this.destZipFile = destZipFile; - // this.destTaskListFile = destTaskListFile; - // this.destActivationHistoryFile = destActivationHistoryFile; - // - // // Get parameters here to avoid accessing the UI thread - // this.zip = exportPage.zip(); - // this.exportTaskList = exportPage.exportTaskList(); - // this.exportActivationHistory = exportPage.exportActivationHistory(); - // this.exportTaskContexts = exportPage.exportTaskContexts(); - // this.destinationDirectory = exportPage.getDestinationDirectory(); - // } - // - // public void run(final IProgressMonitor monitor) throws - // InvocationTargetException, InterruptedException { - // List<ITask> tasks = getAllTasks(); - // monitor.beginTask(JOB_LABEL, tasks.size() + 2); - // - // // List of files to add to the zip archive - // List<File> filesToZip = new ArrayList<File>(); - // - // // Map of file paths used to avoid duplicates - // Map<String, String> filesToZipMap = new HashMap<String, String>(); - // - // if (exportTaskList) { - // MylarTaskListPlugin.getTaskListManager().saveTaskList(); - // - // String sourceTaskListPath = ContextCorePlugin.getDefault().getDataDirectory() + - // File.separator - // + MylarTaskListPlugin.DEFAULT_TASK_LIST_FILE; - // File sourceTaskListFile = new File(sourceTaskListPath); - // - // if (zip) { - // filesToZip.add(sourceTaskListFile); - // } else { - // if (!copy(sourceTaskListFile, destTaskListFile)) { - // MylarStatusHandler.fail(new Exception("Export Exception"), "Could not - // export task list file.", - // false); - // } - // monitor.worked(1); - // } - // - // } - // - // if (exportActivationHistory) { - // try { - // File sourceActivationHistoryFile = new - // File(ContextCorePlugin.getDefault().getDataDirectory() - // + File.separator + MylarContextManager.CONTEXT_HISTORY_FILE_NAME - // + MylarContextManager.CONTEXT_FILE_EXTENSION); - // - // ContextCorePlugin.getContextManager().saveActivityHistoryContext(); - // - // if (zip) { - // filesToZip.add(sourceActivationHistoryFile); - // } else { - // copy(sourceActivationHistoryFile, destActivationHistoryFile); - // monitor.worked(1); - // } - // } catch (RuntimeException e) { - // MylarStatusHandler.fail(e, "Could not export activity history context - // file", true); - // } - // } - // - // if (exportTaskContexts) { - // boolean errorDisplayed = false; // Prevent many repeated error - // // messages - // for (ITask task : tasks) { - // - // if - // (!ContextCorePlugin.getContextManager().hasContext(task.getHandleIdentifier())) - // { - // continue; // Tasks without a context have no file to - // // copy - // } - // - // File contextFile = - // ContextCorePlugin.getContextManager().getFileForContext(task.getHandleIdentifier()); - // - // File destTaskFile = new File(destinationDirectory + File.separator + - // contextFile.getName()); - // File sourceTaskFile = contextFile; - // // new File(ContextCorePlugin.getDefault().getDataDirectory() + - // // File.separator + task.getContextPath() - // // + MylarContextManager.CONTEXT_FILE_EXTENSION); - // - // if (zip) { - // if (!filesToZipMap.containsKey(task.getHandleIdentifier())) { - // filesToZip.add(sourceTaskFile); - // filesToZipMap.put(task.getHandleIdentifier(), null); - // } - // } else { - // if (!copy(sourceTaskFile, destTaskFile) && !errorDisplayed) { - // MylarStatusHandler.fail(new Exception("Export Exception: " + - // sourceTaskFile.getPath() - // + " -> " + destTaskFile.getPath()), - // "Could not export one or more task context files.", true); - // errorDisplayed = true; - // } - // monitor.worked(1); - // } - // } - // } - // - // if (zip) { - // try { - // if (destZipFile.exists()) { - // destZipFile.delete(); - // } - // ZipFileUtil.createZipFile(destZipFile, filesToZip, monitor); - // } catch (Exception e) { - // MylarStatusHandler.fail(e, "Could not create zip file.", true); - // } - // } - // monitor.done(); - // - // } - // } - - // /** Returns all tasks in the task list root or a category in the task - // list */ - // protected List<ITask> getAllTasks() { - // List<ITask> allTasks = new ArrayList<ITask>(); - // TaskList taskList = - // MylarTaskListPlugin.getTaskListManager().getTaskList(); - // - // allTasks.addAll(taskList.getRootTasks()); - // - // for (AbstractTaskContainer category : taskList.getCategories()) { - // allTasks.addAll(category.getChildren()); - // } - // - // return allTasks; - // } - - // // Note: Copied from MylarTaskListPlugin - // private boolean copy(File src, File dst) { - // try { - // InputStream in = new FileInputStream(src); - // OutputStream out = new FileOutputStream(dst); - // - // // Transfer bytes from in to out - // byte[] buf = new byte[1024]; - // int len; - // while ((len = in.read(buf)) > 0) { - // out.write(buf, 0, len); - // } - // in.close(); - // out.close(); - // return true; - // } catch (IOException ioe) { - // return false; - // } - // } - } diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/wizards/TaskDataExportWizardPage.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/wizards/TaskDataExportWizardPage.java index 172d8e257..ede8df608 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/wizards/TaskDataExportWizardPage.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/wizards/TaskDataExportWizardPage.java @@ -40,7 +40,7 @@ public class TaskDataExportWizardPage extends WizardPage { private static final String LABEL_ACTIVITY_HISTORY = "Task Activity History"; - protected final static String PAGE_TITLE = "Export Mylar Task Data"; + protected final static String PAGE_TITLE = "Export Mylyn Task Data"; public final static String PAGE_NAME = PAGE_TITLE; diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/wizards/TaskDataImportWizardPage.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/wizards/TaskDataImportWizardPage.java index dbf18d44f..45aacd533 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/wizards/TaskDataImportWizardPage.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/wizards/TaskDataImportWizardPage.java @@ -48,7 +48,7 @@ public class TaskDataImportWizardPage extends WizardPage { private static final String LABEL_IMPORT_BACKUP = "From auto backup"; - private final static String PAGE_TITLE = "Import Mylar Task Data"; + private final static String PAGE_TITLE = "Import Mylyn Task Data"; private static final String DESCRIPTION = "WARNING: importing overwrites current task list and repositories, use with caution."; diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/workingsets/TaskWorkingSetAdapterFactory.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/workingsets/TaskWorkingSetAdapterFactory.java index e8ab50af5..b63987717 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/workingsets/TaskWorkingSetAdapterFactory.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/workingsets/TaskWorkingSetAdapterFactory.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/workingsets/TaskWorkingSetElementAdapter.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/workingsets/TaskWorkingSetElementAdapter.java index a237e0dd4..e01998ed3 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/workingsets/TaskWorkingSetElementAdapter.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/workingsets/TaskWorkingSetElementAdapter.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/workingsets/TaskWorkingSetElementFactory.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/workingsets/TaskWorkingSetElementFactory.java index 41a2f1dbf..99c2f7ca9 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/workingsets/TaskWorkingSetElementFactory.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/workingsets/TaskWorkingSetElementFactory.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/workingsets/TaskWorkingSetPage.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/workingsets/TaskWorkingSetPage.java index 53bd777fb..194d70a38 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/workingsets/TaskWorkingSetPage.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/workingsets/TaskWorkingSetPage.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/workingsets/TaskWorkingSetUpdater.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/workingsets/TaskWorkingSetUpdater.java index 2e2eb565f..d21b579e0 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/workingsets/TaskWorkingSetUpdater.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/workingsets/TaskWorkingSetUpdater.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/AbstractDuplicateDetector.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/AbstractDuplicateDetector.java index 8af2cf145..721928d3e 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/AbstractDuplicateDetector.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/AbstractDuplicateDetector.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/AbstractRepositoryConnectorUi.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/AbstractRepositoryConnectorUi.java index 95df74eaa..c89290df6 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/AbstractRepositoryConnectorUi.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/AbstractRepositoryConnectorUi.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -70,7 +70,7 @@ public abstract class AbstractRepositoryConnectorUi { /** * Override to return a custom task editor ID. If overriding this method the connector becomes responsible for - * showing the additional pages handled by the default task editor. As of Mylar 2.0M2 these are the Planning and + * showing the additional pages handled by the default task editor. As of Mylyn 2.0M2 these are the Planning and * Context pages. */ public String getTaskEditorId(AbstractTask repositoryTask) { diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/AbstractTaskRepositoryLinkProvider.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/AbstractTaskRepositoryLinkProvider.java index c61a6d053..15bece665 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/AbstractTaskRepositoryLinkProvider.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/AbstractTaskRepositoryLinkProvider.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/RepositorySynchronizationManager.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/RepositorySynchronizationManager.java index e48e4a926..154049a26 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/RepositorySynchronizationManager.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/RepositorySynchronizationManager.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TaskFactory.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TaskFactory.java index 250ffc48b..5ff06e3cc 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TaskFactory.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TaskFactory.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TaskHyperlink.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TaskHyperlink.java index 36268695d..198e30557 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TaskHyperlink.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TaskHyperlink.java @@ -52,7 +52,7 @@ public final class TaskHyperlink implements IHyperlink { if (repository != null) { TasksUiUtil.openRepositoryTask(repository, taskId); } else { - MessageDialog.openError(null, "Mylar", "Could not determine repository for report"); + MessageDialog.openError(null, "Mylyn", "Could not determine repository for report"); } } diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TaskListManager.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TaskListManager.java index 5ba9d9e51..fc41bc10c 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TaskListManager.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TaskListManager.java @@ -5,9 +5,7 @@ * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html *******************************************************************************/ -/* - * Created on Dec 26, 2004 - */ + package org.eclipse.mylyn.tasks.ui; import java.io.File; @@ -482,9 +480,7 @@ public class TaskListManager implements IPropertyChangeListener { } private void setupCalendarRanges() { - // MylarTaskListPlugin.getMylarCorePrefs().getInt(TaskListPreferenceConstants.PLANNING_STARTDAY); startDay = Calendar.MONDAY; - // MylarTaskListPlugin.getMylarCorePrefs().getInt(TaskListPreferenceConstants.PLANNING_ENDDAY); endDay = Calendar.SUNDAY; // scheduledStartHour = // TasksUiPlugin.getDefault().getPreferenceStore().getInt( diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TasksUiPlugin.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TasksUiPlugin.java index 7c3c59124..d54f8cdc4 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TasksUiPlugin.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TasksUiPlugin.java @@ -429,7 +429,7 @@ public class TasksUiPlugin extends AbstractUIPlugin implements IStartup { }); } catch (Exception e) { e.printStackTrace(); - StatusHandler.fail(e, "Mylar Task List initialization failed", false); + StatusHandler.fail(e, "Mylyn Task List initialization failed", false); } } @@ -522,7 +522,7 @@ public class TasksUiPlugin extends AbstractUIPlugin implements IStartup { INSTANCE = null; } } catch (Exception e) { - StatusHandler.log(e, "Mylar Task List stop terminated abnormally"); + StatusHandler.log(e, "Mylyn Task List stop terminated abnormally"); } finally { super.stop(context); } diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractRepositoryTaskEditor.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractRepositoryTaskEditor.java index f89808797..cc5634b7b 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractRepositoryTaskEditor.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractRepositoryTaskEditor.java @@ -1,10 +1,11 @@ /******************************************************************************* - * Copyright (c) 2003, 2007 Mylyn project committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html *******************************************************************************/ + package org.eclipse.mylyn.tasks.ui.editors; import java.io.File; @@ -202,7 +203,7 @@ public abstract class AbstractRepositoryTaskEditor extends TaskFormPage { // private static final String LABEL_NO_DETECTOR = "No duplicate detector available."; - protected static final String CONTEXT_MENU_ID = "#MylarRepositoryEditor"; + protected static final String CONTEXT_MENU_ID = "#MylynRepositoryEditor"; private FormToolkit toolkit; diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/RepositoryTaskEditorDropListener.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/RepositoryTaskEditorDropListener.java index 38f52aef1..1534eb6ff 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/RepositoryTaskEditorDropListener.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/RepositoryTaskEditorDropListener.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/TaskFormPage.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/TaskFormPage.java index 84db32a92..53f7c5aea 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/TaskFormPage.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/TaskFormPage.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/wizards/NewTaskWizard.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/wizards/NewTaskWizard.java index 10e83bfbf..ce6175555 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/wizards/NewTaskWizard.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/wizards/NewTaskWizard.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/AbstractTracClient.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/AbstractTracClient.java index 667f752e7..cae0147f7 100644 --- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/AbstractTracClient.java +++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/AbstractTracClient.java @@ -1,12 +1,9 @@ /******************************************************************************* - * Copyright (c) 2006 - 2006 Mylar eclipse.org project and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Mylar project committers - initial API and implementation *******************************************************************************/ package org.eclipse.mylyn.internal.trac.core; diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/ITracClient.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/ITracClient.java index 934afb101..d7cedd215 100644 --- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/ITracClient.java +++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/ITracClient.java @@ -1,12 +1,9 @@ /******************************************************************************* - * Copyright (c) 2006 - 2006 Mylar eclipse.org project and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Mylar project committers - initial API and implementation *******************************************************************************/ package org.eclipse.mylyn.internal.trac.core; diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/InvalidTicketException.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/InvalidTicketException.java index a2152be7b..94783d77a 100644 --- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/InvalidTicketException.java +++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/InvalidTicketException.java @@ -1,12 +1,9 @@ /******************************************************************************* - * Copyright (c) 2006 - 2006 Mylar eclipse.org project and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Mylar project committers - initial API and implementation *******************************************************************************/ package org.eclipse.mylyn.internal.trac.core; diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracAttributeFactory.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracAttributeFactory.java index 1a03f1cfd..3adaaf70e 100644 --- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracAttributeFactory.java +++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracAttributeFactory.java @@ -18,7 +18,7 @@ import org.eclipse.mylyn.tasks.core.AbstractAttributeFactory; import org.eclipse.mylyn.tasks.core.RepositoryTaskAttribute; /** - * Provides a mapping from Mylar task keys to Trac ticket keys. + * Provides a mapping from Mylyn task keys to Trac ticket keys. * * @author Steffen Pingel */ @@ -81,7 +81,7 @@ public class TracAttributeFactory extends AbstractAttributeFactory { } /** - * This is for Mylar attributes that do not map to Trac attributes. + * This is for Mylyn attributes that do not map to Trac attributes. */ Attribute(String taskKey, String prettyName) { this(taskKey, prettyName, taskKey, true, false); diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracClientData.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracClientData.java index 28a7acaef..4a822902b 100644 --- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracClientData.java +++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracClientData.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracClientFactory.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracClientFactory.java index e60251fbf..09634eae9 100644 --- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracClientFactory.java +++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracClientFactory.java @@ -1,12 +1,9 @@ /******************************************************************************* - * Copyright (c) 2006 - 2006 Mylar eclipse.org project and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Mylar project committers - initial API and implementation *******************************************************************************/ package org.eclipse.mylyn.internal.trac.core; diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracClientManager.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracClientManager.java index 67722b92e..baeeb9322 100644 --- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracClientManager.java +++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracClientManager.java @@ -1,12 +1,9 @@ /******************************************************************************* - * Copyright (c) 2006 - 2006 Mylar eclipse.org project and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Mylar project committers - initial API and implementation *******************************************************************************/ package org.eclipse.mylyn.internal.trac.core; diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracException.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracException.java index 6ca122835..7556ef0d5 100644 --- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracException.java +++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracException.java @@ -1,12 +1,9 @@ /******************************************************************************* - * Copyright (c) 2006 - 2006 Mylar eclipse.org project and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Mylar project committers - initial API and implementation *******************************************************************************/ package org.eclipse.mylyn.internal.trac.core; diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracLoginException.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracLoginException.java index d3fa8e29d..52119788a 100644 --- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracLoginException.java +++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracLoginException.java @@ -1,12 +1,9 @@ /******************************************************************************* - * Copyright (c) 2006 - 2006 Mylar eclipse.org project and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Mylar project committers - initial API and implementation *******************************************************************************/ package org.eclipse.mylyn.internal.trac.core; diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracNoSuchMethodException.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracNoSuchMethodException.java index 210ecb14f..736c6a89f 100644 --- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracNoSuchMethodException.java +++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracNoSuchMethodException.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracPermissionDeniedException.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracPermissionDeniedException.java index d649bd2c7..eadb8ddb4 100644 --- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracPermissionDeniedException.java +++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracPermissionDeniedException.java @@ -1,12 +1,9 @@ /******************************************************************************* - * Copyright (c) 2006 - 2006 Mylar eclipse.org project and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Mylar project committers - initial API and implementation *******************************************************************************/ package org.eclipse.mylyn.internal.trac.core; diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracRemoteException.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracRemoteException.java index 510a56ebf..164896aad 100644 --- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracRemoteException.java +++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracRemoteException.java @@ -1,12 +1,9 @@ /******************************************************************************* - * Copyright (c) 2006 - 2006 Mylar eclipse.org project and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Mylar project committers - initial API and implementation *******************************************************************************/ package org.eclipse.mylyn.internal.trac.core; diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracRepositoryConnector.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracRepositoryConnector.java index 9a15932b0..e6ca3ab08 100644 --- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracRepositoryConnector.java +++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracRepositoryConnector.java @@ -1,12 +1,9 @@ /******************************************************************************* - * Copyright (c) 2006 - 2006 Mylar eclipse.org project and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Mylar project committers - initial API and implementation *******************************************************************************/ package org.eclipse.mylyn.internal.trac.core; @@ -244,7 +241,7 @@ public class TracRepositoryConnector extends AbstractRepositoryConnector { repositoryTask.setOwner(taskData.getAttributeValue(RepositoryTaskAttribute.USER_ASSIGNED)); repositoryTask.setCompleted(TracTask.isCompleted(taskData.getStatus())); repositoryTask.setUrl(repository.getUrl() + ITracClient.TICKET_URL + taskData.getId()); - repositoryTask.setPriority(TracTask.getMylarPriority(taskData.getAttributeValue(Attribute.PRIORITY.getTracKey()))); + repositoryTask.setPriority(TracTask.getMylynPriority(taskData.getAttributeValue(Attribute.PRIORITY.getTracKey()))); Kind kind = TracTask.Kind.fromType(taskData.getAttributeValue(Attribute.TYPE.getTracKey())); repositoryTask.setTaskKind((kind != null) ? kind.toString() : null); // TODO: Completion Date @@ -279,7 +276,7 @@ public class TracRepositoryConnector extends AbstractRepositoryConnector { task.setSummary(ticket.getValue(Key.SUMMARY)); } task.setCompleted(TracTask.isCompleted(ticket.getValue(Key.STATUS))); - task.setPriority(TracTask.getMylarPriority(ticket.getValue(Key.PRIORITY))); + task.setPriority(TracTask.getMylynPriority(ticket.getValue(Key.PRIORITY))); if (ticket.getValue(Key.TYPE) != null) { Kind kind = TracTask.Kind.fromType(ticket.getValue(Key.TYPE)); task.setTaskKind((kind != null) ? kind.toString() : ticket.getValue(Key.TYPE)); diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracRepositoryQuery.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracRepositoryQuery.java index 24f08acf8..ad087698a 100644 --- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracRepositoryQuery.java +++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracRepositoryQuery.java @@ -1,12 +1,9 @@ /******************************************************************************* - * Copyright (c) 2006 - 2006 Mylar eclipse.org project and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Mylar project committers - initial API and implementation *******************************************************************************/ package org.eclipse.mylyn.internal.trac.core; diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracTask.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracTask.java index aa653d15b..2be1ea387 100644 --- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracTask.java +++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracTask.java @@ -1,12 +1,9 @@ /******************************************************************************* - * Copyright (c) 2006 - 2006 Mylar eclipse.org project and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Mylar project committers - initial API and implementation *******************************************************************************/ package org.eclipse.mylyn.internal.trac.core; @@ -145,7 +142,7 @@ public class TracTask extends AbstractTask { } // TODO use priority attributes from repository instead of hard coded enum - public static String getMylarPriority(String tracPriority) { + public static String getMylynPriority(String tracPriority) { if (tracPriority != null) { PriorityLevel priority = PriorityLevel.fromPriority(tracPriority); if (priority != null) { diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracWebClient.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracWebClient.java index 9d16ac4e1..aba89f7b6 100644 --- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracWebClient.java +++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracWebClient.java @@ -1,12 +1,9 @@ /******************************************************************************* - * Copyright (c) 2006 - 2006 Mylar eclipse.org project and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Mylar project committers - initial API and implementation *******************************************************************************/ package org.eclipse.mylyn.internal.trac.core; diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracAttachment.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracAttachment.java index c68a0e049..0d67f62bc 100644 --- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracAttachment.java +++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracAttachment.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracAttribute.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracAttribute.java index f1c6603bf..ed74bf8a7 100644 --- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracAttribute.java +++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracAttribute.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracComment.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracComment.java index d8ba52f1f..2853623e2 100644 --- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracComment.java +++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracComment.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracComponent.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracComponent.java index 1ac513eab..55aa33015 100644 --- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracComponent.java +++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracComponent.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracMilestone.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracMilestone.java index 6aeffce8d..0b1ba7065 100644 --- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracMilestone.java +++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracMilestone.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracPriority.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracPriority.java index 8e5498d50..7cc3d3d33 100644 --- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracPriority.java +++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracPriority.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracSearch.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracSearch.java index 7a419f401..faa1b7494 100644 --- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracSearch.java +++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracSearch.java @@ -1,12 +1,9 @@ /******************************************************************************* - * Copyright (c) 2006 - 2006 Mylar eclipse.org project and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Mylar project committers - initial API and implementation *******************************************************************************/ package org.eclipse.mylyn.internal.trac.core.model; diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracSearchFilter.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracSearchFilter.java index d4b263726..b48dd25a0 100644 --- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracSearchFilter.java +++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracSearchFilter.java @@ -1,12 +1,9 @@ /******************************************************************************* - * Copyright (c) 2006 - 2006 Mylar eclipse.org project and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Mylar project committers - initial API and implementation *******************************************************************************/ package org.eclipse.mylyn.internal.trac.core.model; diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracSeverity.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracSeverity.java index 27c216138..b863d04f0 100644 --- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracSeverity.java +++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracSeverity.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracTicket.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracTicket.java index 0c2ad1679..b7d92e13a 100644 --- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracTicket.java +++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracTicket.java @@ -1,12 +1,9 @@ /******************************************************************************* - * Copyright (c) 2006 - 2006 Mylar eclipse.org project and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Mylar project committers - initial API and implementation *******************************************************************************/ package org.eclipse.mylyn.internal.trac.core.model; diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracTicketAttribute.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracTicketAttribute.java index 3b56b1237..a51161643 100644 --- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracTicketAttribute.java +++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracTicketAttribute.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracTicketField.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracTicketField.java index 678146a1c..6e52d0bbc 100644 --- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracTicketField.java +++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracTicketField.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracTicketResolution.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracTicketResolution.java index 5444e4bb2..4838c6628 100644 --- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracTicketResolution.java +++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracTicketResolution.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracTicketStatus.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracTicketStatus.java index 6adff1d96..45f9e7caf 100644 --- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracTicketStatus.java +++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracTicketStatus.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracTicketType.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracTicketType.java index 56bbd6f3b..8d09a2107 100644 --- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracTicketType.java +++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracTicketType.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracVersion.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracVersion.java index 7453e17e0..0b4665fa1 100644 --- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracVersion.java +++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracVersion.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/util/TracHttpClientTransportFactory.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/util/TracHttpClientTransportFactory.java index 16b224d81..00ad73145 100644 --- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/util/TracHttpClientTransportFactory.java +++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/util/TracHttpClientTransportFactory.java @@ -1,12 +1,9 @@ /******************************************************************************* - * Copyright (c) 2006 - 2006 Mylar eclipse.org project and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Mylar project committers - initial API and implementation *******************************************************************************/ package org.eclipse.mylyn.internal.trac.core.util; @@ -31,7 +28,7 @@ import org.apache.xmlrpc.client.XmlRpcTransportFactory; import org.eclipse.mylyn.web.core.WebClientUtil; /** - * A custom transport factory used to establish XML-RPC connections. Uses the Mylar proxy settings. + * A custom transport factory used to establish XML-RPC connections. Uses the Mylyn proxy settings. * * @author Steffen Pingel */ diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/util/TracUtils.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/util/TracUtils.java index 4ba504236..dfd105712 100644 --- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/util/TracUtils.java +++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/util/TracUtils.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.trac.tests/META-INF/MANIFEST.MF b/org.eclipse.mylyn.trac.tests/META-INF/MANIFEST.MF index 353e0d7f6..0de31bcb6 100644 --- a/org.eclipse.mylyn.trac.tests/META-INF/MANIFEST.MF +++ b/org.eclipse.mylyn.trac.tests/META-INF/MANIFEST.MF @@ -1,6 +1,6 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 -Bundle-Name: Mylar Trac Connector Tests +Bundle-Name: Mylyn Trac Connector Tests Bundle-SymbolicName: org.eclipse.mylyn.trac.tests Bundle-Version: 0.0.0 Require-Bundle: org.junit, diff --git a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/AbstractTracClientRepositoryTest.java b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/AbstractTracClientRepositoryTest.java index 9c9a5012a..feefc54d9 100644 --- a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/AbstractTracClientRepositoryTest.java +++ b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/AbstractTracClientRepositoryTest.java @@ -1,12 +1,9 @@ /******************************************************************************* - * Copyright (c) 2006 - 2006 Mylar eclipse.org project and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Mylar project committers - initial API and implementation *******************************************************************************/ package org.eclipse.mylyn.trac.tests; diff --git a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/AbstractTracClientSearchTest.java b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/AbstractTracClientSearchTest.java index 8df5d4fdb..44f113512 100644 --- a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/AbstractTracClientSearchTest.java +++ b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/AbstractTracClientSearchTest.java @@ -1,12 +1,9 @@ /******************************************************************************* - * Copyright (c) 2006 - 2006 Mylar eclipse.org project and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Mylar project committers - initial API and implementation *******************************************************************************/ package org.eclipse.mylyn.trac.tests; diff --git a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/AbstractTracClientTest.java b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/AbstractTracClientTest.java index ce3d01db2..e0bb661b1 100644 --- a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/AbstractTracClientTest.java +++ b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/AbstractTracClientTest.java @@ -1,12 +1,9 @@ /******************************************************************************* - * Copyright (c) 2006 - 2006 Mylar eclipse.org project and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Mylar project committers - initial API and implementation *******************************************************************************/ package org.eclipse.mylyn.trac.tests; diff --git a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/AllTracTests.java b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/AllTracTests.java index a741e8d5c..87afe2126 100644 --- a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/AllTracTests.java +++ b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/AllTracTests.java @@ -1,12 +1,9 @@ /******************************************************************************* - * Copyright (c) 2006 - 2006 Mylar eclipse.org project and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Mylar project committers - initial API and implementation *******************************************************************************/ package org.eclipse.mylyn.trac.tests; diff --git a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/RepositorySearchQueryTest.java b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/RepositorySearchQueryTest.java index 89606aa9e..a447523c3 100644 --- a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/RepositorySearchQueryTest.java +++ b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/RepositorySearchQueryTest.java @@ -1,12 +1,9 @@ /******************************************************************************* - * Copyright (c) 2006 - 2006 Mylar eclipse.org project and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Mylar project committers - initial API and implementation *******************************************************************************/ package org.eclipse.mylyn.trac.tests; diff --git a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracAttachmentHandlerTest.java b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracAttachmentHandlerTest.java index 9e63498bd..ab58df78c 100644 --- a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracAttachmentHandlerTest.java +++ b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracAttachmentHandlerTest.java @@ -1,12 +1,9 @@ /******************************************************************************* - * Copyright (c) 2006 - 2006 Mylar eclipse.org project and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Mylar project committers - initial API and implementation *******************************************************************************/ package org.eclipse.mylyn.trac.tests; diff --git a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracClientFactoryTest.java b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracClientFactoryTest.java index d7b71c8da..30e982b78 100644 --- a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracClientFactoryTest.java +++ b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracClientFactoryTest.java @@ -1,12 +1,9 @@ /******************************************************************************* - * Copyright (c) 2006 - 2006 Mylar eclipse.org project and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Mylar project committers - initial API and implementation *******************************************************************************/ package org.eclipse.mylyn.trac.tests; diff --git a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracClientManagerTest.java b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracClientManagerTest.java index c508bd402..ec29a3ca2 100644 --- a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracClientManagerTest.java +++ b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracClientManagerTest.java @@ -1,12 +1,9 @@ /******************************************************************************* - * Copyright (c) 2006 - 2006 Mylar eclipse.org project and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Mylar project committers - initial API and implementation *******************************************************************************/ package org.eclipse.mylyn.trac.tests; @@ -47,7 +44,7 @@ public class TracClientManagerTest extends TestCase { TracTestConstants.TEST_TRAC_096_URL); taskRepository.setVersion(Version.TRAC_0_9.name()); - File file = File.createTempFile("mylar", null); + File file = File.createTempFile("mylyn", null); file.deleteOnExit(); TracClientManager manager = new TracClientManager(file); @@ -60,7 +57,7 @@ public class TracClientManagerTest extends TestCase { TracTestConstants.TEST_TRAC_096_URL); taskRepository.setVersion(Version.TRAC_0_9.name()); - File file = File.createTempFile("mylar", null); + File file = File.createTempFile("mylyn", null); file.deleteOnExit(); TracClientManager manager = new TracClientManager(file); diff --git a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracQueryTest.java b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracQueryTest.java index 46f82c339..92a188f1d 100644 --- a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracQueryTest.java +++ b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracQueryTest.java @@ -1,12 +1,9 @@ /******************************************************************************* - * Copyright (c) 2006 - 2006 Mylar eclipse.org project and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Mylar project committers - initial API and implementation *******************************************************************************/ package org.eclipse.mylyn.trac.tests; @@ -23,6 +20,7 @@ import org.eclipse.mylyn.internal.trac.core.model.TracSearch; public class TracQueryTest extends TestCase { private TracRepositoryQuery createQuery(String parameter) { + // FIXME: remove this external depencency String url = "http://oss.steffenpingel.de/mylar-trac-connector"; return new TracRepositoryQuery(url, url + ITracClient.QUERY_URL + parameter, "description"); } diff --git a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracRepositoryConnectorTest.java b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracRepositoryConnectorTest.java index d2baf47f2..95de316ec 100644 --- a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracRepositoryConnectorTest.java +++ b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracRepositoryConnectorTest.java @@ -1,12 +1,9 @@ /******************************************************************************* - * Copyright (c) 2006 - 2006 Mylar eclipse.org project and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Mylar project committers - initial API and implementation *******************************************************************************/ package org.eclipse.mylyn.trac.tests; diff --git a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracRepositoryQueryTest.java b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracRepositoryQueryTest.java index e20d31636..161909bf0 100644 --- a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracRepositoryQueryTest.java +++ b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracRepositoryQueryTest.java @@ -1,12 +1,9 @@ /******************************************************************************* - * Copyright (c) 2006 - 2006 Mylar eclipse.org project and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Mylar project committers - initial API and implementation *******************************************************************************/ package org.eclipse.mylyn.trac.tests; diff --git a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracRepositorySettingsPageTest.java b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracRepositorySettingsPageTest.java index da124b6d1..67be82fd7 100644 --- a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracRepositorySettingsPageTest.java +++ b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracRepositorySettingsPageTest.java @@ -1,12 +1,9 @@ /******************************************************************************* - * Copyright (c) 2006 - 2006 Mylar eclipse.org project and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Mylar project committers - initial API and implementation *******************************************************************************/ package org.eclipse.mylyn.trac.tests; diff --git a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracSearchTest.java b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracSearchTest.java index b36b5d265..004097eed 100644 --- a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracSearchTest.java +++ b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracSearchTest.java @@ -1,12 +1,9 @@ /******************************************************************************* - * Copyright (c) 2006 - 2006 Mylar eclipse.org project and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Mylar project committers - initial API and implementation *******************************************************************************/ package org.eclipse.mylyn.trac.tests; diff --git a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracTaskDataHandlerTest.java b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracTaskDataHandlerTest.java index 9f00f1177..1459f3cdb 100644 --- a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracTaskDataHandlerTest.java +++ b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracTaskDataHandlerTest.java @@ -1,12 +1,9 @@ /******************************************************************************* - * Copyright (c) 2006 - 2006 Mylar eclipse.org project and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Mylar project committers - initial API and implementation *******************************************************************************/ package org.eclipse.mylyn.trac.tests; diff --git a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracTaskTest.java b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracTaskTest.java index 2154d7c29..8e18f2337 100644 --- a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracTaskTest.java +++ b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracTaskTest.java @@ -1,12 +1,9 @@ /******************************************************************************* - * Copyright (c) 2006 - 2006 Mylar eclipse.org project and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Mylar project committers - initial API and implementation *******************************************************************************/ package org.eclipse.mylyn.trac.tests; @@ -31,14 +28,14 @@ public class TracTaskTest extends TestCase { assertFalse(TracTask.isCompleted(null)); } - public void testGetMylarPriority() { - assertEquals("P1", TracTask.getMylarPriority("blocker")); - assertEquals("P2", TracTask.getMylarPriority("critical")); - assertEquals("P3", TracTask.getMylarPriority("major")); - assertEquals("P3", TracTask.getMylarPriority(null)); - assertEquals("P3", TracTask.getMylarPriority("")); - assertEquals("P3", TracTask.getMylarPriority("foo bar")); - assertEquals("P4", TracTask.getMylarPriority("minor")); - assertEquals("P5", TracTask.getMylarPriority("trivial")); + public void testGetMylynPriority() { + assertEquals("P1", TracTask.getMylynPriority("blocker")); + assertEquals("P2", TracTask.getMylynPriority("critical")); + assertEquals("P3", TracTask.getMylynPriority("major")); + assertEquals("P3", TracTask.getMylynPriority(null)); + assertEquals("P3", TracTask.getMylynPriority("")); + assertEquals("P3", TracTask.getMylynPriority("foo bar")); + assertEquals("P4", TracTask.getMylynPriority("minor")); + assertEquals("P5", TracTask.getMylynPriority("trivial")); } } diff --git a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracTestConstants.java b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracTestConstants.java index db47a3df8..2be668746 100644 --- a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracTestConstants.java +++ b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracTestConstants.java @@ -1,12 +1,9 @@ /******************************************************************************* - * Copyright (c) 2006 - 2006 Mylar eclipse.org project and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Mylar project committers - initial API and implementation *******************************************************************************/ package org.eclipse.mylyn.trac.tests; diff --git a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracTestPlugin.java b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracTestPlugin.java index 784ab7d2e..5df32028e 100644 --- a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracTestPlugin.java +++ b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracTestPlugin.java @@ -1,12 +1,9 @@ /******************************************************************************* - * Copyright (c) 2006 - 2006 Mylar eclipse.org project and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Mylar project committers - initial API and implementation *******************************************************************************/ package org.eclipse.mylyn.trac.tests; diff --git a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracTicketTest.java b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracTicketTest.java index 68ffc9cd9..f3fd07a41 100644 --- a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracTicketTest.java +++ b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracTicketTest.java @@ -1,12 +1,9 @@ /******************************************************************************* - * Copyright (c) 2006 - 2006 Mylar eclipse.org project and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Mylar project committers - initial API and implementation *******************************************************************************/ package org.eclipse.mylyn.trac.tests; diff --git a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracWebClientSearchTest.java b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracWebClientSearchTest.java index b821557dc..c4e9a8889 100644 --- a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracWebClientSearchTest.java +++ b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracWebClientSearchTest.java @@ -1,12 +1,9 @@ /******************************************************************************* - * Copyright (c) 2006 - 2006 Mylar eclipse.org project and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Mylar project committers - initial API and implementation *******************************************************************************/ package org.eclipse.mylyn.trac.tests; diff --git a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracWebClientTest.java b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracWebClientTest.java index 993a7b938..d887d0c8d 100644 --- a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracWebClientTest.java +++ b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracWebClientTest.java @@ -1,12 +1,9 @@ /******************************************************************************* - * Copyright (c) 2006 - 2006 Mylar eclipse.org project and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Mylar project committers - initial API and implementation *******************************************************************************/ package org.eclipse.mylyn.trac.tests; diff --git a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracXmlRpcClientSearchTest.java b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracXmlRpcClientSearchTest.java index 37c655806..855634e5a 100644 --- a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracXmlRpcClientSearchTest.java +++ b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracXmlRpcClientSearchTest.java @@ -1,12 +1,9 @@ /******************************************************************************* - * Copyright (c) 2006 - 2006 Mylar eclipse.org project and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Mylar project committers - initial API and implementation *******************************************************************************/ package org.eclipse.mylyn.trac.tests; diff --git a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracXmlRpcClientTest.java b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracXmlRpcClientTest.java index 24b5ed397..23d442654 100644 --- a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracXmlRpcClientTest.java +++ b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracXmlRpcClientTest.java @@ -1,12 +1,9 @@ /******************************************************************************* - * Copyright (c) 2006 - 2006 Mylar eclipse.org project and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Mylar project committers - initial API and implementation *******************************************************************************/ package org.eclipse.mylyn.trac.tests; diff --git a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracXmlRpcTest.java b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracXmlRpcTest.java index 7201a3688..c97a246e8 100644 --- a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracXmlRpcTest.java +++ b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracXmlRpcTest.java @@ -1,12 +1,9 @@ /******************************************************************************* - * Copyright (c) 2006 - 2006 Mylar eclipse.org project and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Mylar project committers - initial API and implementation *******************************************************************************/ package org.eclipse.mylyn.trac.tests; diff --git a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/support/TestFixture.java b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/support/TestFixture.java index 93a6c7da3..010729b4e 100644 --- a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/support/TestFixture.java +++ b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/support/TestFixture.java @@ -1,12 +1,9 @@ /******************************************************************************* - * Copyright (c) 2006 - 2006 Mylar eclipse.org project and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Mylar project committers - initial API and implementation *******************************************************************************/ package org.eclipse.mylyn.trac.tests.support; @@ -69,8 +66,6 @@ public class TestFixture { // ticket.update("comment", "milestone", "milestone2"); // ticket = server.ticket().create("summary4", "description4"); // -// ticket = server.ticket().create("attachment test", ""); -// // create attachment named attachment.txt that contains the text "Mylar" // ticket = server.ticket().create("test html entities: ���", "���\n\nmulti\nline\n\n'''bold'''\n"); // ticket = server.ticket().create("offline handler test", ""); // } diff --git a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/support/XmlRpcServer.java b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/support/XmlRpcServer.java index 88698b52e..cdfcc0cdf 100644 --- a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/support/XmlRpcServer.java +++ b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/support/XmlRpcServer.java @@ -1,12 +1,9 @@ /******************************************************************************* - * Copyright (c) 2006 - 2006 Mylar eclipse.org project and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Mylar project committers - initial API and implementation *******************************************************************************/ package org.eclipse.mylyn.trac.tests.support; diff --git a/org.eclipse.mylyn.trac.ui/META-INF/MANIFEST.MF b/org.eclipse.mylyn.trac.ui/META-INF/MANIFEST.MF index 38bc8171f..1cc6a320d 100644 --- a/org.eclipse.mylyn.trac.ui/META-INF/MANIFEST.MF +++ b/org.eclipse.mylyn.trac.ui/META-INF/MANIFEST.MF @@ -1,6 +1,6 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 -Bundle-Name: Mylar Trac Mylyn UI +Bundle-Name: Mylyn Trac Mylyn UI Bundle-SymbolicName: org.eclipse.mylyn.trac.ui;singleton:=true Bundle-Version: 2.0.0.v20070706-2000 Bundle-Activator: org.eclipse.mylyn.internal.trac.ui.TracUiPlugin diff --git a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracConnectorUi.java b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracConnectorUi.java index 3c476b606..d62909462 100644 --- a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracConnectorUi.java +++ b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracConnectorUi.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at 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 162cf35fb..162f9d096 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 @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracTaskListFactory.java b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracTaskListFactory.java index 6664b58bd..7228ce457 100644 --- a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracTaskListFactory.java +++ b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracTaskListFactory.java @@ -1,12 +1,9 @@ /******************************************************************************* - * Copyright (c) 2006 - 2006 Mylar eclipse.org project and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Mylar project committers - initial API and implementation *******************************************************************************/ package org.eclipse.mylyn.internal.trac.ui; 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 0538113ae..975038837 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 @@ -1,14 +1,10 @@ /******************************************************************************* - * Copyright (c) 2006 - 2006 Mylar eclipse.org project and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Mylar project committers - initial API and implementation *******************************************************************************/ - package org.eclipse.mylyn.internal.trac.ui; import org.eclipse.mylyn.internal.trac.core.TracCorePlugin; @@ -24,7 +20,7 @@ public class TracUiPlugin extends AbstractUIPlugin { public static final String PLUGIN_ID = "org.eclipse.mylyn.trac.ui"; - public final static String TITLE_MESSAGE_DIALOG = "Mylar Trac Client"; + public final static String TITLE_MESSAGE_DIALOG = "Mylyn Trac Client"; public static final String NEW_BUG_EDITOR_ID = PLUGIN_ID + ".newBugEditor"; diff --git a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor/BrowserFormPage.java b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor/BrowserFormPage.java index 3dc7a0dea..86ea74b7c 100644 --- a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor/BrowserFormPage.java +++ b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor/BrowserFormPage.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor/NewTracTaskEditor.java b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor/NewTracTaskEditor.java index 1537ee13b..91b2c7453 100644 --- a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor/NewTracTaskEditor.java +++ b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor/NewTracTaskEditor.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor/TracTaskEditor.java b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor/TracTaskEditor.java index 613b60a46..d59c35a40 100644 --- a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor/TracTaskEditor.java +++ b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor/TracTaskEditor.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor/TracTaskEditorFactory.java b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor/TracTaskEditorFactory.java index 1e03b4e35..cf451193a 100644 --- a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor/TracTaskEditorFactory.java +++ b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor/TracTaskEditorFactory.java @@ -1,10 +1,11 @@ /******************************************************************************* - * Copyright (c) 2004 - 2006 Mylar committers and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html *******************************************************************************/ + package org.eclipse.mylyn.internal.trac.ui.editor; import org.eclipse.jface.resource.ImageDescriptor; diff --git a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/wizard/EditTracQueryWizard.java b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/wizard/EditTracQueryWizard.java index ddb0835f4..fe0b89b0a 100644 --- a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/wizard/EditTracQueryWizard.java +++ b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/wizard/EditTracQueryWizard.java @@ -1,12 +1,9 @@ /******************************************************************************* - * Copyright (c) 2006 - 2006 Mylar eclipse.org project and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Mylar project committers - initial API and implementation *******************************************************************************/ package org.eclipse.mylyn.internal.trac.ui.wizard; diff --git a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/wizard/NewTracQueryWizard.java b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/wizard/NewTracQueryWizard.java index 8665097c6..46e7bd8c4 100644 --- a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/wizard/NewTracQueryWizard.java +++ b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/wizard/NewTracQueryWizard.java @@ -1,12 +1,9 @@ /******************************************************************************* - * Copyright (c) 2006 - 2006 Mylar eclipse.org project and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Mylar project committers - initial API and implementation *******************************************************************************/ package org.eclipse.mylyn.internal.trac.ui.wizard; 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 1cdf91df5..96d998c66 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 @@ -1,12 +1,9 @@ /******************************************************************************* - * Copyright (c) 2006 - 2006 Mylar eclipse.org project and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Mylar project committers - initial API and implementation *******************************************************************************/ package org.eclipse.mylyn.internal.trac.ui.wizard; 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 6de67622f..15854b978 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 @@ -1,12 +1,9 @@ /******************************************************************************* - * Copyright (c) 2006 - 2006 Mylar eclipse.org project and others. + * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Mylar project committers - initial API and implementation *******************************************************************************/ package org.eclipse.mylyn.internal.trac.ui.wizard; |