|
What this is
Other links
The source code/* * Sun Public License Notice * * The contents of this file are subject to the Sun Public License * Version 1.0 (the "License"). You may not use this file except in * compliance with the License. A copy of the License is available at * http://www.sun.com/ * * The Original Code is NetBeans. The Initial Developer of the Original * Code is Sun Microsystems, Inc. Portions Copyright 1997-2004 Sun * Microsystems, Inc. All Rights Reserved. */ package org.netbeans.modules.project.ui; import java.net.URL; import java.util.ArrayList; import java.util.List; import java.io.File; import org.openide.options.SystemOption; import org.openide.util.NbBundle; /** SystemOption to store the list of open projects * XXX Should be removed later and changed either to registry * or something else */ public class OpenProjectListSettings extends SystemOption { private static final String OPEN_PROJECTS_URLS = "OpenProjectsURLs"; //NOI18N private static final String LAST_OPEN_PROJECT_DIR = "LastOpenProjectDir"; //NOI18N private static final String OPEN_SUBPROJECTS = "OpenSubprojects"; //NOI18N private static final String OPEN_AS_MAIN = "OpenAsMain"; //NOI18N private static final String MAIN_PROJECT_URL = "MainProjectURL"; //NOI18N private static final String RECENT_PROJECTS_URLS = "RecentProjectsURLs"; //NOI18N private static final String PROP_PROJECTS_FOLDER = "projectsFolder"; //NOI18N private static final String RECENT_TEMPLATES = "recentlyUsedTemplates"; // NOI18N private static final String PROP_PROJECT_CATEGORY = "lastSelectedProjectCategory"; //NOI18N private static final String PROP_PROJECT_TYPE = "lastSelectedProjectType"; //NOI18N // PERSISTENCE private static final long serialVersionUID = 8754987489474L; public static OpenProjectListSettings getInstance() { return (OpenProjectListSettings)SystemOption.findObject( OpenProjectListSettings.class, true ); } public String displayName() { return NbBundle.getMessage (OpenProjectListSettings.class,"TXT_UISettings"); //NOI18N } public List/* |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.