Skip to main content
Jump to: navigation, search

Difference between revisions of "JFaceSnippets"

(Viewers)
(Viewers)
Line 2: Line 2:
 
==Viewers==
 
==Viewers==
 
===[http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jface.snippets/Eclipse%20JFace%20Snippets/org/eclipse/jface/snippets/viewers/Snippet001TableViewer.java?view=markup  Snippet001TableViewer]===
 
===[http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jface.snippets/Eclipse%20JFace%20Snippets/org/eclipse/jface/snippets/viewers/Snippet001TableViewer.java?view=markup  Snippet001TableViewer]===
Demonstrates a simply TableViewer with one column. It holds all important classes used for all Table-like JFace-Viewers (LabelProvider,IStructuredContentProvider)
+
Demonstrates a simply TableViewer with one column. It holds all important classes used for all Table-like JFace-Viewers (''LabelProvider'',''IStructuredContentProvider'')
  
 
[[Image:Snippet1.png]]
 
[[Image:Snippet1.png]]
  
 
===[http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jface.snippets/Eclipse%20JFace%20Snippets/org/eclipse/jface/snippets/viewers/Snippet002TreeViewer.java?view=markup  Snippet002TreeViewer]===
 
===[http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jface.snippets/Eclipse%20JFace%20Snippets/org/eclipse/jface/snippets/viewers/Snippet002TreeViewer.java?view=markup  Snippet002TreeViewer]===
Demonstrates a simply TreeViewer with one column. It describes all important classes used for all Tree-like JFace-Viewers (LabelProvider,ITreeContentProvider)
+
Demonstrates a simply TreeViewer with one column. It describes all important classes used for all Tree-like JFace-Viewers (''LabelProvider'',''ITreeContentProvider'')
  
 
[[Image:Snippet2.png]]
 
[[Image:Snippet2.png]]
  
 
===[http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jface.snippets/Eclipse%20JFace%20Snippets/org/eclipse/jface/snippets/viewers/Snippet003TableLabelProvider.java?view=markup Snippet003TableLabelProvider]===
 
===[http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jface.snippets/Eclipse%20JFace%20Snippets/org/eclipse/jface/snippets/viewers/Snippet003TableLabelProvider.java?view=markup Snippet003TableLabelProvider]===
Demonstrates tables with more than one column and the usage of ITableLabelProvider
+
Demonstrates tables with more than one column and the usage of ''ITableLabelProvider''
  
 
[[Image:Snippet3.png]]
 
[[Image:Snippet3.png]]

Revision as of 18:37, 23 January 2007

JFace-Snippets are small easy understandable programming example how to use JFace API. You can find them in CVS JFace code snippets:

Viewers

Snippet001TableViewer

Demonstrates a simply TableViewer with one column. It holds all important classes used for all Table-like JFace-Viewers (LabelProvider,IStructuredContentProvider)

Snippet1.png

Snippet002TreeViewer

Demonstrates a simply TreeViewer with one column. It describes all important classes used for all Tree-like JFace-Viewers (LabelProvider,ITreeContentProvider)

Snippet2.png

Snippet003TableLabelProvider

Demonstrates tables with more than one column and the usage of ITableLabelProvider

File:Snippet3.png

Back to the top