View Javadoc
1 // re/mind - Remote Reminder Software 2 // Copyright (C) 2002 Moritz Petersen 3 // 4 // This program is free software; you can redistribute it and/or modify 5 // it under the terms of the GNU General Public License as published by 6 // the Free Software Foundation; either version 2 of the License, or 7 // (at your option) any later version. 8 // 9 // This program is distributed in the hope that it will be useful, 10 // but WITHOUT ANY WARRANTY; without even the implied warranty of 11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 // GNU General Public License for more details. 13 // 14 // You should have received a copy of the GNU General Public License 15 // along with this program; if not, write to the Free Software 16 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 // 18 // $Id: Config.java,v 1.1.1.1 2002/09/29 17:26:02 powerpete Exp $ 19 package de.jface.remind; 20 21 import java.awt.Color; 22 23 import java.util.ResourceBundle; 24 25 /*** 26 * Interface <code>Config</code> 27 * of project RemotePostIt. 28 * 29 * @author Moritz Petersen 30 * @version $Revision: 1.1.1.1 $ 31 */ 32 public interface Config 33 { 34 public static final ResourceBundle CONFIG = 35 ResourceBundle.getBundle("config"); 36 public static final String FTP_DATA_FILE_NAME = 37 CONFIG.getString("ftp.data.file.name"); 38 public static final String PREFERENCES_FILE_NAME = 39 CONFIG.getString("remotepostit.preferences.file.name"); 40 public static final String STORAGE_CLASS = 41 CONFIG.getString("storage.class"); 42 public static final String SERIALIZER_CLASS = 43 CONFIG.getString("serializer.class"); 44 public static final Color NOTE_COLOR = 45 new Color((float) Integer.parseInt(CONFIG.getString( 46 "note.color.red")) / 255F, 47 (float) Integer.parseInt(CONFIG.getString( 48 "note.color.green")) / 255F, 49 (float) Integer.parseInt(CONFIG.getString( 50 "note.color.blue")) / 255F); 51 public static final String MENU_FILE_LABEL = 52 CONFIG.getString("menu.file.label"); 53 public static final String MENUITEM_FILE_NEW_LABEL = 54 CONFIG.getString("menuitem.file.new.label"); 55 public static final String MENUITEM_FILE_CLOSE_LABEL = 56 CONFIG.getString("menuitem.file.close.label"); 57 public static final String MENUITEM_FILE_QUIT_LABEL = 58 CONFIG.getString("menuitem.file.quit.label"); 59 public static final boolean IS_MACINTOSH = 60 System.getProperty("mrj.version") != null; 61 public static final String NOTE_FONT_FAMILY = 62 CONFIG.getString("note.font.family"); 63 public static final String USER_PREFERENCES_CLASS = 64 CONFIG.getString("user.preferences.class"); 65 public static final String USER_PREFERENCES_FRAME_TITLE = 66 CONFIG.getString("user.preferences.frame.title"); 67 public static final String USER_PREFERENCES_FRAME_USER_LABEL = 68 CONFIG.getString("user.preferences.frame.user.label"); 69 public static final String USER_PREFERENCES_FRAME_HOST_LABEL = 70 CONFIG.getString("user.preferences.frame.host.label"); 71 public static final String USER_PREFERENCES_FRAME_PASSWORD_LABEL = 72 CONFIG.getString("user.preferences.frame.password.label"); 73 public static final String MENUITEM_FILE_SAVE_LABEL = 74 CONFIG.getString("menuitem.file.save.label"); 75 public static final String MENUITEM_FILE_REVERT_LABEL = 76 CONFIG.getString("menuitem.file.revert.label"); 77 public static final String MENU_NOTE_LABEL = 78 CONFIG.getString("menu.note.label"); 79 public static final String MENUITEM_NOTE_HIDE_LABEL = 80 CONFIG.getString("menuitem.note.hide.label"); 81 public static final String MENUITEM_NOTE_MINIMIZE_LABEL = 82 CONFIG.getString("menuitem.note.minimize.label"); 83 public static final String MENUITEM_NOTE_SHOWALL_LABEL = 84 CONFIG.getString("menuitem.note.showall.label"); 85 public static final String MENUITEM_NOTE_NEXTNOTE_LABEL = 86 CONFIG.getString("menuitem.note.nextnote.label"); 87 public static final String FRAME_TITLE = CONFIG.getString("frame.title"); 88 }

This page was automatically generated by Maven