Browse Source

NetBean/Eclipse compat

master
Chris Cromer 4 years ago
parent
commit
4f58dd897a
  1. 7
      .classpath
  2. 15
      .project
  3. 10
      MT.eml
  4. 3
      MT.userlibraries
  5. 4
      src/cl/cromer/mt/IndividualController.java

7
.classpath

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/1.8"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="ejemplos"/>
<classpathentry kind="output" path="out/production/MT"/>
</classpath>

15
.project

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>MT</name>
<comment/>
<projects/>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments/>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>

10
MT.eml

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<component inherit-compiler-output="true" jdk="1.8" jdk_type="JavaSDK">
<output-test url="file://$MODULE_DIR$/out/test/MT"/>
<exclude-output/>
<contentEntry url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/.idea"/>
<excludeFolder url="file://$MODULE_DIR$/doc"/>
<excludeFolder url="file://$MODULE_DIR$/xmltests"/>
</contentEntry>
</component>

3
MT.userlibraries

@ -0,0 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>
<eclipse-userlibraries />

4
src/cl/cromer/mt/IndividualController.java

@ -202,7 +202,7 @@ public class IndividualController extends VBox {
}
if (mover) {
String move = "";
String move;
switch (maquina.getEnlaceActual().getMovimiento()) {
case 'L': {
move = "se movio a la izquierda";
@ -217,7 +217,7 @@ public class IndividualController extends VBox {
break;
}
}
descripcion.setText("La cinta "+move+"\nCambia del estado q" + estadoPrevio + " al estado q" + maquina.getEstadoActual().getQ());
descripcion.setText("La cinta " + move + "\nCambia del estado q" + estadoPrevio + " al estado q" + maquina.getEstadoActual().getQ());
// Undo cabezel anterior
Rectangle rectangle = (Rectangle) scene.lookup("#caja_" + cabezalAnterior);

Loading…
Cancel
Save