diff --git a/app/src/main/java/org/cutem/cutecalendar/presenter/CalendarUnit.java b/app/src/main/java/org/cutem/cutecalendar/presenter/CalendarUnit.java index fb96843..7f3f12c 100644 --- a/app/src/main/java/org/cutem/cutecalendar/presenter/CalendarUnit.java +++ b/app/src/main/java/org/cutem/cutecalendar/presenter/CalendarUnit.java @@ -1,5 +1,8 @@ package org.cutem.cutecalendar.presenter; +/** + * @author hlq07 + */ public class CalendarUnit { public static final int TODAY_FLAG = 1; diff --git a/app/src/main/java/org/cutem/cutecalendar/presenter/NewTodoItemStage.java b/app/src/main/java/org/cutem/cutecalendar/presenter/NewTodoItemStage.java index 4427dbf..9f2028c 100644 --- a/app/src/main/java/org/cutem/cutecalendar/presenter/NewTodoItemStage.java +++ b/app/src/main/java/org/cutem/cutecalendar/presenter/NewTodoItemStage.java @@ -17,6 +17,7 @@ import java.net.URL; import java.util.ResourceBundle; +@Deprecated public class NewTodoItemStage implements Initializable { private ChoiceBox typeChoicebox; private TextField titleInput; @@ -46,7 +47,6 @@ public class NewTodoItemStage implements Initializable { addStage.setTitle("Add a Todo Item"); - ObservableList ways = FXCollections.observableArrayList(); ways.add("Conference"); ways.add("Dates"); @@ -183,4 +183,4 @@ public class NewTodoItemStage implements Initializable { } - } +} diff --git a/app/src/main/java/org/cutem/cutecalendar/presenter/NewTodoItemStrategy.java b/app/src/main/java/org/cutem/cutecalendar/presenter/NewTodoItemStrategy.java index 1b57382..b2caa23 100644 --- a/app/src/main/java/org/cutem/cutecalendar/presenter/NewTodoItemStrategy.java +++ b/app/src/main/java/org/cutem/cutecalendar/presenter/NewTodoItemStrategy.java @@ -17,6 +17,9 @@ import org.jetbrains.annotations.NotNull; import java.io.IOException; +/** + * @author akasakaisami + */ public class NewTodoItemStrategy { private static final String FXML_FILE = "fxml/addTodoItemStage.fxml"; private Parent root; diff --git a/app/src/main/java/org/cutem/cutecalendar/presenter/Presenter.java b/app/src/main/java/org/cutem/cutecalendar/presenter/Presenter.java index ccc2c0b..082f070 100644 --- a/app/src/main/java/org/cutem/cutecalendar/presenter/Presenter.java +++ b/app/src/main/java/org/cutem/cutecalendar/presenter/Presenter.java @@ -10,25 +10,18 @@ import java.util.ArrayList; import java.util.Calendar; import java.util.List; +/** + * @author hlq07 + */ public abstract class Presenter { private static Object LOCK = new Object(); private TodoItemManager manager = TodoItemManager.getInstance(); - - /** - * @author hlq - */ protected abstract Calendar getCalendarShowingDate(); - /** - * @author lyq - */ protected abstract void showTodoItemDetail(TodoItem item); - /** - * @author akasakaisami - */ protected abstract void showNewTodoItemStage(); private void save() { @@ -54,10 +47,6 @@ public abstract class Presenter { save(); } - - /** - * @author hlq - */ protected abstract void paintCalendar(@NotNull Calendar date, @NotNull List days); public final void paintCalendar(@NotNull Calendar date) { @@ -91,9 +80,6 @@ public abstract class Presenter { paintCalendar(date, days); } - /** - * @author tintin - */ protected abstract void listTodoItems(List items); protected final void listTodoItemDuring(Calendar from, Calendar to) { diff --git a/app/src/main/java/org/cutem/cutecalendar/presenter/PresenterSimpleImpl.java b/app/src/main/java/org/cutem/cutecalendar/presenter/PresenterSimpleImpl.java index 97844d8..7610b96 100644 --- a/app/src/main/java/org/cutem/cutecalendar/presenter/PresenterSimpleImpl.java +++ b/app/src/main/java/org/cutem/cutecalendar/presenter/PresenterSimpleImpl.java @@ -7,6 +7,9 @@ import org.jetbrains.annotations.NotNull; import java.util.Calendar; import java.util.List; +/** + * @author hlq07 + */ public class PresenterSimpleImpl extends Presenter { private ListTodoItemsStrategy mListStrategy; diff --git a/app/src/main/java/org/cutem/cutecalendar/presenter/ShowTodoItemDetailStrategy.java b/app/src/main/java/org/cutem/cutecalendar/presenter/ShowTodoItemDetailStrategy.java index ce2e7c9..db0a0bc 100644 --- a/app/src/main/java/org/cutem/cutecalendar/presenter/ShowTodoItemDetailStrategy.java +++ b/app/src/main/java/org/cutem/cutecalendar/presenter/ShowTodoItemDetailStrategy.java @@ -11,6 +11,9 @@ import org.cutem.cutecalendar.model.TodoItem; import org.cutem.cutecalendar.util.CalendarUtil; import org.jetbrains.annotations.NotNull; +/** + * @author lyq + */ public class ShowTodoItemDetailStrategy { private Stage mStage; @@ -121,5 +124,4 @@ public class ShowTodoItemDetailStrategy { } - }