Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » Calendar field improvements
Calendar field improvements [message #903856] Sun, 26 August 2012 15:21 Go to next message
Bertin Kiekebosch is currently offline Bertin KiekeboschFriend
Messages: 330
Registered: August 2011
Senior Member
Hi,

I am using the calendar field for week plans. I think, the following changes would make the calendar field more usefull:

At our office work appointments start at 08:30 and end at 17:30. The current calendar has a fixed start (07:00 )and end time (19:00) which means there is a lot of white space on the screen. This could be improved with:

1: A property for the start time of the calendar.
2: A property for the end time of the calendar.

Then next to this, we do not make appointments outside these office opening ours. So we could do without the rows 'sooner' and 'later' that are there for appointments outside the 'normal' ours.

3: A boolean property field (or tow) for showing or hiding the overflow rows.

Below the calendar there is an option field (day, workweek, week, month) we only need the workweek view.

4: A boolean property field for showing or hiding the option buttons

I experimented with the changes above and these changes can be done with rather simple code changes (for Swing and RCP client).

Then our minimum appointment time is 10 minutes. The space reserved for an appointment of 10 minutes is so small that you cannot read the text.

5: A property for the minimum row height ( = 1 hour).

For now I have only experimented with the minimum height for an appointment. This is easy to do and good enough for our solution yet, but not good enough for small screens or calendars that need more rows. The problem with this is that the calendar might get bigger then the screen and you need to add scrolling, which is harder to do.

Maybe there are more or better ideas for improvements.

Regards Bertin





Re: Calendar field improvements [message #903934 is a reply to message #903856] Mon, 27 August 2012 11:08 Go to previous messageGo to next message
Judith Gull is currently offline Judith GullFriend
Messages: 75
Registered: February 2010
Member
Hi

Your suggestions look reasonable. Can you create a bugzilla ticket (with patch if you have it).

Thanks!
Re: Calendar field improvements [message #903949 is a reply to message #903934] Mon, 27 August 2012 12:22 Go to previous messageGo to next message
Bertin Kiekebosch is currently offline Bertin KiekeboschFriend
Messages: 330
Registered: August 2011
Senior Member
I will make a bugzilla ticket for it.

Do you want a separate ticket for every item or one for all.

I have all the code with the changes hardcoded (so no property editors), but I don't know how to make a patch. What I did is that I created my own calendar component and copied all the code I needed into that.

Is there some tutorial on how to set up a development environment to work on Scout itself so I can make the patches.

Regards Bertin

Re: Calendar field improvements [message #904275 is a reply to message #903949] Tue, 28 August 2012 06:37 Go to previous messageGo to next message
Judith Gull is currently offline Judith GullFriend
Messages: 75
Registered: February 2010
Member
One ticket is ok.

The easiest way to create a patch is to clone our repo and import the plugin projects, that you want to modify into your workspace. We recently moved to GIT see http://wiki.eclipse.org/Scout/Contribution#Getting_the_Scout_Sources. Then you can modify the sources. To start your application with the scout projects in the workspace just make sure they are selected in the product. You may need to synchronize.

See this article on how to create patches: http://wiki.eclipse.org/Scout/Contribution#Contributing_Patches
Re: Calendar field improvements [message #904423 is a reply to message #904275] Tue, 28 August 2012 12:02 Go to previous messageGo to next message
Bertin Kiekebosch is currently offline Bertin KiekeboschFriend
Messages: 330
Registered: August 2011
Senior Member
Hi Judith,

trying to create the patch, but get some errors so I want to verify what I do is OK.

1: I have the Eclipse Scout Juno.
2: I cloned the repository (Git) with the following links.

Branch: master

Runtime: git://git.eclipse.org/gitroot/scout/org.eclipse.scout.rt.git
SDK: git://git.eclipse.org/gitroot/scout/org.eclipse.scout.sdk.git

3: Now I imported (File->Import) from the Runtime only the org.eclipse.scout.rt.ui.swing plug-in

Then I get errors about missing imports, for example:

The project was not built since its build path is incomplete. Cannot find the class file for javax.mail.internet.MimeMessage.

I can try to fix this by modifying build path but it feels a little strange to me that I have to do this. ?

(I also get these errors when I import everything from the runtime)

Then one more question, what do you exactly mean by: "To start your application with the scout projects in the workspace just make sure they are selected in the product". Where do I have to make the selection in a way that the modified plug-in is used instead of the scout plug-in that is already there.

Regards Bertin





Re: Calendar field improvements [message #904980 is a reply to message #904423] Wed, 29 August 2012 14:09 Go to previous messageGo to next message
Judith Gull is currently offline Judith GullFriend
Messages: 75
Registered: February 2010
Member
Hi Bertin

Sorry for the late answer. To avoid the compile errors you need to add javax.mail to the endorsed folder in your jdk: See http://wiki.eclipse.org/Scout/Tutorial/3.8/IMAP_Step-by-Step#Make_your_project_JavaMail_aware and
http://www.eclipse.org/forums/index.php?t=msg&th=202571&start=0&S=208ef84eb179d95846ecb91b4bb1da68 for more information.

If the plugin is included in the workspace and in the target platform, the one in the workspace is used. However, sometimes some refreshing is necessary.
Re: Calendar field improvements [message #905096 is a reply to message #903949] Wed, 29 August 2012 17:10 Go to previous messageGo to next message
Stephan Leicht Vogt is currently offline Stephan Leicht VogtFriend
Messages: 104
Registered: July 2015
Senior Member
Hi Bertin

To facilitate the setup of a working environment for contributing Scout patches I've made a Yoxos Profile [1]. I hope this helps - although it doesn't fix the problem with javax.mail.

[1]: https://yoxos.eclipsesource.com/userdata/profile/7a6dfdaf9476d8dfa436a76c390e899d

Greetings
Stephan
Re: Calendar field improvements [message #907662 is a reply to message #904275] Tue, 04 September 2012 08:40 Go to previous messageGo to next message
Bertin Kiekebosch is currently offline Bertin KiekeboschFriend
Messages: 330
Registered: August 2011
Senior Member
Created a bugzilla ticket for it.

see https://bugs.eclipse.org/bugs/show_bug.cgi?id=388722
Re: Calendar field improvements [message #907684 is a reply to message #904275] Tue, 04 September 2012 08:40 Go to previous messageGo to next message
Bertin Kiekebosch is currently offline Bertin KiekeboschFriend
Messages: 330
Registered: August 2011
Senior Member
Created a bugzilla ticket for it.

see https://bugs.eclipse.org/bugs/show_bug.cgi?id=388722
Re: Calendar field improvements [message #907699 is a reply to message #904275] Tue, 04 September 2012 08:40 Go to previous messageGo to next message
Bertin Kiekebosch is currently offline Bertin KiekeboschFriend
Messages: 330
Registered: August 2011
Senior Member
Created a bugzilla ticket for it.

see https://bugs.eclipse.org/bugs/show_bug.cgi?id=388722
Re: Calendar field improvements [message #907718 is a reply to message #904275] Tue, 04 September 2012 08:40 Go to previous messageGo to next message
Bertin Kiekebosch is currently offline Bertin KiekeboschFriend
Messages: 330
Registered: August 2011
Senior Member
Created a bugzilla ticket for it.

see https://bugs.eclipse.org/bugs/show_bug.cgi?id=388722
Re: Calendar field improvements [message #907741 is a reply to message #905096] Tue, 04 September 2012 09:01 Go to previous messageGo to next message
Bertin Kiekebosch is currently offline Bertin KiekeboschFriend
Messages: 330
Registered: August 2011
Senior Member
Hi,

created a ticket for it.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=388722

regards Bertin
Re: Calendar field improvements [message #907746 is a reply to message #904275] Tue, 04 September 2012 08:40 Go to previous messageGo to next message
Bertin Kiekebosch is currently offline Bertin KiekeboschFriend
Messages: 330
Registered: August 2011
Senior Member
Created a bugzilla ticket for it.

see https://bugs.eclipse.org/bugs/show_bug.cgi?id=388722
Re: Calendar field improvements [message #907766 is a reply to message #904275] Tue, 04 September 2012 08:40 Go to previous messageGo to next message
Bertin Kiekebosch is currently offline Bertin KiekeboschFriend
Messages: 330
Registered: August 2011
Senior Member
Created a bugzilla ticket for it.

see https://bugs.eclipse.org/bugs/show_bug.cgi?id=388722
Re: Calendar field improvements [message #907767 is a reply to message #905096] Tue, 04 September 2012 09:01 Go to previous messageGo to next message
Bertin Kiekebosch is currently offline Bertin KiekeboschFriend
Messages: 330
Registered: August 2011
Senior Member
Hi,

created a ticket for it.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=388722

regards Bertin
Re: Calendar field improvements [message #907790 is a reply to message #904275] Tue, 04 September 2012 08:40 Go to previous messageGo to next message
Bertin Kiekebosch is currently offline Bertin KiekeboschFriend
Messages: 330
Registered: August 2011
Senior Member
Created a bugzilla ticket for it.

see https://bugs.eclipse.org/bugs/show_bug.cgi?id=388722
Re: Calendar field improvements [message #907791 is a reply to message #905096] Tue, 04 September 2012 09:01 Go to previous messageGo to next message
Bertin Kiekebosch is currently offline Bertin KiekeboschFriend
Messages: 330
Registered: August 2011
Senior Member
Hi,

created a ticket for it.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=388722

regards Bertin
Re: Calendar field improvements [message #907817 is a reply to message #904275] Tue, 04 September 2012 08:40 Go to previous messageGo to next message
Bertin Kiekebosch is currently offline Bertin KiekeboschFriend
Messages: 330
Registered: August 2011
Senior Member
Created a bugzilla ticket for it.

see https://bugs.eclipse.org/bugs/show_bug.cgi?id=388722
Re: Calendar field improvements [message #907818 is a reply to message #905096] Tue, 04 September 2012 09:01 Go to previous messageGo to next message
Bertin Kiekebosch is currently offline Bertin KiekeboschFriend
Messages: 330
Registered: August 2011
Senior Member
Hi,

created a ticket for it.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=388722

regards Bertin
Re: Calendar field improvements [message #907844 is a reply to message #904275] Tue, 04 September 2012 08:40 Go to previous messageGo to next message
Bertin Kiekebosch is currently offline Bertin KiekeboschFriend
Messages: 330
Registered: August 2011
Senior Member
Created a bugzilla ticket for it.

see https://bugs.eclipse.org/bugs/show_bug.cgi?id=388722
Re: Calendar field improvements [message #907845 is a reply to message #905096] Tue, 04 September 2012 09:01 Go to previous messageGo to next message
Bertin Kiekebosch is currently offline Bertin KiekeboschFriend
Messages: 330
Registered: August 2011
Senior Member
Hi,

created a ticket for it.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=388722

regards Bertin
Re: Calendar field improvements [message #907875 is a reply to message #904275] Tue, 04 September 2012 08:40 Go to previous messageGo to next message
Bertin Kiekebosch is currently offline Bertin KiekeboschFriend
Messages: 330
Registered: August 2011
Senior Member
Created a bugzilla ticket for it.

see https://bugs.eclipse.org/bugs/show_bug.cgi?id=388722
Re: Calendar field improvements [message #907876 is a reply to message #905096] Tue, 04 September 2012 09:01 Go to previous messageGo to next message
Bertin Kiekebosch is currently offline Bertin KiekeboschFriend
Messages: 330
Registered: August 2011
Senior Member
Hi,

created a ticket for it.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=388722

regards Bertin
Re: Calendar field improvements [message #907891 is a reply to message #905096] Tue, 04 September 2012 09:29 Go to previous messageGo to next message
Bertin Kiekebosch is currently offline Bertin KiekeboschFriend
Messages: 330
Registered: August 2011
Senior Member
Create a ticket for it.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=388722

Regards Bertin
Re: Calendar field improvements [message #907900 is a reply to message #905096] Tue, 04 September 2012 09:30 Go to previous message
Bertin Kiekebosch is currently offline Bertin KiekeboschFriend
Messages: 330
Registered: August 2011
Senior Member
Created a ticket for it.

388722

Regards Bertin
Re: Calendar field improvements [message #907908 is a reply to message #905096] Tue, 04 September 2012 09:01 Go to previous message
Bertin Kiekebosch is currently offline Bertin KiekeboschFriend
Messages: 330
Registered: August 2011
Senior Member
Hi,

created a ticket for it.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=388722

regards Bertin
Previous Topic:ImageColumn
Next Topic:Swing client change Eclipse Scout text
Goto Forum:
  


Current Time: Fri Apr 19 07:22:06 GMT 2024

Powered by FUDForum. Page generated in 0.02908 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top