diff options
| author | Paul Buetow <paul@buetow.org> | 2008-05-26 19:12:29 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2008-05-26 19:12:29 +0000 |
| commit | a2cd723c26d9999b752ca5474f7a24de952b5fdb (patch) | |
| tree | 611282b1e2e9e059180078324f1efcc93406fa9c /sources/prefs/editors/VSBetterEditor.java | |
| parent | 05d5e9fd51052e8f63a49a7e9529e7e710ca0e0a (diff) | |
All abstract classes now have an Abstract in it's name
Diffstat (limited to 'sources/prefs/editors/VSBetterEditor.java')
| -rw-r--r-- | sources/prefs/editors/VSBetterEditor.java | 116 |
1 files changed, 0 insertions, 116 deletions
diff --git a/sources/prefs/editors/VSBetterEditor.java b/sources/prefs/editors/VSBetterEditor.java deleted file mode 100644 index ba15672..0000000 --- a/sources/prefs/editors/VSBetterEditor.java +++ /dev/null @@ -1,116 +0,0 @@ -/* - * VS is (c) 2008 by Paul C. Buetow - * vs@dev.buetow.org - */ -package prefs.editors; - -import java.awt.*; -import java.awt.event.*; -import javax.swing.*; - -import prefs.*; -import utils.*; - -// TODO: Auto-generated Javadoc -/** - * The Class VSBetterEditor. - */ -public abstract class VSBetterEditor extends VSEditor { - private static final long serialVersionUID = 1L; - - /** The content pane. */ - private Container contentPane; - - /** The info area. */ - private VSInfoArea infoArea; - - /** The title. */ - private String title; - - /** - * Instantiates a new lang.process.removebetter editor. - * - * @param prefs the prefs - * @param prefsToEdit the prefs to edit - * @param title the title - */ - public VSBetterEditor(VSPrefs prefs, VSPrefs prefsToEdit, String title) { - super(prefs, prefsToEdit); - this.title = title; - this.contentPane = createContentPane(); - } - - /** - * Gets the title. - * - * @return the title - */ - public String getTitle() { - return title; - } - - /** - * Gets the content pane. - * - * @return the content pane - */ - public Container getContentPane() { - contentPane.setBackground(Color.WHITE); - return contentPane; - } - - /** - * Creates the content pane. - * - * @return the j panel - */ - private JPanel createContentPane() { - JPanel panel = new JPanel(); - panel.setLayout(new BoxLayout(panel, BoxLayout.Y_AXIS)); - - infoArea = new VSInfoArea(); - JPanel editPanel = getEditPanel(); - JPanel buttonPanel = getButtonPanel(); - - JScrollPane scrollPane = new JScrollPane(editPanel); - panel.add(editPanel); - //panel.add(infoArea); - panel.add(buttonPanel); - - return panel; - } - - /* (non-Javadoc) - * @see prefs.editors.VSEditor#addToButtonPanelFront(javax.swing.JPanel) - */ - protected void addToButtonPanelFront(JPanel buttonPanel) { } - - /* (non-Javadoc) - * @see prefs.editors.VSEditor#addToButtonPanelLast(javax.swing.JPanel) - */ - protected void addToButtonPanelLast(JPanel buttonPanel) { } - - /* (non-Javadoc) - * @see prefs.editors.VSEditor#addToEditTableLast() - */ - protected void addToEditTableLast() { } - - /* (non-Javadoc) - * @see prefs.editors.VSEditor#actionPerformed(java.awt.event.ActionEvent) - */ - public void actionPerformed(ActionEvent e) { - //String actionCommand = e.getActionCommand(); - - /* More action in the super class!!! */ - super.actionPerformed(e); - } - - /** - * Gets the info area. - * - * @return the info area - */ - protected VSInfoArea getInfoArea() { - return infoArea; - } -} |
