wt.prefs.delegates
Class DefaultSystemDelegate
java.lang.Object
wt.prefs.delegates.PreferenceDelegate
wt.prefs.delegates.DefaultSystemDelegate
- public class DefaultSystemDelegate
- extends PreferenceDelegate
This is the delegate for the default Windchill System
preferences.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultSystemDelegate
public DefaultSystemDelegate()
getLocalizedName
public final String getLocalizedName(String division,
Locale aLocale)
- Specified by:
getLocalizedName
in class PreferenceDelegate
isAdministrator
public boolean isAdministrator(String division,
WTUser user)
- This method will return false for all users, since the
Default Windchill Preferences should never be edited from
their installed value.
- Specified by:
isAdministrator
in class PreferenceDelegate
- Parameters:
division
- The division to administeruser
- The user to check for authentication access
- Returns:
- Always false.
getDivisions
public final ArrayList getDivisions(WTUser user)
- This method will return the contstant
WTPreferences.DEFAULT_CONTEXT
for the Default
division.
- Specified by:
getDivisions
in class PreferenceDelegate
- Parameters:
user
- ignored
- Returns:
- The Default System Division.
getDivisionsAsAdministrator
public final ArrayList getDivisionsAsAdministrator(WTUser user)
- This method will return the divisions which the user is administrator
of that this delegate handles. In this case, the method will always
return an empty ArrayList;
- Specified by:
getDivisionsAsAdministrator
in class PreferenceDelegate
- Parameters:
user
- ignored
- Returns:
- An empty ArrayList.