package org.eclipse.osbp.ui.api.message; | |
public class MessageEvent { | |
public enum EventType { | |
KEYBOARD, TRIGGER, ID, MESSAGEOPEN, MESSAGECLOSE, ERROR, STATUSOPEN, STATUSCLOSE; | |
}; | |
private EventType type; | |
private String id; | |
public MessageEvent(EventType type, String id) { | |
this.type = type; | |
this.id = id; | |
} | |
public EventType getType() { | |
return type; | |
} | |
public void setType(EventType type) { | |
this.type = type; | |
} | |
public String getId() { | |
return id; | |
} | |
public void setId(String id) { | |
this.id = id; | |
} | |
} |