01: /*
02: * Copyright 2001-2006 C:1 Financial Services GmbH
03: *
04: * This software is free software; you can redistribute it and/or
05: * modify it under the terms of the GNU Lesser General Public
06: * License Version 2.1, as published by the Free Software Foundation.
07: *
08: * This software is distributed in the hope that it will be useful,
09: * but WITHOUT ANY WARRANTY; without even the implied warranty of
10: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11: * Lesser General Public License for more details.
12: *
13: * You should have received a copy of the GNU Lesser General Public
14: * License along with this library; if not, write to the Free Software
15: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA
16: */
17:
18: package de.finix.contelligent.client.gui.configuration;
19:
20: import de.finix.contelligent.client.gui.AbstractGUIWithCommonRendererAndEditor;
21: import de.finix.contelligent.client.gui.ComponentEditor;
22:
23: public class HotlinkConfigurationGUI extends
24: AbstractGUIWithCommonRendererAndEditor {
25:
26: /*
27: * (non-Javadoc)
28: *
29: * @see de.finix.contelligent.client.gui.AbstractGUIWithCommonRendererAndEditor#createEditor(boolean)
30: */
31: protected ComponentEditor createEditor(boolean editable) {
32: ComponentEditor editor = new HotlinkConfigurationEditor();
33: editor.setComponent(getComponent());
34: editor.setGUI(this );
35: editor.setView(getView());
36: editor.init();
37: editor.setEditable(editable);
38: return editor;
39: }
40:
41: /*
42: * (non-Javadoc)
43: *
44: * @see de.finix.contelligent.client.gui.GUI#isSupported(int)
45: */
46: public boolean isSupported(int type) {
47: if (type == DEFAULT) {
48: return true;
49: }
50: return false;
51: }
52:
53: /*
54: * (non-Javadoc)
55: *
56: * @see de.finix.contelligent.client.gui.GUI#getName()
57: */
58: public String getName() {
59: return "Hotlink";
60: }
61: }
|