/[hegemonie]/hegemonie/ModelViewer/ModelController.m
ViewVC logotype

Diff of /hegemonie/ModelViewer/ModelController.m

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by ano, Fri Aug 1 20:21:05 2003 UTC revision 1.4 by ano, Tue Aug 5 09:56:07 2003 UTC
# Line 106  Line 106 
106  - (void) okFile: (id) sender  - (void) okFile: (id) sender
107  {  {
108    [_affiche afficheOn];    [_affiche afficheOn];
109    _records = [_affiche animeNames];    //  _records = [_affiche animeNames];
110    [_tableAnime reloadData];    //[_tableAnime reloadData];
111  }  }
112    
113  - (void) Ok: (id)sender  - (void) Ok: (id)sender
114  {  {
115    [_affiche afficheOn];    [_affiche afficheOn];
116    _records = [_affiche animeNames];    //  _records = [_affiche animeNames];
117    [_view makeKeyAndOrderFront: _view];    [_view makeKeyAndOrderFront: _view];
118    [_tableAnime reloadData];    //[_tableAnime reloadData];
119        
   [_paletteOpen performClose: _paletteOpen];  
120    [_affiche afficheOn];    [_affiche afficheOn];
121        
122  }  }
123    
124  /**************************************/  /**************************************/
125    
126  - (int) numberOfRowsInTableView: (NSTableView *) view  // - (int) numberOfRowsInTableView: (NSTableView *) view
127  {  // {
128     return [_records count];  //    return [_records count];
129  }  // }
130    
131  - (id) tableView: (NSTableView *) view  // - (id) tableView: (NSTableView *) view
132         objectValueForTableColumn: (NSTableColumn *) column  //        objectValueForTableColumn: (NSTableColumn *) column
133         row: (int) row  //        row: (int) row
134  {  // {
135    
136    if (row >= [_records count])  //   if (row >= [_records count])
137      {  //     {
138        return @"";  //       return @"";
139      }  //     }
140    else  //   else
141      {  //     {
142        return [_records objectAtIndex: row];  //       return [_records objectAtIndex: row];
143      }  //     }
144  }  // }
145    
146  - (void) open: (id)sender  - (void) open: (id)sender
147  {  {
# Line 153  Line 152 
152  - (id) init  - (id) init
153  {  {
154     self = [super init];     self = [super init];
155     _records = [_affiche animeNames];     //_records = [_affiche animeNames];
156     [_slide setNumberOfTickMarks:25];     //[_tableAnime reloadData];
    [_tableAnime reloadData];  
157    
158     return self;     return self;
159  }  }
160    
   
161  - (void) dealloc  - (void) dealloc
162  {  {
163    RELEASE(_records);    // RELEASE(_records);
164    [super dealloc];    [super dealloc];
165  }  }
166    
167  - (void) tableViewSelectionIsChanging:(NSNotification *)aNotification  // - (void) tableViewSelectionIsChanging:(NSNotification *)aNotification
168  {  // {
169    // int row = [_tableAnime clickedRow];  //   // int row = [_tableAnime clickedRow];
170    //  [_affiche changeAnime: [_records objectAtIndex: row]];  //   //  [_affiche changeAnime: [_records objectAtIndex: row]];
171  }  // }
172    
173  - (void) retourRapA  - (void) retourRapA
174  {  {

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26