Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » TableTreeView does not support image indent under GTK (Eclipse 2.1.1)
TableTreeView does not support image indent under GTK (Eclipse 2.1.1) [message #445887] Thu, 11 November 2004 16:51 Go to next message
Markus is currently offline MarkusFriend
Messages: 52
Registered: July 2009
Member
Hi!

I am developing an application using Eclipse 2.1.1 which is required to
support both Linux and Windows. Since you can do cool things with the
TableTreeViewer (and underlying SWT TableTreeView), I make heavy use of
it.

Now one of my Linux users objected that the table tree view is not
indented and therefore hard to read. I have verified this in the 2.1.1
source code (see snippet below).

Does anyone know if this has been changed in later releases?

Or, as an alternative, does someone know of an implementation of a tree
view with an adjacent table view, which are seamlessly in sync (same row
height, ideally support of collapse/expand, coloring, etc).

Thanks in advance!
Markus

/**
* Gets the image indent.
*
* @return the indent
*
* @exception SWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that
created the receiver</li>
* </ul>
*/
public int getImageIndent () {
checkWidget ();
/* Image indent is not supported on GTK */
return 0;
}
Re: TableTreeView does not support image indent under GTK (Eclipse 2.1.1) [message #445895 is a reply to message #445887] Thu, 11 November 2004 17:00 Go to previous message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
See:

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

"Markus" <nosse@de.ibm.com> wrote in message
news:cn059m$qut$1@eclipse.org...
> Hi!
>
> I am developing an application using Eclipse 2.1.1 which is required to
> support both Linux and Windows. Since you can do cool things with the
> TableTreeViewer (and underlying SWT TableTreeView), I make heavy use of
> it.
> Now one of my Linux users objected that the table tree view is not
> indented and therefore hard to read. I have verified this in the 2.1.1
> source code (see snippet below).
>
> Does anyone know if this has been changed in later releases?
> Or, as an alternative, does someone know of an implementation of a tree
> view with an adjacent table view, which are seamlessly in sync (same row
> height, ideally support of collapse/expand, coloring, etc).
>
> Thanks in advance!
> Markus
>
> /**
> * Gets the image indent.
> *
> * @return the indent
> *
> * @exception SWTException <ul>
> * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
> * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that
> created the receiver</li>
> * </ul>
> */
> public int getImageIndent () {
> checkWidget ();
> /* Image indent is not supported on GTK */
> return 0;
> }
>
>
Previous Topic:Drop Shadow on ViewForm or Composite or CTabFolder
Next Topic:Own widgets in a JFace Statusline
Goto Forum:
  


Current Time: Wed Oct 21 02:24:23 GMT 2020

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

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

Back to the top