~ubuntu-branches/ubuntu/oneiric/tuxguitar/oneiric

« back to all changes in this revision

Viewing changes to src/org/herac/tuxguitar/gui/SongTableViewer.java

  • Committer: Bazaar Package Importer
  • Author(s): Philippe Coval
  • Date: 2008-06-19 00:30:30 UTC
  • mto: (5.1.2 sid)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20080619003030-h719szrhsngou7c6
Tags: upstream-1.0
ImportĀ upstreamĀ versionĀ 1.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
package org.herac.tuxguitar.gui;
2
 
 
3
 
import org.eclipse.swt.widgets.Composite;
4
 
import org.herac.tuxguitar.gui.editors.TablatureEditor;
5
 
import org.herac.tuxguitar.gui.table.SongTableInfo;
6
 
 
7
 
public class SongTableViewer {
8
 
        private TablatureEditor tablatureEditor;
9
 
        private SongTableInfo tableInfo;
10
 
        
11
 
        public SongTableViewer(TablatureEditor tablatureEditor){
12
 
                this.tablatureEditor = tablatureEditor;
13
 
        }
14
 
        
15
 
    public void showTable(Composite parent) {
16
 
        this.tableInfo = new SongTableInfo(parent,this.tablatureEditor);
17
 
    }
18
 
    
19
 
    public SongTableInfo getTableInfo(){
20
 
        return this.tableInfo;
21
 
    }
22
 
    
23
 
}