[jira] Updated: (NANO-31) PicoGui : a contribution

jira-yCVjj/[email protected] Tue, 25 Nov 2003 04:47:55 -0600 (CST)
Newsgroups gmane.comp.java.nanocontainer.devel
Message-ID <[email protected]>
The following issue has been updated:

    Updater: Laurent Etiemble (mailto:[email protected])
       Date: Tue, 25 Nov 2003 4:46 AM
    Comment:
To make it usable on both Windows/Linux/Mac, the user interaction is pretty weird (maybe not) :
- click to select a node. The node will have its color changed
- double-click to zoom/unzoom a node. The view will be centered on node.

Enjoy.

    Changes:
             Attachment changed to gui.jar
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=NANO-31&page=history

---------------------------------------------------------------------
View the issue:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=NANO-31


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: NANO-31
    Summary: PicoGui : a contribution
       Type: Improvement

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: NanoContainer

   Assignee: Aslak Hellesoy
   Reporter: Laurent Etiemble

    Created: Sun, 2 Nov 2003 5:58 PM
    Updated: Tue, 25 Nov 2003 4:46 AM
Environment: Win 2K
JDK 1.4.1
Eclipse 3.0.0M4 (for SWT)
Pico 1.0 beta 3


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.



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira