uic.widgets.filechooser
Class SystemUtil.KDESystemUtil
java.lang.Object
uic.widgets.filechooser.SystemUtil
uic.widgets.filechooser.SystemUtil.KDESystemUtil
- Enclosing class:
- SystemUtil
protected static class SystemUtil.KDESystemUtil
- extends SystemUtil
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SystemUtil.KDESystemUtil
protected SystemUtil.KDESystemUtil()
getShortCuts
public Vector getShortCuts(boolean largeIcons)
- Returns a vector of FCImageIcon for KDE.
Loads kde shortcuts from .kde/share/config/kdeglobals
If no settings can be found return the defaultkde shortcuts.
- Specified by:
getShortCuts
in class SystemUtil
- Returns:
- collection of FCImageIcon
getFile
public File getFile(String filename)
- Checks for "devices:/" as a file name to return the LinuxDevicesFile
- Specified by:
getFile
in class SystemUtil
- Parameters:
filename
- the name of the file to return
- Returns:
- a File based on fileName
getKDEDefaultShortCuts
protected Map getKDEDefaultShortCuts()
- Return the default kde shortcuts as shown in the file open/save dialog.
getKDEIcon
protected static Icon getKDEIcon(IconFactory iconFactory,
String name,
String name2,
int size)
- Currently hack for check if the user is running kde.
returns true if os.name is Linux and there is a .kde file in the users home dir
- Returns:
- true if we have found a kde settings directory.
translate
public TranslationInterface translate()
Copyright © 2002-2004 Thomas Zander Available under the Free Apache licence