setDisplayForRunningApp(RunTargetType.FILE);
attachHandlers();
}
public void attachHandlers() {
runAlwaysDropdown.getInput().addEventListener(Event.INPUT, new EventListener() {
@Override
public void handleEvent(Event evt) {
if (getDelegate() != null) {
getDelegate().onAlwaysRunInputChanged();
}
}
}, false);
Elements.asJsElement(userExtraInput).addEventListener(Event.INPUT, new EventListener() {
@Override
public void handleEvent(Event evt) {
if (getDelegate() != null) {
getDelegate().onPathInputChanged();
}
}
}, false);
EventListener onEnterListener = new EventListener() {
@Override
public void handleEvent(Event evt) {
if (getDelegate() != null) {
KeyboardEvent keyEvent = (KeyboardEvent) evt;
if (keyEvent.getKeyCode() == KeyboardEvent.KeyCode.ENTER) {