Permalink
Browse files

Add Task identity capability

  • Loading branch information...
twschiller committed Nov 7, 2013
1 parent 3dc6311 commit ca36c570daec762a8746b6ff9fa28df4ff9bc194
Showing with 27 additions and 3 deletions.
  1. +1 −1 edu.washington.cs.cupid.mylyn.feature/feature.xml
  2. +1 −1 edu.washington.cs.cupid.mylyn/META-INF/MANIFEST.MF
  3. +22 −0 edu.washington.cs.cupid.mylyn/src/edu/washington/cs/cupid/mylyn/TaskCapability.java
  4. +2 −0 edu.washington.cs.cupid.mylyn/src/edu/washington/cs/cupid/mylyn/internal/Activator.java
  5. BIN snapshots/nightly/artifacts.jar
  6. BIN snapshots/nightly/content.jar
  7. BIN snapshots/nightly/features/edu.washington.cs.cupid.charts_1.3.1.v20131014-1030.jar
  8. BIN snapshots/nightly/features/edu.washington.cs.cupid.core_1.3.3.v20131106-1900.jar
  9. BIN snapshots/nightly/features/edu.washington.cs.cupid.editor_0.7.0.v20130921-2000.jar
  10. BIN snapshots/nightly/features/edu.washington.cs.cupid.egit_1.3.2.v20131030-1130.jar
  11. BIN snapshots/nightly/features/edu.washington.cs.cupid.hg_1.3.2.v20130921-2000.jar
  12. BIN snapshots/nightly/features/edu.washington.cs.cupid.license_1.0.0.jar
  13. BIN snapshots/nightly/features/edu.washington.cs.cupid.mapview_1.3.0.v20130818-2130.jar
  14. BIN snapshots/nightly/features/edu.washington.cs.cupid.markers_1.3.0.v20130725-1500.jar
  15. BIN snapshots/nightly/features/edu.washington.cs.cupid.mylyn_1.3.2.v20131106-1900.jar
  16. BIN snapshots/nightly/features/edu.washington.cs.cupid.mylyn_1.3.3.v20131106-2030.jar
  17. BIN snapshots/nightly/features/edu.washington.cs.cupid.plugins_1.3.4.v20131030-1130.jar
  18. BIN snapshots/nightly/plugins/edu.washington.cs.cupid.charts_1.3.1.v20131014-1030.jar
  19. BIN snapshots/nightly/plugins/edu.washington.cs.cupid.conditional_1.3.0.v20131014-1100.jar
  20. BIN snapshots/nightly/plugins/edu.washington.cs.cupid.editor_0.7.0.v20130921-2000.jar
  21. BIN snapshots/nightly/plugins/edu.washington.cs.cupid.egit_1.3.2.v20131030-1130.jar
  22. BIN snapshots/nightly/plugins/edu.washington.cs.cupid.hg_1.3.2.v20130921-2000.jar
  23. BIN snapshots/nightly/plugins/edu.washington.cs.cupid.jdt_1.3.0.v20130801-2120.jar
  24. BIN snapshots/nightly/plugins/edu.washington.cs.cupid.mapview_1.3.0.v20130818-2130.jar
  25. BIN snapshots/nightly/plugins/edu.washington.cs.cupid.markers_1.3.0.v20130725-1500.jar
  26. BIN ...cs.cupid.mylyn_1.3.2.v20131106-1900.jar → edu.washington.cs.cupid.mylyn_1.3.3.v20131106-2030.jar}
  27. BIN snapshots/nightly/plugins/edu.washington.cs.cupid.resources_1.3.0.v20130725-1500.jar
  28. BIN snapshots/nightly/plugins/edu.washington.cs.cupid.scripting.java_1.3.1.v20130809-2300.jar
  29. BIN snapshots/nightly/plugins/edu.washington.cs.cupid.usage_1.3.1.v20130813-1600.jar
  30. BIN snapshots/nightly/plugins/edu.washington.cs.cupid.wizards_1.3.3.v20131030-1130.jar
  31. BIN snapshots/nightly/plugins/edu.washington.cs.cupid_1.3.4.v20131106-1900.jar
  32. +1 −1 snapshots/nightly/site.xml
@@ -2,7 +2,7 @@
<feature
id="edu.washington.cs.cupid.mylyn"
label="Cupid Mylyn Capabilities"
version="1.3.2.v20131106-1900"
version="1.3.3.v20131106-2030"
provider-name="University of Washington PLSE"
plugin="edu.washington.cs.cupid"
license-feature="edu.washington.cs.cupid.license"
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Cupid Mylyn Capabilities
Bundle-SymbolicName: edu.washington.cs.cupid.mylyn;singleton:=true
Bundle-Version: 1.3.2.v20131106-1900
Bundle-Version: 1.3.3.v20131106-2030
Bundle-Activator: edu.washington.cs.cupid.mylyn.internal.Activator
Bundle-Vendor: University of Washington PLSE
Require-Bundle: org.eclipse.core.runtime,
@@ -0,0 +1,22 @@
package edu.washington.cs.cupid.mylyn;
import org.eclipse.mylyn.tasks.core.ITask;
import edu.washington.cs.cupid.capability.ICapability;
import edu.washington.cs.cupid.capability.linear.ImmediateJob;
import edu.washington.cs.cupid.capability.linear.LinearCapability;
import edu.washington.cs.cupid.capability.linear.LinearJob;
public class TaskCapability extends LinearCapability<ITask, ITask> {
public TaskCapability(){
super("Task (Identity)", "Returns the tasks itself, or the corresponding task",
ITask.class, ITask.class,
ICapability.Flag.PURE);
}
@Override
public LinearJob<ITask, ITask> getJob(ITask input) {
return new ImmediateJob<ITask, ITask>(this, input, input);
}
}
@@ -19,6 +19,7 @@
import edu.washington.cs.cupid.mylyn.ActiveContextCapability;
import edu.washington.cs.cupid.mylyn.InActiveContextCapability;
import edu.washington.cs.cupid.mylyn.MylynTaskCapability;
import edu.washington.cs.cupid.mylyn.TaskCapability;
import edu.washington.cs.cupid.mylyn.TaskCommentsCapability;
import edu.washington.cs.cupid.mylyn.TaskContextCapability;
import edu.washington.cs.cupid.mylyn.TaskFilter;
@@ -74,6 +75,7 @@ public void removeChangeListener(ICapabilityChangeListener listener) {
@Override
public ICapability[] publish() {
return new ICapability[]{
new TaskCapability(),
new TaskCommentsCapability(),
new MylynTaskCapability(),
new TaskContextCapability(),
Binary file not shown.
Binary file not shown.
@@ -27,7 +27,7 @@
<feature url="features/edu.washington.cs.cupid.core_1.3.3.v20131106-1900.jar" id="edu.washington.cs.cupid.core" version="1.3.3.v20131106-1900">
<category name="edu.washington.cs.cupid"/>
</feature>
<feature url="features/edu.washington.cs.cupid.mylyn_1.3.2.v20131106-1900.jar" id="edu.washington.cs.cupid.mylyn" version="1.3.2.v20131106-1900">
<feature url="features/edu.washington.cs.cupid.mylyn_1.3.3.v20131106-2030.jar" id="edu.washington.cs.cupid.mylyn" version="1.3.3.v20131106-2030">
<category name="edu.washington.cs.cupid.discover"/>
</feature>
<category-def name="edu.washington.cs.cupid" label="Cupid"/>

0 comments on commit ca36c57

Please sign in to comment.