Reworked some parts of the MachineContext to make its status clear.
[Mograsim.git] / plugins / net.mograsim.plugin.core / src / net / mograsim / plugin / nature / MachineContextStatus.java
1 package net.mograsim.plugin.nature;
2
3 public enum MachineContextStatus
4 {
5         /**
6          * A machine is currently associated and maybe running.
7          */
8         ACTIVE,
9         /**
10          * A machine is currently associated and maybe running, but its ID does not match the current definition.
11          */
12         ACTIVE_CHANGED,
13         /**
14          * The project can be actively used. The project must exist, be currently valid (uses a machine id that is known to Mograsim at
15          * runtime) and opened.
16          */
17         READY,
18         /**
19          * The project exists, has Mograsim nature and some machine id at all.
20          */
21         INTACT,
22         /**
23          * The project is closed now but exists
24          */
25         CLOSED,
26         /**
27          * The project lost it's machine id / Mograsim nature or other important properties to make it work.
28          */
29         BROKEN,
30         /**
31          * The project got deleted or similar.
32          */
33         DEAD,
34         /**
35          * Initial state
36          */
37         UNKOWN;
38 }