Revision 43377 trunk/org.gvsig.desktop/org.gvsig.desktop.framework/org.gvsig.andami/src/main/java/org/gvsig/andami/ui/mdiFrame/MDIFrame.java
MDIFrame.java | ||
---|---|---|
1939 | 1939 |
return helper.confirmDialog(message, title, optionType, messageType, msgid); |
1940 | 1940 |
} |
1941 | 1941 |
|
1942 |
@Override |
|
1942 | 1943 |
public String inputDialog(String message, String title, int messageType, |
1943 | 1944 |
String initialValue) { |
1944 | 1945 |
DefaultThreadSafeDialogs helper = new DefaultThreadSafeDialogs(this, this.bEstado); |
1945 | 1946 |
return helper.inputDialog(message, title, messageType, initialValue); |
1946 | 1947 |
} |
1947 | 1948 |
|
1949 |
@Override |
|
1948 | 1950 |
public String inputDialog(String message, String title) { |
1949 | 1951 |
DefaultThreadSafeDialogs helper = new DefaultThreadSafeDialogs(this, this.bEstado); |
1950 | 1952 |
return helper.inputDialog(message, title); |
1951 | 1953 |
} |
1952 | 1954 |
|
1955 |
@Override |
|
1953 | 1956 |
public void showDialog(Component contents, String title) { |
1954 | 1957 |
DefaultThreadSafeDialogs helper = new DefaultThreadSafeDialogs(this, this.bEstado); |
1955 | 1958 |
helper.showDialog(contents, title); |
1956 | 1959 |
} |
1957 | 1960 |
|
1961 |
@Override |
|
1958 | 1962 |
public Component createComponent(Class<? extends Component> theClass, |
1959 | 1963 |
Object... parameters) { |
1960 | 1964 |
DefaultThreadSafeDialogs helper = new DefaultThreadSafeDialogs(this, this.bEstado); |
1961 | 1965 |
return helper.createComponentWithParams(theClass, parameters); |
1962 | 1966 |
} |
1963 | 1967 |
|
1968 |
@Override |
|
1964 | 1969 |
public Component createComponentWithParams( |
1965 | 1970 |
Class<? extends Component> theClass, Object[] parameters) { |
1966 | 1971 |
DefaultThreadSafeDialogs helper = new DefaultThreadSafeDialogs(this, this.bEstado); |
1967 | 1972 |
return helper.createComponentWithParams(theClass, parameters); |
1968 | 1973 |
} |
1969 | 1974 |
|
1975 |
@Override |
|
1970 | 1976 |
public File[] showChooserDialog( |
1971 | 1977 |
final String title, |
1972 | 1978 |
final int type, // SAVE_DIALOG / OPEN_DIALOG |
... | ... | |
1980 | 1986 |
return helper.showChooserDialog(title, type, selectionMode, multiselection, initialPath, filter, fileHidingEnabled); |
1981 | 1987 |
} |
1982 | 1988 |
|
1989 |
@Override |
|
1983 | 1990 |
public File[] showOpenDirectoryDialog(String title, File initialPath) { |
1984 | 1991 |
return showChooserDialog(title, JFileChooser.OPEN_DIALOG, JFileChooser.DIRECTORIES_ONLY, false, initialPath, null, false); |
1985 | 1992 |
} |
1986 | 1993 |
|
1994 |
@Override |
|
1987 | 1995 |
public File[] showOpenFileDialog(String title, File initialPath) { |
1988 | 1996 |
return showChooserDialog(title, JFileChooser.OPEN_DIALOG, JFileChooser.FILES_ONLY, false, initialPath, null, false); |
1989 | 1997 |
} |
1990 | 1998 |
|
1999 |
@Override |
|
1991 | 2000 |
public File[] showSaveFileDialog(String title, File initialPath) { |
1992 | 2001 |
return showChooserDialog(title, JFileChooser.SAVE_DIALOG, JFileChooser.FILES_ONLY, false, initialPath, null, false); |
1993 | 2002 |
} |
Also available in: Unified diff