@@ -206,23 +206,25 @@ public void setWindow(NSWindow window) {
206206 super .setWindow (window );
207207 }
208208
209+ @ Outlet
209210 public void setUrlField (NSTextField urlField ) {
210211 this .urlField = urlField ;
211- this .urlField .setAllowsEditingTextAttributes (true );
212- this .urlField .setSelectable (true );
212+ this .urlField .setSelectable (false );
213213 }
214214
215+ @ Outlet
215216 public void setLocalField (NSTextField localField ) {
216217 this .localField = localField ;
217- this .localField .setAllowsEditingTextAttributes (true );
218218 this .localField .setSelectable (true );
219219 }
220220
221+ @ Outlet
221222 public void setLocalLabel (NSTextField localLabel ) {
222223 this .localLabel = localLabel ;
223224 this .localLabel .setStringValue (LocaleFactory .localizedString ("Local File:" , "Transfer" ));
224225 }
225226
227+ @ Outlet
226228 public void setIconView (final NSImageView iconView ) {
227229 this .iconView = iconView ;
228230 }
@@ -242,19 +244,22 @@ public NSTextField getFilterField() {
242244 return filterField ;
243245 }
244246
245- public void setFilterField (NSTextField t ) {
247+ @ Outlet
248+ public void setFilterField (final NSTextField t ) {
246249 this .filterField = t ;
247250 notificationCenter .addObserver (this .id (),
248251 Foundation .selector ("filterFieldTextDidChange:" ),
249252 NSControl .NSControlTextDidChangeNotification ,
250253 t .id ());
251254 }
252255
256+ @ Delegate
253257 public void filterFieldTextDidChange (final NSNotification notification ) {
254258 transferTableModel .setFilter (filterField .stringValue ());
255259 this .reload ();
256260 }
257261
262+ @ Outlet
258263 public void setTransferSpinner (NSProgressIndicator transferSpinner ) {
259264 this .transferSpinner = transferSpinner ;
260265 }
@@ -306,6 +311,7 @@ public void invalidate() {
306311 super .invalidate ();
307312 }
308313
314+ @ Outlet
309315 public void setQueueTable (NSTableView view ) {
310316 this .transferTable = view ;
311317 this .transferTable .setRowHeight (new CGFloat (92 ));
0 commit comments