summaryrefslogtreecommitdiff
path: root/wizards
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2004-05-19 12:22:01 +0000
committerKurt Zenker <kz@openoffice.org>2004-05-19 12:22:01 +0000
commit0af76ed39a663a40e039b3b6d8ba7b28fc9a21ae (patch)
treea6ce7c4c33fa8d1b953a3306f45d98e82dcab37a /wizards
parentb6a118d0a9d9b5cfd77d26a3e291abeeee13c89a (diff)
INTEGRATION: CWS qwizards1 (1.1.2); FILE ADDED
2004/03/12 16:17:02 rpiterman 1.1.2.2: documentation and small implementation-fixes 2003/11/05 14:13:37 rpiterman 1.1.2.1: An Event Object representing changes in the status of a Task object
Diffstat (limited to 'wizards')
-rw-r--r--wizards/com/sun/star/wizards/web/status/TaskEvent.java43
1 files changed, 43 insertions, 0 deletions
diff --git a/wizards/com/sun/star/wizards/web/status/TaskEvent.java b/wizards/com/sun/star/wizards/web/status/TaskEvent.java
new file mode 100644
index 000000000000..549c826d388b
--- /dev/null
+++ b/wizards/com/sun/star/wizards/web/status/TaskEvent.java
@@ -0,0 +1,43 @@
+/*
+ * Created on 04.11.2003
+ *
+ * To change the template for this generated file go to
+ * Window>Preferences>Java>Code Generation>Code and Comments
+ */
+package com.sun.star.wizards.web.status;
+
+import java.util.EventObject;
+
+/**
+ * @author rpiterman
+ *
+ * To change the template for this generated type comment go to
+ * Window>Preferences>Java>Code Generation>Code and Comments
+ */
+public class TaskEvent extends EventObject {
+
+ public static final int TASK_STARTED = 1;
+ public static final int TASK_FINISHED = 2;
+ public static final int TASK_STATUS_CHANGED = 3;
+ public static final int SUBTASK_NAME_CHANGED = 4;
+
+ private int type;
+
+ /**
+ * general constructor-
+ * @param source
+ * @param type_
+ * @param max_
+ * @param success_
+ * @param failed_
+ */
+ public TaskEvent(Task source, int type_) {
+ super(source);
+ type = type_;
+ }
+
+ public Task getTask() {
+ return (Task)getSource();
+ }
+
+}