summaryrefslogtreecommitdiff
path: root/projects/net.wotonomy.ui/src/main/java/net/wotonomy/ui/DebuggingDelegate.java
diff options
context:
space:
mode:
authorBenjamin Culkin <scorpress@gmail.com>2024-07-08 17:30:58 -0400
committerBenjamin Culkin <scorpress@gmail.com>2024-07-08 17:30:58 -0400
commit9c681f38b742b26b841eb42bc19879cb90ac03de (patch)
tree6c1b9eb1971629cc3c42bae3bff9fd930d4af11c /projects/net.wotonomy.ui/src/main/java/net/wotonomy/ui/DebuggingDelegate.java
parent6d46c473d41c6c47e6b8bd8c676d925e544bd378 (diff)
Add XML property lists
Implement support for the XML property lists that are the newer version of the ASCII ones. There are a few things that still need to be done, but all of the basics are there Next things - Allow collapsing a property list into a series of objects - Serialize both the property list and flattened objects to XML
Diffstat (limited to 'projects/net.wotonomy.ui/src/main/java/net/wotonomy/ui/DebuggingDelegate.java')
-rw-r--r--projects/net.wotonomy.ui/src/main/java/net/wotonomy/ui/DebuggingDelegate.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/projects/net.wotonomy.ui/src/main/java/net/wotonomy/ui/DebuggingDelegate.java b/projects/net.wotonomy.ui/src/main/java/net/wotonomy/ui/DebuggingDelegate.java
index 3512c2a..a09df1e 100644
--- a/projects/net.wotonomy.ui/src/main/java/net/wotonomy/ui/DebuggingDelegate.java
+++ b/projects/net.wotonomy.ui/src/main/java/net/wotonomy/ui/DebuggingDelegate.java
@@ -101,7 +101,7 @@ public class DebuggingDelegate implements EODisplayGroup.Delegate {
* @return An NSArray containing the objects to be displayed for the objects in
* the specified list.
*/
- public NSArray displayGroupDisplayArrayForObjects(EODisplayGroup aDisplayGroup, List aList) {
+ public <T> NSArray<T> displayGroupDisplayArrayForObjects(EODisplayGroup aDisplayGroup, List<T> aList) {
return get("displayGroupDisplayArrayForObjects", aDisplayGroup, aList);
}
@@ -155,7 +155,7 @@ public class DebuggingDelegate implements EODisplayGroup.Delegate {
* insertion.
*/
public boolean displayGroupShouldInsertObject(EODisplayGroup aDisplayGroup, Object anObject, int anIndex) {
- return ask("displayGroupShouldInsertObject", aDisplayGroup, new Object[] { anObject, new Integer(anIndex) });
+ return ask("displayGroupShouldInsertObject", aDisplayGroup, new Object[] { anObject, Integer.valueOf(anIndex) });
}
/**
@@ -190,9 +190,9 @@ public class DebuggingDelegate implements EODisplayGroup.Delegate {
* This method is called by displayGroupDisplayArrayForObjects. This
* implementation calls report and returns a copy of the specified list.
*/
- protected NSArray get(String aTitle, EODisplayGroup aDisplayGroup, List anObjectList) {
+ protected <T> NSArray<T> get(String aTitle, EODisplayGroup aDisplayGroup, List<T> anObjectList) {
report(aTitle, aDisplayGroup, new Object[] { anObjectList });
- return new NSArray(anObjectList);
+ return new NSArray<>(anObjectList);
}
/**