Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
ModelerPreferences class supports persistent user preferences. Preferences are saved in
the user home directory in "
This class is obsolete; its users will be migrated to use preference service.
Name of the preferences file.
List of the last 4 opened project files.
Returns Cayenne preferences singleton.
Returns preferences directory
. If such directory
does not exist, it is created as a side effect of this method.
Saves preferences. Preferences stored in
Loads preferences from
logObj.warn("Can't create preferences file " + prefsFile);
logObj.warn("Error creating preferences file.", e);