Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [science-iwg] Eclipse Rich Beans proposal

Hi,

This is still unpublished and even logged-in committers don't see it.

Would be curious, the name suggests some kind of "Advanced JavaBeans", but what you mentioned (the example code is not realy helpful to understand what exactly it proposes, I'm afraid) sound more like a "UI Widget" proposal than the actual mechanism a'la JavaBeans...?

Werner 


On Tue, Jul 28, 2015 at 11:12 AM, <science-iwg-request@xxxxxxxxxxx> wrote:
Send science-iwg mailing list submissions to
        science-iwg@xxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
        https://dev.eclipse.org/mailman/listinfo/science-iwg
or, via email, send a message with subject or body 'help' to
        science-iwg-request@xxxxxxxxxxx

You can reach the person managing the list at
        science-iwg-owner@xxxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of science-iwg digest..."


Today's Topics:

   1. Re: Gap analysis of JAI and ImageJ? (Christopher Brooks)
   2. Re: Gap analysis of JAI and ImageJ? (Rob Emanuele)
   3. Eclipse Rich Beans proposal (Matt.Gerring@xxxxxxxxxxxxx)


----------------------------------------------------------------------

Message: 1
Date: Mon, 27 Jul 2015 14:46:15 -0400
From: Christopher Brooks <cxh@xxxxxxxxxxxxxxxxx>
To: Science Industry Working Group <science-iwg@xxxxxxxxxxx>
Subject: Re: [science-iwg] Gap analysis of JAI and ImageJ?
Message-ID: <55B67C77.5070708@xxxxxxxxxxxxxxxxx>
Content-Type: text/plain; charset="windows-1252"; Format="flowed"

I have no formal gap analysis, but below are some data points:

JAI seems stagnant, it was moved over to java.net, but I have not seen
much activity.

ImageJ is active.

Ptolemy has JAI actors:
http://ptolemy.eecs.berkeley.edu/ptolemyII/ptII10.0/ptII/doc/codeDoc/ptolemy/actor/lib/jai/package-summary.html

Kepler has ImageJ actors.

Recently, we started looking at an image processing library:
http://www.jhlabs.com/ip/

One issue is that JAI did not have obvious support for blurring or
motion capture.

_Christopher

On 7/25/15 4:14 PM, Jay Jay Billings wrote:
> Has anyone ever performed a gap analysis of the Java Advanced Imaging
> library (JAI) and ImageJ?
>
> http://www.oracle.com/technetwork/articles/javaee/jai-142803.html
> http://imagej.nih.gov/ij/
>
> Jay
>
> --
> Jay Jay Billings
> Oak Ridge National Laboratory
> Twitter Handle: @jayjaybillings
>
>
> _______________________________________________
> science-iwg mailing list
> science-iwg@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/science-iwg

--
Christopher Brooks, PMP                       University of California
Academic Program Manager & Software Engineer  US Mail: 337 Cory Hall
CHESS/iCyPhy/Ptolemy/TerraSwarm               Berkeley, CA 94720-1774
cxh@xxxxxxxxxxxxxxxxx, 707.332.0670           (Office: 545Q Cory)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dev.eclipse.org/mailman/private/science-iwg/attachments/20150727/7bf6234b/attachment.html>

------------------------------

Message: 2
Date: Mon, 27 Jul 2015 15:44:28 -0400
From: Rob Emanuele <rdemanuele@xxxxxxxxx>
To: Science Industry Working Group <science-iwg@xxxxxxxxxxx>
Subject: Re: [science-iwg] Gap analysis of JAI and ImageJ?
Message-ID:
        <CAFPWJ6e+LDQVG1sREuZ7K0DFeKOZeVUfkpOLpt8nTfkRaO76tQ@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset="utf-8"

Not sure if this would have anything you need, but have you taken a look at
Twelve Monkeys? https://github.com/haraldk/TwelveMonkeys

There's a scala image library that has a bunch of filter support that's
based on Twelve Monkeys: https://github.com/sksamuel/scrimage

On Mon, Jul 27, 2015 at 2:46 PM, Christopher Brooks <cxh@xxxxxxxxxxxxxxxxx>
wrote:

>  I have no formal gap analysis, but below are some data points:
>
> JAI seems stagnant, it was moved over to java.net, but I have not seen
> much activity.
>
> ImageJ is active.
>
> Ptolemy has JAI actors:
> http://ptolemy.eecs.berkeley.edu/ptolemyII/ptII10.0/ptII/doc/codeDoc/ptolemy/actor/lib/jai/package-summary.html
>
> Kepler has ImageJ actors.
>
> Recently, we started looking at an image processing library:
> http://www.jhlabs.com/ip/
>
> One issue is that JAI did not have obvious support for blurring or motion
> capture.
>
> _Christopher
>
>
> On 7/25/15 4:14 PM, Jay Jay Billings wrote:
>
>  Has anyone ever performed a gap analysis of the Java Advanced Imaging
> library (JAI) and ImageJ?
>
> http://www.oracle.com/technetwork/articles/javaee/jai-142803.html
> http://imagej.nih.gov/ij/
>
>  Jay
>
> --
>  Jay Jay Billings
> Oak Ridge National Laboratory
> Twitter Handle: @jayjaybillings
>
>
> _______________________________________________
> science-iwg mailing listscience-iwg@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visithttps://dev.eclipse.org/mailman/listinfo/science-iwg
>
>
> --
> Christopher Brooks, PMP                       University of California
> Academic Program Manager & Software Engineer  US Mail: 337 Cory Hall
> CHESS/iCyPhy/Ptolemy/TerraSwarm               Berkeley, CA 94720-1774cxh@xxxxxxxxxxxxxxxxx, 707.332.0670           (Office: 545Q Cory)
>
>
> _______________________________________________
> science-iwg mailing list
> science-iwg@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/science-iwg
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dev.eclipse.org/mailman/private/science-iwg/attachments/20150727/d676074a/attachment.html>

------------------------------

Message: 3
Date: Tue, 28 Jul 2015 09:12:22 +0000
From: <Matt.Gerring@xxxxxxxxxxxxx>
To: <science-iwg@xxxxxxxxxxx>
Subject: [science-iwg] Eclipse Rich Beans proposal
Message-ID:
        <14159819E27EDC41968035052B165F668D870778@xxxxxxxxxxxxxxxxxxxxxxxxx>
Content-Type: text/plain; charset="us-ascii"

Hello,

We (Diamond guys) are thinking of releasing the widget library we use for parts of DAWN and GDA as a separate eclipse project. It features automatic data binding using reflection and has scientific widgets for editing bean trees. We are currently adding on-the-fly generation by linking to a library called metawidgets. I have not submitted the proposal yet (maybe next week), but it is here:

https://projects.eclipse.org/proposals/eclipse-rich-beans

My question is what do you think? I suspect you will find this project more intuitive to understand than what DAWNSci does! I know this kind of thing already exists in Eclipse but it is an ecosystem after all and not a monoculture:)

To put its point over positively; the API is, I think, simple to use, has better widgets for science and is fast for huge field lists. So even though it is a minnow in the world of models and data binding, it has some strong points.

Matt

And some screenshots from the examples (not very jazzy, there are some nicer widgets). These ones sync to JSON but obviously exporting the beans to a specific format is a detail the library is agnostic to:
UI

BEAN GRAPH

[cid:image001.png@01D0C55B.B85701B0]

public class ExampleBean {

       private List<ExampleItem> items;
//...

public class ExampleItem {

       public enum ItemChoice {
             XY, POLAR;

             public static Map<String, ItemChoice> names() {
                    final Map<String,ItemChoice> ret = new HashMap<String,ItemChoice>(2);
                    ret.put("X-Y Graph", XY);
                    ret.put("Polar",     POLAR);
                    return ret;
             }
       }

       private String     itemName;
       private ItemChoice choice = ItemChoice.XY;
       private Double x,y;
       private double r,theta;
//...

[cid:image004.jpg@01D0C55E.DDD7CED0]

public class ExampleBean {

       private List<ExampleItem> items;

//...

public class ExampleItem {

       private String     itemName;
       private ItemChoice choice = ItemChoice.XY;
       private Double x,y;
       private double r,theta;

       private List<OptionItem> options;

//...

public class OptionItem {

    private String optionName;
       private boolean showAxes, showTitle, showLegend, showData;
       private static int count = 0;

//...

[cid:image003.png@01D0C55D.2AEF9880]

So more than 200,000 fields are linked and editable with in speedy fashion!

public class ExampleBean {

       private List<ExampleItem> items;

//... Example has 2000 items


public class ExampleItem {

       private String     itemName;
       private ItemChoice choice = ItemChoice.XY;
       private Double x,y;
       private double r,theta;

       private double d0, d1,d2,d3,d4,d5,d6,d7,d8, d9;
       private double d10, d11,d12,d13,d14,d15,d16,d17,d18, d19;
       private double d20, d21,d22,d23,d24,d25,d26,d27,d28, d29;
       private double d30, d31,d32,d33,d34,d35,d36,d37,d38, d39;
       private double d40, d41,d42,d43,d44,d45,d46,d47,d48, d49;
       private double d50, d51,d52,d53,d54,d55,d56,d57,d58, d59;
       private double d60, d61,d62,d63,d64,d65,d66,d67,d68, d69;
       private double d70, d71,d72,d73,d74,d75,d76,d77,d78, d79;
       private double d80, d81,d82,d83,d84,d85,d86,d87,d88, d89;
       private double d90, d91,d92,d93,d94,d95,d96,d97,d98, d99;

//... Example has 100 fields






--
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dev.eclipse.org/mailman/private/science-iwg/attachments/20150728/f353c231/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 40133 bytes
Desc: image001.png
URL: <https://dev.eclipse.org/mailman/private/science-iwg/attachments/20150728/f353c231/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 59969 bytes
Desc: image002.jpg
URL: <https://dev.eclipse.org/mailman/private/science-iwg/attachments/20150728/f353c231/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 57363 bytes
Desc: image003.png
URL: <https://dev.eclipse.org/mailman/private/science-iwg/attachments/20150728/f353c231/attachment-0001.png>

------------------------------

_______________________________________________
science-iwg mailing list
science-iwg@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/science-iwg

End of science-iwg Digest, Vol 30, Issue 22
*******************************************


Back to the top