Did you thought about submitting your Slider-implementation to Eclipse.
Simply open a bug against
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Platform&component=UI&short_desc=[Databinding]
Tom
I'm not very skilled when it comes to Swing (haven't done any Swing
code for ages :-)
because the JFace MVC fitted better into my way of think (not to
mention that Swing 4 years
ago looked so ugly).
We need to recheck how the Eclipse-Databinding guys implemented those
and have to find the Swing
counterpart. You could as well ask at the eclipse.platform-newsgroup
and I'm sure one of the databinding
gurus will explain it to you (else I ask one I know one of the core devs ;-).
As of now the implementation can't deal with the situation that
something happens out of the UI-Thread
(and I think swing also has such a beast, right?)
Tom
No need to hurry, still it would be great if you could contribute that up-stream
because this means we don't have to maintain it and those guys are really
helpful because they have indepth knowledge how SWT works :-)
Tom
BTW how about adding the use cases into the test directories inside
the different modules?
I noticed lots of files didn't have any license header - can we make
sure all files have the EPL header please? I'll try fix up the maven
build so it reports missing headers...
I've added a page on Contributing...
http://code.google.com/p/uface/wiki/Contributing
see the bit at the bottom on becoming a committer. Here's the
committer agreement we'd like folks to agree to on the list to get
karma on the project (which is basically the same as the Apache
one)...
http://code.google.com/p/uface/wiki/CommitterAgreement
this may seem heavy handed :) its just so that the project runs like
an Apache or Eclipse project; that committers basically agree that all
their work is donated to the project as EPL code, its their own work
and as no IP violations and stuff. This will make things easier if in
the future we decided to move some of the code into Eclipse or Apache
or whatever - plus it protects us all.
Is that OK with you Angelo? Do you agree with the committer agreement
- if so we can grant you karma on the project.
--
James
-------
http://macstrac.blogspot.com/
Open Source Integration
http://open.iona.com
Yeah - am just thinking its easier to write the code and tests
together in the same module. It'd be great to have JUnit tests too one
day... I guess we could do the bindings, change the model then inspect
the (say) Swing widgets to determine if its displaying the right
stuff?
> I have created User class model into each project. Perhaps it should b
> ebetter
> to have core usecases Eclipse Project (to define User model one time) and
> after each Eclipse project
> are linked to this project?
Yeah. There's org.ufacekit.ui.example which is used for the examples;
I guess we could have a core test module to define common domain
models and test classes which is only used to create the concrete test
classes in each UI module etc?
> >I noticed lots of files didn't have any license header - can we make
> >sure all files have the EPL header please? I'll try fix up the maven
> >build so it reports missing headers...
> Ok, I will change that. I'm sorry, I wanted to show my work but I have not
> finished to comment
> my class file.
No worries :). Was just thinking longer term.
> Sorry, but I will do that if I can contribute.
>
> > Is that OK with you Angelo? Do you agree with the committer agreement
> I would like help UFace project because into Tk-UI I need binding. I prefer
> work with UFace team to share our experience and idea than I develop my own
> databinding.
> So if I can use UFace code into Tk-UI and Akrogen (It's LGPL license for
> Tk-UI and GPL for Akrogen), I'm agree
> and I will happy to work with you.
>
> For me I will prefer have rights into SVN (to avoid create SVN patch), but
> if I understand that it's very dangerous for you and perhaps you prefer that
> I create SVN patch. Tell me how you want we work together. My only aim is to
> have a wonderfull binding :)
:)
We'd love to grant you full karma so you can commit directly to SVN.
We're just asking folks to agree to the committer agreement (which
basically says every commit is donated to the project as EPL licensed
and there's no known IP issues with any code - i.e. its your code to
donate). Again we're just thinking longer term here; if some day some
of the code needs to move to Apache or Eclipse; having these
agreements in place saves loads of time & effort later on.
Once folks agree to the committer agreement, we can grant you commit access.
So do you agree with the agreement - if so we can grant you a committer?
> If you want test TK-UI, tell me I could explain you how test it.
>
> I have start to write OpenOffice documentation which explain my idea about
> DBEL (Data Binding Expression Language). If you have time to read it (sorry
> for my bad English, I'm frensh), I would like have your opinion.
BTW do you fancy hacking up a wiki document instead?
http://code.google.com/p/uface/w/list
> The aim of DBEL is to manage DB with String (like MigLayout wher you can
> man,ag elayout with String).
> It will very usefull after to manage binding into XML UI (like XAML).
Yeah - I think some kind of data binding expression language could
really help; particularly as one day we could use some markup to
create layouts and do the binding all using something like HTML/XML or
something.
I can even imagine using a GWT generator to take the HTML markup and
generate some client side JavaScript that avoids having to parse the
HTML and the binding expression language on startup.
Yeah. Right now we have an examples project to show a demo of some UI.e.g.
useful example classes -
org.ufacekit.ui.example
GWT examples -
org.ufacekit.ui.gwt.example
org.ufacekit.ui.gwtext.example
org.ufacekit.ui.mygwt.example
The the swing and jface modules have examples in them (in the test area)
org.ufacekit.ui.jface
org.ufacekit.ui.swing
org.ufacekit.ui.swingx
I guess there's no reason why we couldn't have lots of little use case
/ examples in those projects. (The GWT modules are a tiny bit harder,
as we'll have a single entry point but need to put the examples in a
little tab or popup something)
So far the main reason I lumped use case/examples/test all together
into the test directory was to simplify the maven build. Maybe for use
cases we should split those into a separate project?
> If you set test source into project
> org.ufacekit.ui.swing.databinding
> and that test is linked with org.ufacekit.ui.example project (for Domain
> class...)
> You can use the org.ufacekit.ui.swing.databinding without
> samples.
> In my case, I would like use
> org.ufacekit.ui.swing.databinding project
> without sample to test it with Tk-UI.
Sounds good.
> Perhaps it shoud be better to have usecases/testscase project and
> org.ufacekit.ui.swing.databinding.usecases and source
> project
> org.ufacekit.ui.swing.databinding?
Yeah. I guess folks might want to reuse the usecases maybe? So a
separate module might make sense.
Given we've already got the *example modules, I wonder should we name
them org.ufacekit.ui.swing.databinding.example?
> > So do you agree with the agreement - if so we can grant you a committer?
> I 'm agree with this agreement
Awesome! :)
> , but EPL license can be used with LGPL or GPL
> license?
Yes! And Apache too.
> If I can use UFace source in my project there is no problem.
Great!
> >BTW do you fancy hacking up a wiki document instead?
> >http://code.google.com/p/uface/w/list
> I have not all the time Internet at home, so I prefer for the moment write
> document into ODT. Sorry.
No worries.
BTW the wiki documents are stored in subversion...
http://uface.googlecode.com/svn/wiki/
so you can check them all out when online, then hack them offline and
merge them back again when you get back online
> I don't know develop DBEL alone so I have written doc to share our
> experience and idea.
> Have you read my document? What do you think about it?
Haven't read it yet - will read it soon...
I've added you as a committer to UFace! Welcome!
See if you can grab the code (using https) and make a commit...
http://code.google.com/p/uface/source
If that works, your commits should show up in the subversion mailing list...
http://groups.google.com/group/uface-notify
I've added a little page for committers to keep track if this kinda stuff...
http://code.google.com/p/uface/wiki/Committers
Yeah. So the org.ufacekit.ui.swing.databinding.example comes in the
src directory with a number of example programs you can run from the
main() methods etc.
> And for the testcases, how can we do? I think it's better to have source
> project org.ufacekit.ui.swing.databinding (without link
> with example project or JUnit jar) and have project
> org.ufacekit.ui.swing.databinding.example which is linked
> to org.ufacekit.ui.example and perhaps JUnit. Can I add my User class model
> into the org.ufacekit.ui.example project?
Yes.
The JUnit test cases can go in the test directories of the modules
that they test; so inside org.ufacekit.ui.swing.databinding to test
the swing data binding etc.
From the maven build perspective, there's a 'test scope' so we can add
dependencies, like junit which are only for building/running the test
cases and don't add any dependencies of making the src directory.
(There dependencies are then reflected down if we turn the jars the
build creates into OSGi bundles, which we should do...).
Tom