Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #5103
| Path | csiph.com!usenet.pasdenom.info!aioe.org!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Jeff Higgins <jeff@invalid.invalid> |
| Newsgroups | comp.lang.java.gui |
| Subject | Re: How to change rows from a database table using a SWT table |
| Date | Sun, 18 Mar 2012 12:38:17 -0400 |
| Organization | A noiseless patient Spider |
| Lines | 33 |
| Message-ID | <jk52un$d9u$1@dont-email.me> (permalink) |
| References | <87r4wrxtq3.fsf@Compaq.site> <jk2v51$q05$1@dont-email.me> <87ipi2xm18.fsf@Compaq.site> <jk4eql$62c$1@dont-email.me> <878viyxgpq.fsf@Compaq.site> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| Injection-Date | Sun, 18 Mar 2012 16:36:39 +0000 (UTC) |
| Injection-Info | mx04.eternal-september.org; posting-host="BSKXKq4dV+7jFlM4JDctyw"; logging-data="13630"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19it/cLX07QayZCSK7QhDTqp1P28sXuhWg=" |
| User-Agent | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20120207 Icedove/3.0.11 |
| In-Reply-To | <878viyxgpq.fsf@Compaq.site> |
| Cancel-Lock | sha1:EI/zsxy7Mc4ecAf7Ip3hhyudKBs= |
| Xref | csiph.com comp.lang.java.gui:5103 |
Show key headers only | View raw
On 03/18/2012 07:59 AM, Cecil Westerhof wrote:
> Op zondag 18 mrt 2012 11:54 CET schreef Jeff Higgins:
>
>>>>> At the moment I am building a little desktop application. I am using
>>>>> SWT for this. One of the things I want to use is a database. I can
>>>>> fill a SWT Table with the values I retrieve with a select. (Using a
>>>>> TableItem for each row of the ResultSet.) Adding to both tables does
>>>>> not pose a problem either. But I was wondering how to handle edits and
>>>>> deletes. For this I need the key of a record, but I would not want to
>>>>> display the keys in my table.
>>>>>
>>>>> How can I get edit and delete functionality without showing the keys
>>>>> to the user?
>>>>>
>>>> Can you use JFace?
>>>
>>> Properly. Something else to learn then. ;-}
>>>
>> Lars Vogel has some tutorials that were helpful for me.
>> JFace Tables<http://www.vogella.de/eclipse.html#id12000>
>> JFace Data Binding<http://www.vogella.de/eclipse.html#id12300>
>
> I found some of his pages also. But it looks like he is only working
> with a internal list, not with a database table. But I'll look into
> it.
>
> All the code (Lars and others) is quit verbose. :-{
>
Blog concerning verbosity in JFace DataBinding API:
Well, in the comments anyway.
<http://www.toedter.com/blog/?p=36>
Back to comp.lang.java.gui | Previous | Next — Previous in thread | Find similar
How to change rows from a database table using a SWT table Cecil Westerhof <Cecil@decebal.nl> - 2012-03-17 14:06 +0100
Re: How to change rows from a database table using a SWT table Jeff Higgins <jeff@invalid.invalid> - 2012-03-17 17:21 -0400
Re: How to change rows from a database table using a SWT table Cecil Westerhof <Cecil@decebal.nl> - 2012-03-18 11:04 +0100
Re: How to change rows from a database table using a SWT table Jeff Higgins <jeff@invalid.invalid> - 2012-03-18 06:54 -0400
Re: How to change rows from a database table using a SWT table Cecil Westerhof <Cecil@decebal.nl> - 2012-03-18 12:59 +0100
Re: How to change rows from a database table using a SWT table Jeff Higgins <jeff@invalid.invalid> - 2012-03-18 08:56 -0400
Re: How to change rows from a database table using a SWT table Jeff Higgins <jeff@invalid.invalid> - 2012-03-18 12:38 -0400
csiph-web