Skip to content

Commit

Permalink
complete Editor skeleton set
Browse files Browse the repository at this point in the history
  • Loading branch information
bobjacobsen committed May 1, 2020
1 parent 6ef9fdb commit f691213
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
package jmri.jmrit.display.layoutEditor.LayoutEditorDialogs;

import java.awt.Color;
import java.awt.Graphics2D;
import java.awt.event.MouseEvent;
import java.awt.geom.*;
import java.util.*;
import javax.annotation.*;
import javax.swing.JPopupMenu;

import jmri.*;
import jmri.jmrit.display.layoutEditor.*;
import jmri.util.*;

/**
* MVC Editor component for LayoutRHXOver objects.
*
* @author Bob Jacobsen Copyright (c) 2020
*
*/
public class LayoutRHXOverEditor extends LayoutXOverEditor {

/**
* constructor method
*/
public LayoutRHXOverEditor(@Nonnull LayoutEditor layoutEditor) {
super(layoutEditor);
}

// These now reflect to code in the base class; eventually this heirarchy will
// expand and the code will be brought here


// private final static org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(LayoutRHXOverEditor.class);
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* @author Bob Jacobsen Copyright (c) 2020
*
*/
public class LayoutWyeEditor extends LayoutTurntableEditor {
public class LayoutWyeEditor extends LayoutTurnoutEditor {

/**
* constructor method
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
package jmri.jmrit.display.layoutEditor.LayoutEditorDialogs;

import java.awt.Color;
import java.awt.Graphics2D;
import java.awt.event.MouseEvent;
import java.awt.geom.*;
import java.util.*;
import javax.annotation.*;
import javax.swing.JPopupMenu;

import jmri.*;
import jmri.jmrit.display.layoutEditor.*;
import jmri.util.*;

/**
* MVC Editor component for LevelXing objects.
*
* Note there might not be anything for this class to do;
* LayoutTrackEditors has a comment saying that PositionablePoint
* doesn't have an editor.
*
* @author Bob Jacobsen Copyright (c) 2020
*
*/
public class LevelXingEditor extends LayoutTurntableEditor {

/**
* constructor method
*/
public LevelXingEditor(@Nonnull LayoutEditor layoutEditor) {
super(layoutEditor);
}

// These now reflect to code in the base class; eventually this heirarchy will
// expand and the code will be brought here


// private final static org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(LevelXingEditor.class);
}

0 comments on commit f691213

Please sign in to comment.