Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » get row number from table label provider
get row number from table label provider [message #323246] Sun, 16 December 2007 20:43 Go to next message
Todd Chambery is currently offline Todd Chambery
Messages: 13
Registered: July 2009
Junior Member
--=-SnDhq+25PDw+15I8zonv
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Howdy,

I have a directive from a client to display the row number in a table.

Is there a way to get the "current row index" from the jface table
architecture?

Thanks,

Todd

--=-SnDhq+25PDw+15I8zonv
Content-Type: text/html; charset=utf-8

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.16.1">
</HEAD>
<BODY>
Howdy,<BR>
<BR>
I have a directive from a client to display the row number in a table.&nbsp; <BR>
<BR>
Is there a way to get the &quot;current row index&quot; from the jface table architecture?<BR>
<BR>
Thanks,<BR>
<BR>
Todd
</BODY>
</HTML>

--=-SnDhq+25PDw+15I8zonv--
Re: get row number from table label provider [message #323252 is a reply to message #323246] Mon, 17 December 2007 03:40 Go to previous message
Thomas Schindl is currently offline Thomas Schindl
Messages: 5228
Registered: July 2009
Senior Member
No. This has been discussed already but from a framework point of view
like JFace is one this is hard to offer currently the only possibility
is to calculate this yourown.

Try to google for it and you'll find threads in the newsgroups outlining
the best solution. I once started writing a snippet demonstrating a
performant algorithm but never finished it.

Tom

Todd Chambery schrieb:
> Howdy,
>
> I have a directive from a client to display the row number in a table.
>
> Is there a way to get the "current row index" from the jface table
> architecture?
>
> Thanks,
>
> Todd


--
B e s t S o l u t i o n . at
------------------------------------------------------------ --------
Tom Schindl JFace-Committer
------------------------------------------------------------ --------
Previous Topic:Why some api cannot run crectlly in eclipse plugin
Next Topic:how to start Eclipse 3.2 with Jp locale?
Goto Forum:
  


Current Time: Wed Jul 23 08:12:46 EDT 2014

Powered by FUDForum. Page generated in 0.01822 seconds