\n/.metadata/.plugins/org.eclipse.core.resources/.history/f8/1093fc4614e500111fc4d64b539281c3 - RSS feed" href="/view?p=everfolder/source.git;a=rss;f=source/workspace%0A/.metadata/.plugins/org.eclipse.core.resources/.history/f8/1093fc4614e500111fc4d64b539281c3" type="application/rss+xml" /> \n/.metadata/.plugins/org.eclipse.core.resources/.history/f8/1093fc4614e500111fc4d64b539281c3 - RSS feed (no merges)" href="/view?p=everfolder/source.git;a=rss;f=source/workspace%0A/.metadata/.plugins/org.eclipse.core.resources/.history/f8/1093fc4614e500111fc4d64b539281c3;opt=--no-merges" type="application/rss+xml" /> \n/.metadata/.plugins/org.eclipse.core.resources/.history/f8/1093fc4614e500111fc4d64b539281c3 - Atom feed" href="/view?p=everfolder/source.git;a=atom;f=source/workspace%0A/.metadata/.plugins/org.eclipse.core.resources/.history/f8/1093fc4614e500111fc4d64b539281c3" type="application/atom+xml" /> \n/.metadata/.plugins/org.eclipse.core.resources/.history/f8/1093fc4614e500111fc4d64b539281c3 - Atom feed (no merges)" href="/view?p=everfolder/source.git;a=atom;f=source/workspace%0A/.metadata/.plugins/org.eclipse.core.resources/.history/f8/1093fc4614e500111fc4d64b539281c3;opt=--no-merges" type="application/atom+xml" />

OSDN Git Service

INIT
[everfolder/source.git] / source / workspace\n / .metadata / .plugins / org.eclipse.core.resources / .history / f8 / 1093fc4614e500111fc4d64b539281c3
1 package com.yuji.ef.task;
2
3 import java.lang.ref.WeakReference;
4
5 import com.yuji.ef.SettingActivity;
6 import com.yuji.ef.utility.AsyncTaskIF;
7
8 public class NoteUpdateTask implements AsyncTaskIF {
9         private WeakReference<SettingActivity> activityRef;
10         private int errorCode = -1;
11         
12         public NoteUpdateTask(SettingActivity activity) {
13                 activityRef = new WeakReference<SettingActivity>(activity);
14         }
15
16         public void doExecute() {
17
18         }
19
20         public void cancel() {
21
22         }
23
24         public void done(boolean isCancel) {
25                 SettingActivity activity = activityRef.get();
26                 if (activity != null) {
27                         activity.done(errorCode);
28                         activityRef = null;
29                 }
30         }
31
32         @Override
33         public int getStatus() {
34                 // TODO
35                 return 0;
36         }
37 }