Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » gantt chart : display size
gantt chart : display size [message #59105] Sat, 13 September 2008 10:40 Go to next message
david leloup is currently offline david leloupFriend
Messages: 36
Registered: July 2009
Member
hi,

i'd like to know how to display event in the gantt chart proportionnaly of
their duration (less than a day)

if i have an event during 2 hours , i don't know how to display it on a day
proportionnaly
because when i add it on a section, it took the place of a whole day instead
of my 2 hours

hope someone can point me on something

david
Re: gantt chart : display size [message #59255 is a reply to message #59105] Sun, 21 September 2008 09:22 Go to previous messageGo to next message
Emil Crumhorn is currently offline Emil CrumhornFriend
Messages: 169
Registered: July 2009
Senior Member
There's currently no feature to do that as when you resize an event that
would only be shown partially in that view, it would be very strange to try
to make it fit anything else than a day. For fine-grained resizing on a
less-than-a-day level you will have to zoom in further to the hours view.

Regards,
Emil

"eclipse" <david.leloup@wanadoo.fr> wrote in message
news:gag5ca$alb$1@build.eclipse.org...
> hi,
>
> i'd like to know how to display event in the gantt chart proportionnaly of
> their duration (less than a day)
>
> if i have an event during 2 hours , i don't know how to display it on a
> day proportionnaly
> because when i add it on a section, it took the place of a whole day
> instead of my 2 hours
>
> hope someone can point me on something
>
> david
>
>
Re: gantt chart : display size [message #63000 is a reply to message #59255] Tue, 14 April 2009 15:24 Go to previous messageGo to next message
Manuel Steurer is currently offline Manuel SteurerFriend
Messages: 37
Registered: July 2009
Member
Hi,

it's possible in the hours view, so why not when the unit is days?

Greetings,
Manuel


Emil Crumhorn wrote:

> There's currently no feature to do that as when you resize an event
> that would only be shown partially in that view, it would be very
> strange to try to make it fit anything else than a day. For
> fine-grained resizing on a less-than-a-day level you will have to
> zoom in further to the hours view.
>
> Regards,
> Emil
>
> "eclipse" <david.leloup@wanadoo.fr> wrote in message
> news:gag5ca$alb$1@build.eclipse.org...
> > hi,
> >
> > i'd like to know how to display event in the gantt chart
> > proportionnaly of their duration (less than a day)
> >
> > if i have an event during 2 hours , i don't know how to display it
> > on a day proportionnaly because when i add it on a section, it
> > took the place of a whole day instead of my 2 hours
> >
> > hope someone can point me on something
> >
> > david
> >
> >



--


  • Attachment: gantt.png
    (Size: 0.85KB, Downloaded 335 times)
Re: gantt chart : display size [message #63003 is a reply to message #63000] Wed, 15 April 2009 06:58 Go to previous messageGo to next message
Emil Crumhorn is currently offline Emil CrumhornFriend
Messages: 169
Registered: July 2009
Senior Member
If you go grab the latest nightly build you will have a feature you can
enable in your ISettings implementation named:

public boolean drawEventsDownToTheHourAndMinute();

Which draws events in all views to the correct "marker" (it takes
hours/mins into account). The resize event will leave the event on it's
hour/minute when you're zoomed out too much to do fine-grained
modifications.

This should get you what you're after.

Regards,
Emil
Re: gantt chart : display size [message #63007 is a reply to message #63003] Wed, 15 April 2009 12:06 Go to previous messageGo to next message
Manuel Steurer is currently offline Manuel SteurerFriend
Messages: 37
Registered: July 2009
Member
Works like a charm, thanks!

Emil Crumhorn wrote:

> If you go grab the latest nightly build you will have a feature you
> can enable in your ISettings implementation named:
>
> public boolean drawEventsDownToTheHourAndMinute();
>
> Which draws events in all views to the correct "marker" (it takes
> hours/mins into account). The resize event will leave the event on
> it's hour/minute when you're zoomed out too much to do fine-grained
> modifications.
>
> This should get you what you're after.
>
> Regards,
> Emil



--
Re: gantt chart : display size [message #63028 is a reply to message #63003] Fri, 17 April 2009 06:55 Go to previous message
Manuel Steurer is currently offline Manuel SteurerFriend
Messages: 37
Registered: July 2009
Member
This is a multipart message in MIME format

--Xananews.1.2.3

Hi,

there seems to be something amiss in the day-views.
I took the EverythingExample Snippet and added an
event which starts right at the end of the first event.
In the hours-view it shows just like that, but zoomed out
my event starts before the first event ends. (the further you zoom
out, the worse it gets)

The error also shows without introducing an extra event,
the end of the first event moves when you change the zoom level.

Snippets attached.

greetings,
Manuel




Emil Crumhorn wrote:

> If you go grab the latest nightly build you will have a feature you
> can enable in your ISettings implementation named:
>
> public boolean drawEventsDownToTheHourAndMinute();
>
> Which draws events in all views to the correct "marker" (it takes
> hours/mins into account). The resize event will leave the event on
> it's hour/minute when you're zoomed out too much to do fine-grained
> modifications.
>
> This should get you what you're after.
>
> Regards,
> Emil



--


--Xananews.1.2.3
Content-Type: Application/Octet-Stream; name=EverythingExample.java
Content-Transfer-Encoding: base64

cGFja2FnZSBvcmcuZWNsaXBzZS5zd3QubmVidWxhLnNuaXBwZXRzLmdhbnR0 Y2hhcnQ7DQoNCi8q
KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioq
KioqKioqKioqKioqKioqKioqKioqDQogKiBDb3B5cmlnaHQgKGMpIEVtaWwg Q3J1bWhvcm4gLSBI
ZXhhcGl4ZWwuY29tIC0gZW1pbC5jcnVtaG9ybkBnbWFpbC5jb20NCiAqIEFs bCByaWdodHMgcmVz
ZXJ2ZWQuIFRoaXMgcHJvZ3JhbSBhbmQgdGhlIGFjY29tcGFueWluZyBtYXRl cmlhbHMNCiAqIGFy
ZSBtYWRlIGF2YWlsYWJsZSB1bmRlciB0aGUgdGVybXMgb2YgdGhlIEVjbGlw c2UgUHVibGljIExp
Y2Vuc2UgdjEuMA0KICogd2hpY2ggYWNjb21wYW5pZXMgdGhpcyBkaXN0cmli dXRpb24sIGFuZCBp
cyBhdmFpbGFibGUgYXQNCiAqIGh0dHA6Ly93d3cuZWNsaXBzZS5vcmcvbGVn YWwvZXBsLXYxMC5o
dG1sDQogKg0KICogQ29udHJpYnV0b3JzOg0KICogICAgZW1pbC5jcnVtaG9y bkBnbWFpbC5jb20g
LSBpbml0aWFsIEFQSSBhbmQgaW1wbGVtZW50YXRpb24NCiAqKioqKioqKioq KioqKioqKioqKioq
KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioq
Lw0KDQppbXBvcnQgamF2YS51dGlsLkNhbGVuZGFyOw0KaW1wb3J0IGphdmEu dXRpbC5MaXN0Ow0K
aW1wb3J0IGphdmEudXRpbC5Mb2NhbGU7DQoNCmltcG9ydC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0J3MgcG9zc2libGUgdG8g ZG8gcmVnYXJkbGVz
cw0KCQlMaXN0IGdyb3VwVHdvRXZlbnRzID0gZ3JvdXBUd28uZ2V0RXZlbnRN ZW1iZXJzKCk7DQoJ
CWZvciAoaW50IGkgPSBncm91cFR3b0V2ZW50cy5zaXplKCktMTsgaSA+PSAw OyBpLS0pIHsNCgkJ
CWlmIChpID4gMCkgew0KCQkJCUdhbnR0RXZlbnQgZ2UxID0gKEdhbnR0RXZl bnQpIGdyb3VwVHdv
RXZlbnRzLmdldChpKTsNCgkJCQlHYW50dEV2ZW50IGdlMiA9IChHYW50dEV2 ZW50KSBncm91cFR3
b0V2ZW50cy5nZXQoaS0xKTsNCgkJCQlnYW50dENoYXJ0LmFkZENvbm5lY3Rp b24oZ2UxLCBnZTIp
Ow0KCQkJfQ0KCQl9DQoNCgkJLy8gbW92ZSBjaGFydCBzdGFydCBkYXRlIHRv IHRoZSBlYXJsaWVz
dCBldmVudA0KCQlnYW50dENoYXJ0LmdldEdhbnR0Q29tcG9zaXRlKCkuanVt cFRvRWFybGllc3RF
dmVudCgpOw0KDQoJCS8vIFNob3cgY2hhcnQNCgkJc2hlbGwub3BlbigpOw0K DQoJCXdoaWxlICgh
c2hlbGwuaXNEaXNwb3NlZCAoKSkgew0KCQkJaWYgKCFkaXNwbGF5LnJlYWRB bmREaXNwYXRjaCAo
KSkgZGlzcGxheS5zbGVlcCAoKTsNCgkJfQ0KCQlkaXNwbGF5LmRpc3Bvc2Ug KCk7DQoNCgl9DQp9
DQo=

--Xananews.1.2.3
Content-Type: Application/Octet-Stream; name=EverythingExample_extraevent.java
Content-Transfer-Encoding: base64

cGFja2FnZSBvcmcuZWNsaXBzZS5zd3QubmVidWxhLnNuaXBwZXRzLmdhbnR0 Y2hhcnQ7DQoNCi8q
KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioq
KioqKioqKioqKioqKioqKioqKioqDQogKiBDb3B5cmlnaHQgK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.3--
Re: gantt chart : display size [message #592268 is a reply to message #59105] Sun, 21 September 2008 09:22 Go to previous message
Emil Crumhorn is currently offline Emil CrumhornFriend
Messages: 169
Registered: July 2009
Senior Member
There's currently no feature to do that as when you resize an event that
would only be shown partially in that view, it would be very strange to try
to make it fit anything else than a day. For fine-grained resizing on a
less-than-a-day level you will have to zoom in further to the hours view.

Regards,
Emil

"eclipse" <david.leloup@wanadoo.fr> wrote in message
news:gag5ca$alb$1@build.eclipse.org...
> hi,
>
> i'd like to know how to display event in the gantt chart proportionnaly of
> their duration (less than a day)
>
> if i have an event during 2 hours , i don't know how to display it on a
> day proportionnaly
> because when i add it on a section, it took the place of a whole day
> instead of my 2 hours
>
> hope someone can point me on something
>
> david
>
>
Re: gantt chart : display size [message #594360 is a reply to message #59255] Tue, 14 April 2009 15:24 Go to previous message
Manuel Steurer is currently offline Manuel SteurerFriend
Messages: 37
Registered: July 2009
Member
Hi,

it's possible in the hours view, so why not when the unit is days?

Greetings,
Manuel


Emil Crumhorn wrote:

> There's currently no feature to do that as when you resize an event
> that would only be shown partially in that view, it would be very
> strange to try to make it fit anything else than a day. For
> fine-grained resizing on a less-than-a-day level you will have to
> zoom in further to the hours view.
>
> Regards,
> Emil
>
> "eclipse" <david.leloup@wanadoo.fr> wrote in message
> news:gag5ca$alb$1@build.eclipse.org...
> > hi,
> >
> > i'd like to know how to display event in the gantt chart
> > proportionnaly of their duration (less than a day)
> >
> > if i have an event during 2 hours , i don't know how to display it
> > on a day proportionnaly because when i add it on a section, it
> > took the place of a whole day instead of my 2 hours
> >
> > hope someone can point me on something
> >
> > david
> >
> >



--


  • Attachment: gantt.png
    (Size: 0.85KB, Downloaded 236 times)
Re: gantt chart : display size [message #594368 is a reply to message #63000] Wed, 15 April 2009 06:58 Go to previous message
Emil Crumhorn is currently offline Emil CrumhornFriend
Messages: 169
Registered: July 2009
Senior Member
If you go grab the latest nightly build you will have a feature you can
enable in your ISettings implementation named:

public boolean drawEventsDownToTheHourAndMinute();

Which draws events in all views to the correct "marker" (it takes
hours/mins into account). The resize event will leave the event on it's
hour/minute when you're zoomed out too much to do fine-grained
modifications.

This should get you what you're after.

Regards,
Emil
Re: gantt chart : display size [message #594391 is a reply to message #63003] Wed, 15 April 2009 12:06 Go to previous message
Manuel Steurer is currently offline Manuel SteurerFriend
Messages: 37
Registered: July 2009
Member
Works like a charm, thanks!

Emil Crumhorn wrote:

> If you go grab the latest nightly build you will have a feature you
> can enable in your ISettings implementation named:
>
> public boolean drawEventsDownToTheHourAndMinute();
>
> Which draws events in all views to the correct "marker" (it takes
> hours/mins into account). The resize event will leave the event on
> it's hour/minute when you're zoomed out too much to do fine-grained
> modifications.
>
> This should get you what you're after.
>
> Regards,
> Emil



--
Re: gantt chart : display size [message #594486 is a reply to message #63003] Fri, 17 April 2009 06:55 Go to previous message
Manuel Steurer is currently offline Manuel SteurerFriend
Messages: 37
Registered: July 2009
Member
This is a multipart message in MIME format

--Xananews.1.2.3

Hi,

there seems to be something amiss in the day-views.
I took the EverythingExample Snippet and added an
event which starts right at the end of the first event.
In the hours-view it shows just like that, but zoomed out
my event starts before the first event ends. (the further you zoom
out, the worse it gets)

The error also shows without introducing an extra event,
the end of the first event moves when you change the zoom level.

Snippets attached.

greetings,
Manuel




Emil Crumhorn wrote:

> If you go grab the latest nightly build you will have a feature you
> can enable in your ISettings implementation named:
>
> public boolean drawEventsDownToTheHourAndMinute();
>
> Which draws events in all views to the correct "marker" (it takes
> hours/mins into account). The resize event will leave the event on
> it's hour/minute when you're zoomed out too much to do fine-grained
> modifications.
>
> This should get you what you're after.
>
> Regards,
> Emil



--


--Xananews.1.2.3
Content-Type: Application/Octet-Stream; name=EverythingExample.java
Content-Transfer-Encoding: base64

cGFja2FnZSBvcmcuZWNsaXBzZS5zd3QubmVidWxhLnNuaXBwZXRzLmdhbnR0 Y2hhcnQ7DQoNCi8q
KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioq
KioqK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zLmdldChpKTsNCgkJCQlHYW50dEV2ZW50IGdlMiA9IChHYW50dEV2 ZW50KSBncm91cFR3
b0V2ZW50cy5nZXQoaS0xKTsNCgkJCQlnYW50dENoYXJ0LmFkZENvbm5lY3Rp b24oZ2UxLCBnZTIp
Ow0KCQkJfQ0KCQl9DQoNCgkJLy8gbW92ZSBjaGFydCBzdGFydCBkYXRlIHRv IHRoZSBlYXJsaWVz
dCBldmVudA0KCQlnYW50dENoYXJ0LmdldEdhbnR0Q29tcG9zaXRlKCkuanVt cFRvRWFybGllc3RF
dmVudCgpOw0KDQoJCS8vIFNob3cgY2hhcnQNCgkJc2hlbGwub3BlbigpOw0K DQoJCXdoaWxlICgh
c2hlbGwuaXNEaXNwb3NlZCAoKSkgew0KCQkJaWYgKCFkaXNwbGF5LnJlYWRB bmREaXNwYXRjaCAo
KSkgZGlzcGxheS5zbGVlcCAoKTsNCgkJfQ0KCQlkaXNwbGF5LmRpc3Bvc2Ug KCk7DQoNCgl9DQp9
DQo=

--Xananews.1.2.3
Content-Type: Application/Octet-Stream; name=EverythingExample_extraevent.java
Content-Transfer-Encoding: base64

cGFja2FnZSBvcmcuZWNsaXBzZS5zd3QubmVidWxhLnNuaXBwZXRzLmdhbnR0 Y2hhcnQ7DQoNCi8q
KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioq
KioqKioqKioqKioqKioqKioqKioqDQogKiBDb3B5cmlnaHQgKGMpIEVtaWwg Q3J1bWhvcm4gLSBI
ZXhhcGl4ZWwuY29tIC0gZW1pbC5jcnVtaG9ybkBnbWFpbC5jb20NCiAqIEFs bCByaWdodHMgcmVz
ZXJ2ZWQuIFRoaXMgcHJvZ3JhbSBhbmQgdGhlIGFjY29tcGFueWluZyBtYXRl cmlhbHMNCiAqIGFy
ZSBtYWRlIGF2YWlsYWJsZSB1bmRlciB0aGUgdGVybXMgb2YgdGhlIEVjbGlw c2UgUHVibGljIExp
Y2Vuc2UgdjEu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lMaXN0IGdyb3VwVHdv RXZlbnRzID0gZ3Jv
dXBUd28uZ2V0RXZlbnRNZW1iZXJzKCk7DQoJCWZvciAoaW50IGkgPSBncm91 cFR3b0V2ZW50cy5z
aXplKCktMTsgaSA+PSAwOyBpLS0pIHsNCgkJCWlmIChpID4gMCkgew0KCQkJ CUdhbnR0RXZlbnQg
Z2UxID0gKEdhbnR0RXZlbnQpIGdyb3VwVHdvRXZlbnRzLmdldChpKTsNCgkJ CQlHYW50dEV2ZW50
IGdlMiA9IChHYW50dEV2ZW50KSBncm91cFR3b0V2ZW50cy5nZXQoaS0xKTsN CgkJCQlnYW50dENo
YXJ0LmFkZENvbm5lY3Rpb24oZ2UxLCBnZTIpOw0KCQkJfQ0KCQl9DQoNCgkJ Ly8gbW92ZSBjaGFy
dCBzdGFydCBkYXRlIHRvIHRoZSBlYXJsaWVzdCBldmVudA0KCQlnYW50dENo YXJ0LmdldEdhbnR0
Q29tcG9zaXRlKCkuanVtcFRvRWFybGllc3RFdmVudCgpOw0KDQoJCS8vIFNo b3cgY2hhcnQNCgkJ
c2hlbGwub3BlbigpOw0KDQoJCXdoaWxlICghc2hlbGwuaXNEaXNwb3NlZCAo KSkgew0KCQkJaWYg
KCFkaXNwbGF5LnJlYWRBbmREaXNwYXRjaCAoKSkgZGlzcGxheS5zbGVlcCAo KTsNCgkJfQ0KCQlk
aXNwbGF5LmRpc3Bvc2UgKCk7DQoNCgl9DQp9DQo=

--Xananews.1.2.3--
Previous Topic:CDateTime used as cellEditor
Next Topic:CDateTime: Changing Icons
Goto Forum:
  


Current Time: Wed Nov 06 03:17:08 GMT 2024

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

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

Back to the top