Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.0-beta-4
-
Component/s: PicoContainer (Java)
-
Labels:None
-
Environment:Win 2K
JDK 1.4.1
Eclipse 3.0.0M4 (for SWT)
Pico 1.0 beta 3
-
Number of attachments :
Description
Hi,
I have (re)created from scratch a new version of PicoGui. My goal was to provide the same user experience on both Swing and SWT : I have developped a same sample application in Swing and in SWT.
The sample application provides the following :
- a "tree-view"/"property panel" of a PicoContainer.
- the tree view is able to dive into PicoContainer hierachy. It displays child container and object instances in the container.
- the property panel enables the edition of writable property of object instances inside a container. I put a restriction on it : the type of the property must have a PropertyEditor to be editable.
In the future, it will be pretty easy to add some action like : add child, remove child, add instance, remove instance. I didn't do it for the moment as this submission is a proof of concept.
I will join a jar that contains both source and binaries.
To run the sample application on Swing, Pico jar is required on the classpath.
Ex : java -cp pico-xxx.jar;gui.jar test.org.picocontainer.gui.swing.TreePanelTest
To run the sample application on SWT, boot.jar, runtime.jar, jface.jar and swt.jar are required on classpath. The SWT JNI library is alos required :
java -Djava.library.path=/place/to/jni/libs -cp boot.jar;runtime.jar;jface.jar;swt.jar;gui.jar test.org.picocontainer.gui.swt.TreePanelTest
Laurent.
Activity
Field | Original Value | New Value |
---|---|---|
Attachment | gui.jar [ 10991 ] |
Status | Unassigned [ 1 ] | Assigned [ 2 ] |
Assignee | Aslak Hellesoy [ rinkrank ] |
Attachment | gui.jar [ 11057 ] |
Status | Open [ 1 ] | Closed [ 6 ] |
Resolution | Fixed [ 1 ] |
The source and binaries.