PDA

View Full Version : Multiple Views and Editors



afida
Oct 23rd, 2004, 04:32 PM
Hi Keith,

I see some activity in cvs regarding support for multiple views per page. I was wondering if it is ready to be used and if it is, is there any example ?

Also I saw your posts regarding Editors and sounds like a great idea, are you planning to go ahead with this. Currently I mange all the tree selection and notification to editors my self and really don't like doing it this way as there is not standard way of doing that. Aslo my editors components are JPanels, I have adapted the PageApplicationDialog approach and created PageApplicationPanel which is backed by NestFormModel. But as control is JPanel focus listener stuff doesn't work.

Amad

Keith Donald
Oct 23rd, 2004, 07:05 PM
Amad,

We're getting there. We have the application model -- the sets of interfaces and interactions (application, application window, application page, page descriptor, page layout builder, view, view descriptor, view pane) to make this happen -- down pat. The editor concept is still being flushed out, but I am proceeding with this. Snpe's docking work should help speed the process of getting to multiple views/editors per page up considerably.

Keith

Keith Donald
Oct 23rd, 2004, 07:06 PM
BTW, yes, the goal is to have Petclinic multi-view/editor per page enabled ASAP. Ideally I'd like a "simple" no-docking version and a "high-end" docking version, integrating InfoNode, JIDE, or flexdock (or all three what the hell.) By version, I mean it should be easy to switch them out - through configuration.

snpe
Oct 23rd, 2004, 07:28 PM
docking window is finish for now - I have had little problem with maximize any tab when I have more parts screen (RootWindow in infonode) - I have to patch infonode and new version is up

I try flexdock, but it have less features than infonode and JIDE is comercial and I don't know can we try it

regards

afida
Oct 23rd, 2004, 07:30 PM
Again snpe, good stuff man :wink:

Keith Donald
Oct 23rd, 2004, 07:33 PM
Snpe,

Great work. Do you mind if I take this and officially integrate it into the framework? I will likely make some design tweaks / organization as I must consider pluggabilty and alignment with our future goals, but I think this will be a great jumpstart...

Thanks again - keith

snpe
Oct 23rd, 2004, 07:38 PM
I agree - license for infonode is GPL and I set your license (apache) for now - is it compatible ?

afida
Oct 27th, 2004, 01:40 PM
Kieth,

I believe you have been working on multiple views and editor stuff, is it a point where i can use it?

Amad

afida
Oct 28th, 2004, 01:29 AM
Any updates Keith. Also i see you are doing some work to integerate JIDE? Is JIDE available under GPL?

Keith Donald
Oct 28th, 2004, 01:44 AM
Amad,

Our goals are to:

1. Finish the page/view/editor interfaces and default implementations -- I'm still working here, making progress, but not ready to show yet. Petclinic will be updated immediately after these features are ready for use--I fully attend to market the hell out of these new features once they're ready...

2. Take InfoNode, FlexDock, and JIDE integration (the first two we have prototypes for courtesy of snpe and Claudio, the latter is a work in progress: the JIDE guys (David and crew) are putting this together), and extract out a 'common appoach' to integrating these windowing systems.

3. Provide "official integration" for each of the above--this should be great from a end user POV: "it's all about choice". We want to make docking completely pluggable (FlexDock free up to JIDE commercial, but likely most feature-rich.)

I had a nice conversation with David, the founder of JIDE software today. His team is working with us on official JIDE integration (which will become part of Spring Rich as a support package, just like Hibernate integration is part of core Spring). This includes their docking system and their action framework (which turns out, can build directly on our command framework as it's more about L&F ("the view side"), rather than the controller side.)

Best,

Keith

afida
Oct 28th, 2004, 03:58 AM
Great, I am sorry Keith if I sounded too demanding to ask for updates. I just can't wait...

Also I just can't apprecaite your work here enough. This stuff is really really great!

Thanks

Amad

jidesoft
Oct 31st, 2004, 10:43 AM
Hi afida,

We don't plan to open source JIDE in the near future. Unfortunately we still depend on it to provide revenue for our company. Maybe one day we will. If you use JIDE in a commercial project, we still wish you could pay for it. However as I mentioned in JavaLobby website, if you need JIDE for an open source project, we have no problem letting you use JIDE for free. Just send an email to sales@jidesoft.com and ask about it.

Thanks.

-David

afida
Oct 31st, 2004, 01:00 PM
Thanks David,

For my current project we won't be able to afford JIDE so we will choose from one of the open source projects. The main reason is budget and this project is a new project and more like a proof of concept type. But I understand your need for revenue and shouldn't give it out for free for commercial products.

Amad

snpe
Oct 31st, 2004, 01:16 PM
Hello David,
If I use JIDE for open source project cna I get source code for JIDE - source is important for me for debuging

regards

jidesoft
Oct 31st, 2004, 10:57 PM
Thanks David,

For my current project we won't be able to afford JIDE so we will choose from one of the open source projects. The main reason is budget and this project is a new project and more like a proof of concept type. But I understand your need for revenue and shouldn't give it out for free for commercial products.

Amad

For proof of concept, you can use our evaluation package - a full functioned package you can download for free from our website. Once it is proved to be working, you can then make the purchase when you have the budget. Just like we also spent money on software and tools, we really hoped 400 bucks is not a big deal for most of you.

jidesoft
Oct 31st, 2004, 11:37 PM
Hello David,
If I use JIDE for open source project cna I get source code for JIDE - source is important for me for debuging

regards

We just gave away single developer license for free for open source project. Source code is not included in single developer license. I understand source code is very handy when debugging. However you may not really need it. JIDE Docking Framework has been there for almost two years. Thousands of people beat on it every day, so it's quite stable. It has the richest feature set among all dockable window implementations. Plus our timely support, you probably won't find you really need to debug our code.

Just like Keith mentioned in his post, "it's all about choice". Saying that we have the richest feature doesn't necessarily mean you should choose us. We are glad to see other alternatives - for example, look at how many dockable windows implementations C#/.NET world has. You just need to choose the right solution for your project.

Regards,

magpor
Feb 7th, 2006, 07:43 AM
Hi guys

I just looked through this thread since I will most likely use spring rcp and JIDE for a commercial product. There are som specific features Im after, which are:

1. Slide in panels (like intellij). does JIDE support this
2. Remainder popup (which I've seen that JIDE support with your components)
3. Plugin possibilities. Are the any plans to implement JSR 198 for spring rcp?


Another question, which is more of a architectural nature. The actions taken in my application is more or less always controlled by the users selection. That is a selection in a JTree may affect more then one other panel. So the question is how do you guys recommend implementing selection between panel like this. Keep in mind that the application will have to support the customer adding their own panels at will. Are there any preferred "selection model" design pattern that you can recommend.

Regards

Magnus

P:s Thanks for Spring/Spring rcp it's great. Are there any possibilities to book a course where a core developer can come up to Sweden and hold it for say between 10 to 20 developers?

jwray
Feb 7th, 2006, 01:07 PM
Magnus,

I've released some code that aims at integrating some aspects of the JIDE product with Spring RCP. It's mainly based on a multiview implementation using JIDE's docking framework. Here's the link to the confluence page that mentions it and gives the link to the java.net project. The project also contains an example application that maybe helpful.

http://opensource2.atlassian.com/confluence/spring/display/RCP/Contributions#Contributions-FrameworkExtensions

Your first two questions seem to be asking about specific components. Spring RCP dosen't really aim at providing components but it's not at all hard to use jide components within a spring rcp application.

Your third question open's an interesting topic. I've been wanting to find the time to look into some of the available plugin solutions. For example, the recent refactoring of eclipse to use an implementation of the OSGi standard should mean that a lot of the functionality there is seperated from the windowing toolkit allowing for reuse in a swing app. I've also seen mention of a Spring and OSGi integration project on these forums, so that whole idea is interesting to me.

Not sure exactly what you're getting at with your final question but I'll take a stab at it. Do you mean, for example, when a node is selected in a tree based view another view (or multiple views) will change their content? If so, I use an event based system for that. I actually use another open source project called the event listener framework, or ELF. Conceptually it's an extension of the classic observer pattern but using an event manager as a mediator to allow no coupling between the publisher and subscriber. The Spring application context also provides an event publishing mechanism but I find the functionality provided by ELF very useful.

Jonny


Hi guys

I just looked through this thread since I will most likely use spring rcp and JIDE for a commercial product. There are som specific features Im after, which are:

1. Slide in panels (like intellij). does JIDE support this
2. Remainder popup (which I've seen that JIDE support with your components)
3. Plugin possibilities. Are the any plans to implement JSR 198 for spring rcp?


Another question, which is more of a architectural nature. The actions taken in my application is more or less always controlled by the users selection. That is a selection in a JTree may affect more then one other panel. So the question is how do you guys recommend implementing selection between panel like this. Keep in mind that the application will have to support the customer adding their own panels at will. Are there any preferred "selection model" design pattern that you can recommend.

Regards

Magnus

P:s Thanks for Spring/Spring rcp it's great. Are there any possibilities to book a course where a core developer can come up to Sweden and hold it for say between 10 to 20 developers?

magpor
Mar 7th, 2006, 12:26 PM
Hi jwray

Thx for your answers. Yes ELF looks good event though I have something simular implemented allready. The plugin possibilities are something I need quit soon so I would be intereseted at looking into it.

Again thx

Magnus