Skip to main content



      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 11:51 Go to next message
Eclipse UserFriend
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 12:00 Go to previous message
Eclipse UserFriend
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: Mon Jul 14 05:50:18 EDT 2025

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

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

Back to the top