1 |
/* GtkFileDialogPeer.java -- Implements FileDialogPeer with GTK |
/* GtkFileDialogPeer.java -- Implements FileDialogPeer with GTK |
2 |
Copyright (C) 1998, 1999 Free Software Foundation, Inc. |
Copyright (C) 1998, 1999, 2002 Free Software Foundation, Inc. |
3 |
|
|
4 |
This file is part of GNU Classpath. |
This file is part of GNU Classpath. |
5 |
|
|
44 |
public class GtkFileDialogPeer extends GtkDialogPeer implements FileDialogPeer |
public class GtkFileDialogPeer extends GtkDialogPeer implements FileDialogPeer |
45 |
{ |
{ |
46 |
native void create (); |
native void create (); |
47 |
|
|
48 |
public GtkFileDialogPeer (FileDialog fd) |
public GtkFileDialogPeer (FileDialog fd) |
49 |
{ |
{ |
50 |
super (fd); |
super (fd); |
55 |
setFile (directory); |
setFile (directory); |
56 |
} |
} |
57 |
|
|
58 |
native public void setFile (String file); |
public native void setFile (String file); |
59 |
|
public native void connectHooks (); |
60 |
|
|
61 |
public void setFilenameFilter (FilenameFilter filter) |
public void setFilenameFilter (FilenameFilter filter) |
62 |
{ |
{ |
68 |
return null; |
return null; |
69 |
} |
} |
70 |
} |
} |
|
|
|