001: /**
002: * ===========================================
003: * JFreeReport : a free Java reporting library
004: * ===========================================
005: *
006: * Project Info: http://reporting.pentaho.org/
007: *
008: * (C) Copyright 2001-2007, by Object Refinery Ltd, Pentaho Corporation and Contributors.
009: *
010: * This library is free software; you can redistribute it and/or modify it under the terms
011: * of the GNU Lesser General Public License as published by the Free Software Foundation;
012: * either version 2.1 of the License, or (at your option) any later version.
013: *
014: * This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
015: * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
016: * See the GNU Lesser General Public License for more details.
017: *
018: * You should have received a copy of the GNU Lesser General Public License along with this
019: * library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
020: * Boston, MA 02111-1307, USA.
021: *
022: * [Java is a trademark or registered trademark of Sun Microsystems, Inc.
023: * in the United States and other countries.]
024: *
025: * ------------
026: * ZoomListActionPlugin.java
027: * ------------
028: * (C) Copyright 2001-2007, by Object Refinery Ltd, Pentaho Corporation and Contributors.
029: */package org.jfree.report.modules.gui.base.actions;
030:
031: import javax.swing.Icon;
032: import javax.swing.KeyStroke;
033:
034: import org.jfree.report.modules.gui.commonswing.AbstractActionPlugin;
035: import org.jfree.report.modules.gui.commonswing.SwingGuiContext;
036:
037: /**
038: * This is a dummy plugin. When the system encouters this plugin, it will insert the Zoom-Combobox instead.
039: *
040: * @author Thomas Morgner
041: */
042: public class ZoomListActionPlugin extends AbstractActionPlugin {
043: public ZoomListActionPlugin() {
044: }
045:
046: public boolean initialize(final SwingGuiContext context) {
047: super .initialize(context);
048: return true;
049: }
050:
051: protected String getConfigurationPrefix() {
052: return "org.jfree.report.modules.gui.base.zoom-list."; //$NON-NLS-1$
053: }
054:
055: /**
056: * Returns the display name for the export action.
057: *
058: * @return The display name.
059: */
060: public String getDisplayName() {
061: return null;
062: }
063:
064: /**
065: * Returns the short description for the export action.
066: *
067: * @return The short description.
068: */
069: public String getShortDescription() {
070: return null;
071: }
072:
073: /**
074: * Returns the small icon for the export action.
075: *
076: * @return The icon.
077: */
078: public Icon getSmallIcon() {
079: return null;
080: }
081:
082: /**
083: * Returns the large icon for the export action.
084: *
085: * @return The icon.
086: */
087: public Icon getLargeIcon() {
088: return null;
089: }
090:
091: /**
092: * Returns the accelerator key for the export action.
093: *
094: * @return The accelerator key.
095: */
096: public KeyStroke getAcceleratorKey() {
097: return null;
098: }
099:
100: /**
101: * Returns the mnemonic key code.
102: *
103: * @return The code.
104: */
105: public Integer getMnemonicKey() {
106: return null;
107: }
108:
109: }
|