The name of the initial branch for new projects is now "main" instead of "master". Existing projects remain unchanged. More information: https://doku.lrz.de/display/PUBLIC/GitLab

Commit 0043e842 authored by Jakob Schöttl's avatar Jakob Schöttl
Browse files

Rename config file

parent 6b15e366
...@@ -29,7 +29,7 @@ public class ApplicationWriter { ...@@ -29,7 +29,7 @@ public class ApplicationWriter {
public static void savePreferences() throws IOException, BackingStoreException { public static void savePreferences() throws IOException, BackingStoreException {
logger.info(String.format("saving preferences...")); logger.info(String.format("saving preferences..."));
Resources.getInstance("postvisualization").save(); // TODO [priority=medium] [task=refactoring] is this necessary? these file seem to have gotten changed last in 2014... Resources.getInstance("postvisualization").save(); // TODO [priority=medium] [task=refactoring] is this necessary? these file seem to have gotten changed last in 2014...
Resources.getInstance("topologycreator").save(); Resources.getInstance("topographycreator").save();
IOUtils.saveUserPreferences(VadereApplication.preferencesFilename, IOUtils.saveUserPreferences(VadereApplication.preferencesFilename,
Preferences.userNodeForPackage(VadereApplication.class)); Preferences.userNodeForPackage(VadereApplication.class));
logger.info(String.format("saved preferences.")); logger.info(String.format("saved preferences."));
......
...@@ -16,7 +16,7 @@ import org.vadere.gui.topographycreator.utils.TopographyJsonWriter; ...@@ -16,7 +16,7 @@ import org.vadere.gui.topographycreator.utils.TopographyJsonWriter;
* *
*/ */
public class ActionQuickSaveTopography extends TopographyAction { public class ActionQuickSaveTopography extends TopographyAction {
private static Resources resources = Resources.getInstance("topologycreator"); private static Resources resources = Resources.getInstance("topographycreator");
private static final long serialVersionUID = -6802761549259354252L; private static final long serialVersionUID = -6802761549259354252L;
public ActionQuickSaveTopography(String name, ImageIcon icon, IDrawPanelModel panelModel) { public ActionQuickSaveTopography(String name, ImageIcon icon, IDrawPanelModel panelModel) {
......
...@@ -16,7 +16,7 @@ import org.vadere.state.scenario.Topography; ...@@ -16,7 +16,7 @@ import org.vadere.state.scenario.Topography;
* *
*/ */
public class ActionResetTopography extends TopographyAction { public class ActionResetTopography extends TopographyAction {
private static Resources resources = Resources.getInstance("topologycreator"); private static Resources resources = Resources.getInstance("topographycreator");
private static final long serialVersionUID = -5557013510457451231L; private static final long serialVersionUID = -5557013510457451231L;
private final UndoableEditSupport undoSupport; private final UndoableEditSupport undoSupport;
......
...@@ -16,7 +16,7 @@ import org.vadere.gui.topographycreator.utils.TopographyJsonWriter; ...@@ -16,7 +16,7 @@ import org.vadere.gui.topographycreator.utils.TopographyJsonWriter;
* *
*/ */
public class ActionSaveTopography extends TopographyAction { public class ActionSaveTopography extends TopographyAction {
private static Resources resources = Resources.getInstance("topologycreator"); private static Resources resources = Resources.getInstance("topographycreator");
private static final long serialVersionUID = -4666995743959028627L; private static final long serialVersionUID = -4666995743959028627L;
public ActionSaveTopography(String name, ImageIcon icon, IDrawPanelModel panelModel) { public ActionSaveTopography(String name, ImageIcon icon, IDrawPanelModel panelModel) {
......
...@@ -16,7 +16,7 @@ import org.vadere.util.geometry.shapes.VCircle; ...@@ -16,7 +16,7 @@ import org.vadere.util.geometry.shapes.VCircle;
* *
*/ */
public class DrawDotMode extends DefaultSelectionMode { public class DrawDotMode extends DefaultSelectionMode {
private static Resources resources = Resources.getInstance("topologycreator"); private static Resources resources = Resources.getInstance("topographycreator");
private final UndoableEditSupport undoSupport; private final UndoableEditSupport undoSupport;
private final double dotRadius; private final double dotRadius;
......
...@@ -20,7 +20,7 @@ import org.vadere.state.scenario.ScenarioElement; ...@@ -20,7 +20,7 @@ import org.vadere.state.scenario.ScenarioElement;
* *
*/ */
public class EraserMode extends DefaultSelectionMode { public class EraserMode extends DefaultSelectionMode {
private static Resources resources = Resources.getInstance("topologycreator"); private static Resources resources = Resources.getInstance("topographycreator");
private Cursor cursor; private Cursor cursor;
private final UndoableEditSupport undoSupport; private final UndoableEditSupport undoSupport;
......
...@@ -17,7 +17,7 @@ import org.vadere.gui.topographycreator.model.IDrawPanelModel; ...@@ -17,7 +17,7 @@ import org.vadere.gui.topographycreator.model.IDrawPanelModel;
* *
*/ */
public class ZoomInMode extends DefaultModeAdapter { public class ZoomInMode extends DefaultModeAdapter {
private static Resources resources = Resources.getInstance("topologycreator"); private static Resources resources = Resources.getInstance("topographycreator");
private final IDrawPanelModel panelModel; private final IDrawPanelModel panelModel;
private Cursor cursor; private Cursor cursor;
......
...@@ -17,7 +17,7 @@ import org.vadere.gui.topographycreator.model.IDrawPanelModel; ...@@ -17,7 +17,7 @@ import org.vadere.gui.topographycreator.model.IDrawPanelModel;
* *
*/ */
public class ZoomOutMode extends DefaultModeAdapter { public class ZoomOutMode extends DefaultModeAdapter {
private static Resources resources = Resources.getInstance("topologycreator"); private static Resources resources = Resources.getInstance("topographycreator");
private Cursor cursor; private Cursor cursor;
private IDrawPanelModel model; private IDrawPanelModel model;
......
...@@ -68,7 +68,7 @@ import com.jgoodies.forms.layout.CellConstraints; ...@@ -68,7 +68,7 @@ import com.jgoodies.forms.layout.CellConstraints;
import com.jgoodies.forms.layout.FormLayout; import com.jgoodies.forms.layout.FormLayout;
public class TopographyWindow extends JPanel { public class TopographyWindow extends JPanel {
private static Resources resources = Resources.getInstance("topologycreator"); private static Resources resources = Resources.getInstance("topographycreator");
private static final long serialVersionUID = -2472077480081283655L; private static final long serialVersionUID = -2472077480081283655L;
private IDrawPanelModel panelModel; private IDrawPanelModel panelModel;
// private JScrollPane scrollpane; // private JScrollPane scrollpane;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment