summaryrefslogtreecommitdiff
path: root/sources/prefs/editors/VSAbstractBetterEditor.java
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-06-12 21:19:36 +0300
committerPaul Buetow <paul@buetow.org>2025-06-12 21:19:36 +0300
commit5c5f252d5c7a2bdfefd4fbe54a7ae64537a64874 (patch)
tree1a4741441c7463cd3b5c97cca98fbfd1bc91519f /sources/prefs/editors/VSAbstractBetterEditor.java
parentea4f22311b639561856f37c8ac872af2cd9d55dd (diff)
Restructure project to use Maven exclusively and bump to v1.0.1-SNAPSHOT
- Remove legacy Ant build system (build.xml, sources/ directory) - Migrate to Maven-only build with standard directory structure - Add comprehensive Maven documentation and JAVA_HOME setup for Fedora - Update pom.xml with exec plugin and bump version to 1.0.1-SNAPSHOT - Add CLAUDE.md for development guidance - Update README.md with detailed build/run/clean instructions 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'sources/prefs/editors/VSAbstractBetterEditor.java')
-rw-r--r--sources/prefs/editors/VSAbstractBetterEditor.java101
1 files changed, 0 insertions, 101 deletions
diff --git a/sources/prefs/editors/VSAbstractBetterEditor.java b/sources/prefs/editors/VSAbstractBetterEditor.java
deleted file mode 100644
index 87296b6..0000000
--- a/sources/prefs/editors/VSAbstractBetterEditor.java
+++ /dev/null
@@ -1,101 +0,0 @@
-package prefs.editors;
-
-import java.awt.Color;
-import java.awt.Container;
-import java.awt.event.ActionEvent;
-
-import javax.swing.BoxLayout;
-import javax.swing.JPanel;
-
-import prefs.VSPrefs;
-
-/**
- * The class VSAbstractBetterEditor, is an improved VSAbstractEditor.
- *
- * @author Paul C. Buetow
- */
-public abstract class VSAbstractBetterEditor extends VSAbstractEditor {
- /** The content pane. */
- private Container contentPane;
-
- /** The title. */
- private String title;
-
- /**
- * An simple constructor.
- *
- * @param prefs the prefs
- * @param prefsToEdit the prefs to edit
- * @param title the title
- */
- public VSAbstractBetterEditor(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));
-
- JPanel editPanel = getEditPanel();
- JPanel buttonPanel = getButtonPanel();
-
- panel.add(editPanel);
- panel.add(buttonPanel);
-
- return panel;
- }
-
- /* (non-Javadoc)
- * @see prefs.editors.VSAbstractEditor#addToButtonPanelFront(
- * javax.swing.JPanel)
- */
- protected void addToButtonPanelFront(JPanel buttonPanel) { }
-
- /* (non-Javadoc)
- * @see prefs.editors.VSAbstractEditor#addToButtonPanelLast(
- * javax.swing.JPanel)
- */
- protected void addToButtonPanelLast(JPanel buttonPanel) { }
-
- /* (non-Javadoc)
- * @see prefs.editors.VSAbstractEditor#addToEditTableLast()
- */
- protected void addToEditTableLast() { }
-
- /* (non-Javadoc)
- * @see prefs.editors.VSAbstractEditor#actionPerformed(
- * java.awt.event.ActionEvent)
- */
- public void actionPerformed(ActionEvent e) {
- //String actionCommand = e.getActionCommand();
- /* More action in the super class!!! */
- super.actionPerformed(e);
- }
-}