ISIS-928: further tiny tweaks to todoapp example & archetype.

Project: http://git-wip-us.apache.org/repos/asf/isis/repo
Commit: http://git-wip-us.apache.org/repos/asf/isis/commit/41e608bb
Tree: http://git-wip-us.apache.org/repos/asf/isis/tree/41e608bb
Diff: http://git-wip-us.apache.org/repos/asf/isis/diff/41e608bb

Branch: refs/heads/master
Commit: 41e608bbb806d223780963f1e922940269e447a9
Parents: 60c5e04
Author: Dan Haywood <[email protected]>
Authored: Tue Nov 18 14:16:25 2014 +0100
Committer: Dan Haywood <[email protected]>
Committed: Tue Nov 18 14:16:25 2014 +0100

----------------------------------------------------------------------
 .../todoapp/dom/src/main/java/dom/todo/ToDoItem.java      | 10 +++++-----
 .../dom/src/main/java/dom/todo/ToDoItem.layout.json       |  1 -
 .../dom/src/main/java/dom/todo/ToDoItem.java              | 10 +++++-----
 .../dom/src/main/java/dom/todo/ToDoItem.layout.json       |  1 -
 4 files changed, 10 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/isis/blob/41e608bb/example/application/todoapp/dom/src/main/java/dom/todo/ToDoItem.java
----------------------------------------------------------------------
diff --git 
a/example/application/todoapp/dom/src/main/java/dom/todo/ToDoItem.java 
b/example/application/todoapp/dom/src/main/java/dom/todo/ToDoItem.java
index 0adcbc4..f3b72be 100644
--- a/example/application/todoapp/dom/src/main/java/dom/todo/ToDoItem.java
+++ b/example/application/todoapp/dom/src/main/java/dom/todo/ToDoItem.java
@@ -513,9 +513,9 @@ public class ToDoItem implements Categorized, 
Comparable<ToDoItem> {
     public ToDoItem add(
             @TypicalLength(20)
             final ToDoItem toDoItem) {
-       // By wrapping the call, Isis will detect that the collection is 
modified 
-       // and it will automatically send CollectionInteractionEvents to the 
Event Bus.
-       // ToDoItemSubscriptions is a demo subscriber to this event
+        // By wrapping the call, Isis will detect that the collection is 
modified
+        // and it will automatically send CollectionInteractionEvents to the 
Event Bus.
+        // ToDoItemSubscriptions is a demo subscriber to this event
         wrapperFactory.wrapSkipRules(this).addToDependencies(toDoItem);
         return this;
     }
@@ -546,8 +546,8 @@ public class ToDoItem implements Categorized, 
Comparable<ToDoItem> {
     public ToDoItem remove(
             @TypicalLength(20)
             final ToDoItem toDoItem) {
-       // By wrapping the call, Isis will detect that the collection is 
modified 
-       // and it will automatically send a CollectionInteractionEvent to the 
Event Bus.
+        // By wrapping the call, Isis will detect that the collection is 
modified
+        // and it will automatically send a CollectionInteractionEvent to the 
Event Bus.
         // ToDoItemSubscriptions is a demo subscriber to this event
         wrapperFactory.wrapSkipRules(this).removeFromDependencies(toDoItem);
         return this;

http://git-wip-us.apache.org/repos/asf/isis/blob/41e608bb/example/application/todoapp/dom/src/main/java/dom/todo/ToDoItem.layout.json
----------------------------------------------------------------------
diff --git 
a/example/application/todoapp/dom/src/main/java/dom/todo/ToDoItem.layout.json 
b/example/application/todoapp/dom/src/main/java/dom/todo/ToDoItem.layout.json
index 4ad0a90..9f8fb30 100644
--- 
a/example/application/todoapp/dom/src/main/java/dom/todo/ToDoItem.layout.json
+++ 
b/example/application/todoapp/dom/src/main/java/dom/todo/ToDoItem.layout.json
@@ -26,7 +26,6 @@
                         "labelAt": { "value": "TOP" }
                     },
                     "category": {
-                        "named": { "value": "Category/subcategory" },
                         "labelAt": { "value": "TOP" }
                     },
                     "subcategory": {

http://git-wip-us.apache.org/repos/asf/isis/blob/41e608bb/example/archetype/todoapp/src/main/resources/archetype-resources/dom/src/main/java/dom/todo/ToDoItem.java
----------------------------------------------------------------------
diff --git 
a/example/archetype/todoapp/src/main/resources/archetype-resources/dom/src/main/java/dom/todo/ToDoItem.java
 
b/example/archetype/todoapp/src/main/resources/archetype-resources/dom/src/main/java/dom/todo/ToDoItem.java
index 7166451..fb006cb 100644
--- 
a/example/archetype/todoapp/src/main/resources/archetype-resources/dom/src/main/java/dom/todo/ToDoItem.java
+++ 
b/example/archetype/todoapp/src/main/resources/archetype-resources/dom/src/main/java/dom/todo/ToDoItem.java
@@ -516,9 +516,9 @@ public class ToDoItem implements Categorized, 
Comparable<ToDoItem> {
     public ToDoItem add(
             @TypicalLength(20)
             final ToDoItem toDoItem) {
-       // By wrapping the call, Isis will detect that the collection is 
modified 
-       // and it will automatically send CollectionInteractionEvents to the 
Event Bus.
-       // ToDoItemSubscriptions is a demo subscriber to this event
+        // By wrapping the call, Isis will detect that the collection is 
modified
+        // and it will automatically send CollectionInteractionEvents to the 
Event Bus.
+        // ToDoItemSubscriptions is a demo subscriber to this event
         wrapperFactory.wrapSkipRules(this).addToDependencies(toDoItem);
         return this;
     }
@@ -549,8 +549,8 @@ public class ToDoItem implements Categorized, 
Comparable<ToDoItem> {
     public ToDoItem remove(
             @TypicalLength(20)
             final ToDoItem toDoItem) {
-       // By wrapping the call, Isis will detect that the collection is 
modified 
-       // and it will automatically send a CollectionInteractionEvent to the 
Event Bus.
+        // By wrapping the call, Isis will detect that the collection is 
modified
+        // and it will automatically send a CollectionInteractionEvent to the 
Event Bus.
         // ToDoItemSubscriptions is a demo subscriber to this event
         wrapperFactory.wrapSkipRules(this).removeFromDependencies(toDoItem);
         return this;

http://git-wip-us.apache.org/repos/asf/isis/blob/41e608bb/example/archetype/todoapp/src/main/resources/archetype-resources/dom/src/main/java/dom/todo/ToDoItem.layout.json
----------------------------------------------------------------------
diff --git 
a/example/archetype/todoapp/src/main/resources/archetype-resources/dom/src/main/java/dom/todo/ToDoItem.layout.json
 
b/example/archetype/todoapp/src/main/resources/archetype-resources/dom/src/main/java/dom/todo/ToDoItem.layout.json
index 4ad0a90..9f8fb30 100644
--- 
a/example/archetype/todoapp/src/main/resources/archetype-resources/dom/src/main/java/dom/todo/ToDoItem.layout.json
+++ 
b/example/archetype/todoapp/src/main/resources/archetype-resources/dom/src/main/java/dom/todo/ToDoItem.layout.json
@@ -26,7 +26,6 @@
                         "labelAt": { "value": "TOP" }
                     },
                     "category": {
-                        "named": { "value": "Category/subcategory" },
                         "labelAt": { "value": "TOP" }
                     },
                     "subcategory": {

Reply via email to