Column layout for Grid similar to TableColumnLayout? [message #45495] |
Mon, 07 January 2008 14:19  |
Eclipse User |
|
|
|
I've been using the JFace TableViewer and have recently switched to
GridTableViewer. JFace provides TableLayout and TableColumnLayout for
positioning the columns of a table widget using pixel-based and weight-based
column data objects. After I switched to GridTableViewer, I can no longer
use either of these because they are specific to the Table widget.
Are there any plans to provide a layout for the Grid widget that uses
ColumnLayoutData objects?
I looked at creating a GridColumnLayout similar to TableColumnLayout
unfortunately the base class, org.eclipse.jface.layout.AbstractColumnLayout,
and its abstract methods are all package scope and therefore inaccessible.
If this class and its abstract methods were public, a Grid-specific version
could be contributed to and included with the Grid viewer classes.
Thanks,
-Ryan Norris
|
|
|
|
Re: Column layout for Grid similar to TableColumnLayout? [message #45555 is a reply to message #45525] |
Mon, 07 January 2008 15:08  |
Eclipse User |
|
|
|
Thanks. I opened the following bug:
Bug 214532 - Open up the API for
org.eclipse.jface.layout.AbstractColumnLayout
https://bugs.eclipse.org/bugs/show_bug.cgi?id=214532
"Tom Schindl" <tom.schindl@bestsolution.at> wrote in message
news:fltu8m$q44$1@build.eclipse.org...
> File a bug against Platform/UI and ask for opening up the API. In the
> meanwhile and not to put dependencies on JFace 3.4 you could copy those
> classes, I'd suggest.
>
> Tom
>
> Ryan Norris schrieb:
>> I've been using the JFace TableViewer and have recently switched to
>> GridTableViewer. JFace provides TableLayout and TableColumnLayout for
>> positioning the columns of a table widget using pixel-based and
>> weight-based column data objects. After I switched to GridTableViewer, I
>> can no longer use either of these because they are specific to the Table
>> widget.
>>
>>
>>
>> Are there any plans to provide a layout for the Grid widget that uses
>> ColumnLayoutData objects?
>>
>>
>>
>> I looked at creating a GridColumnLayout similar to TableColumnLayout
>> unfortunately the base class,
>> org.eclipse.jface.layout.AbstractColumnLayout, and its abstract methods
>> are all package scope and therefore inaccessible. If this class and its
>> abstract methods were public, a Grid-specific version could be
>> contributed to and included with the Grid viewer classes.
>>
>>
>>
>> Thanks,
>>
>> -Ryan Norris
>>
>>
>
>
> --
> B e s t S o l u t i o n . at
> ------------------------------------------------------------ --------
> Tom Schindl JFace-Committer
> ------------------------------------------------------------ --------
|
|
|
Re: Column layout for Grid similar to TableColumnLayout? [message #587237 is a reply to message #45495] |
Mon, 07 January 2008 14:24  |
Eclipse User |
|
|
|
File a bug against Platform/UI and ask for opening up the API. In the
meanwhile and not to put dependencies on JFace 3.4 you could copy those
classes, I'd suggest.
Tom
Ryan Norris schrieb:
> I've been using the JFace TableViewer and have recently switched to
> GridTableViewer. JFace provides TableLayout and TableColumnLayout for
> positioning the columns of a table widget using pixel-based and weight-based
> column data objects. After I switched to GridTableViewer, I can no longer
> use either of these because they are specific to the Table widget.
>
>
>
> Are there any plans to provide a layout for the Grid widget that uses
> ColumnLayoutData objects?
>
>
>
> I looked at creating a GridColumnLayout similar to TableColumnLayout
> unfortunately the base class, org.eclipse.jface.layout.AbstractColumnLayout,
> and its abstract methods are all package scope and therefore inaccessible.
> If this class and its abstract methods were public, a Grid-specific version
> could be contributed to and included with the Grid viewer classes.
>
>
>
> Thanks,
>
> -Ryan Norris
>
>
--
B e s t S o l u t i o n . at
------------------------------------------------------------ --------
Tom Schindl JFace-Committer
------------------------------------------------------------ --------
|
|
|
Re: Column layout for Grid similar to TableColumnLayout? [message #587251 is a reply to message #45525] |
Mon, 07 January 2008 15:08  |
Eclipse User |
|
|
|
Thanks. I opened the following bug:
Bug 214532 - Open up the API for
org.eclipse.jface.layout.AbstractColumnLayout
https://bugs.eclipse.org/bugs/show_bug.cgi?id=214532
"Tom Schindl" <tom.schindl@bestsolution.at> wrote in message
news:fltu8m$q44$1@build.eclipse.org...
> File a bug against Platform/UI and ask for opening up the API. In the
> meanwhile and not to put dependencies on JFace 3.4 you could copy those
> classes, I'd suggest.
>
> Tom
>
> Ryan Norris schrieb:
>> I've been using the JFace TableViewer and have recently switched to
>> GridTableViewer. JFace provides TableLayout and TableColumnLayout for
>> positioning the columns of a table widget using pixel-based and
>> weight-based column data objects. After I switched to GridTableViewer, I
>> can no longer use either of these because they are specific to the Table
>> widget.
>>
>>
>>
>> Are there any plans to provide a layout for the Grid widget that uses
>> ColumnLayoutData objects?
>>
>>
>>
>> I looked at creating a GridColumnLayout similar to TableColumnLayout
>> unfortunately the base class,
>> org.eclipse.jface.layout.AbstractColumnLayout, and its abstract methods
>> are all package scope and therefore inaccessible. If this class and its
>> abstract methods were public, a Grid-specific version could be
>> contributed to and included with the Grid viewer classes.
>>
>>
>>
>> Thanks,
>>
>> -Ryan Norris
>>
>>
>
>
> --
> B e s t S o l u t i o n . at
> ------------------------------------------------------------ --------
> Tom Schindl JFace-Committer
> ------------------------------------------------------------ --------
|
|
|
Powered by
FUDForum. Page generated in 0.03989 seconds