import net.mograsim.machine.Machine;
import net.mograsim.machine.MachineRegistry;
+import net.mograsim.plugin.nature.ProjectMachineContext;
+/**
+ * @deprecated use the {@link ProjectMachineContext} instead to make the context project dependent.
+ */
+@Deprecated(forRemoval = true)
public class MachineContext
{
private Machine machine;
{
instance = new MachineContext();
// TODO don't hardcode the Am2900
- instance.setMachine(MachineRegistry.getinstalledMachines().get("Am2900").createNew());
+ instance.setMachine(MachineRegistry.getMachine("Am2900").createNew());
}
return instance;
}