summaryrefslogtreecommitdiff
path: root/sources/events/implementations/ProcessRecoverEvent.java
blob: d133127ad4d8ed1988b956d3af9c72476ee89678 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
 * VS is (c) 2008 by Paul C. Buetow
 * vs@dev.buetow.org
 */
package events.implementations;

import events.VSEvent;

// TODO: Auto-generated Javadoc
/**
 * The Class ProcessRecoverEvent.
 */
public class ProcessRecoverEvent extends VSEvent {

    /* (non-Javadoc)
     * @see events.VSEvent#onInit()
     */
    protected void onInit() {
        setClassname(getClass().toString());
    }

    /* (non-Javadoc)
     * @see events.VSEvent#onStart()
     */
    public void onStart() {
        if (process.isCrashed()) {
            process.isCrashed(false);
            logg(prefs.getString("lang.recovered"));
        }
    }
}