use of jmri.jmrix.cmri.CMRISystemConnectionMemo in project JMRI by JMRI.
the class SerialPacketGenActionTest method testCtor.
@Test
public void testCtor() {
Assume.assumeFalse(GraphicsEnvironment.isHeadless());
SerialPacketGenAction action = new SerialPacketGenAction(new CMRISystemConnectionMemo());
Assert.assertNotNull("exists", action);
}
use of jmri.jmrix.cmri.CMRISystemConnectionMemo in project JMRI by JMRI.
the class DiagnosticActionTest method testStringCtor.
@Test
public void testStringCtor() {
Assume.assumeFalse(GraphicsEnvironment.isHeadless());
DiagnosticAction action = new DiagnosticAction("CMRI test Action", new CMRISystemConnectionMemo());
Assert.assertNotNull("exists", action);
}
use of jmri.jmrix.cmri.CMRISystemConnectionMemo in project JMRI by JMRI.
the class DiagnosticFrameTest method testMemoCtor.
@Test
public void testMemoCtor() {
Assume.assumeFalse(GraphicsEnvironment.isHeadless());
DiagnosticFrame action = new DiagnosticFrame(new CMRISystemConnectionMemo());
Assert.assertNotNull("exists", action);
}
use of jmri.jmrix.cmri.CMRISystemConnectionMemo in project JMRI by JMRI.
the class NodeConfigActionTest method testStringCtor.
@Test
public void testStringCtor() {
Assume.assumeFalse(GraphicsEnvironment.isHeadless());
NodeConfigAction action = new NodeConfigAction("C/MRI test Action", new CMRISystemConnectionMemo());
Assert.assertNotNull("exists", action);
}
use of jmri.jmrix.cmri.CMRISystemConnectionMemo in project JMRI by JMRI.
the class ConnectionConfig method loadDetails.
@Override
public void loadDetails(JPanel details) {
setInstance();
b.addActionListener(new NodeConfigAction((CMRISystemConnectionMemo) adapter.getSystemConnectionMemo()));
if (!additionalItems.contains(b)) {
additionalItems.add(b);
}
super.loadDetails(details);
}
Aggregations