public File[] saveAs(Saveable saveable) {
		if (saveable == null) {
			return new File[0];
		}
		String path = saveable.getPreferredSavePath();
		File result = StdFileDialog.choose(saveable instanceof Component ? (Component) saveable : null, false, (String) getValue(NAME), PathUtils.getParent(path), PathUtils.getLeafName(path), mExtension);
		return result != null ? saveable.saveTo(result) : new File[0];
	}