[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Re: Showing Data from XML file into a Table Using a TableViewer

Adithya,

Visit the home page.  All links to documentation including the book and Javadoc are reachable from it:
http://www.eclipse.org/modeling/emf/?project=emf
You'll see there are quite a number of books about Eclipse available at Amazon
http://www.amazon.com/gp/product/0321331885/
There's integrated help about how to use the debugger.


adithya wrote:
Ed Merks wrote:

Adithya,

I think it behooves you to spend some time reading introductory documentation.  There are also many good books available...

Where can i get those documents?
Could you also give a link or something related as to how to debug a plug-in while running it as an Eclipse Application.

and some javadocs or references related to EMF..

I would be highly obliged..

Thanks.

adithya wrote:
Ed Merks wrote:

Adithya,

You'd have to bundle the necessary jars as plugins if they're not directly available in the JRE.

It's impossible for me to answer your other question given the lack of information (and my lack of time).  You'll just have to take advantage of your best friend, the debugger, to help answer questions like that.


adithya wrote:
Thanks for the information.
Actually,it's a problem of JRE (as you mentioned).
JRE6 supports xml 'binding' whereas jre1.5.0_14 doesn't.(i figured that out yesterday in the 'rt.jar').
Hence,i switched to jre6 and its working , but if i still want to do it using jre1.5.0_14 ,is there a way out??


Another problem i am facing is in showing table data.

Suppose i have 5 records to show then always the most recent ,in this case its showing the last record 5 times in the table.

If i show the 1st and 2nd record its showing the 2nd record twice in the table (i am using a tableviewer)..
Actually for dummy data its working.


Suppose for 'tables' i want to show the attributes then i am passing all the attributes to the GUI as a "List"

i.e. Listobject.add(tables); where

tables = table.getTable(); where table contains all the table attributes data (obtained by unmarshalling).

could you suggest something?

Adithya.



I am being really stupid but could you explain a bit on what exactly bundling means??
I have no idea about it.

When you say 'bundle' a "plugin" or a "jar" ..how is it done??i am a complete novice in it!