blob: c8b80a16b71231750e02337c7103ed8c0bcadb29 [file] [log] [blame]
/*
* Copyright (c) 2014-2017 BSI Business Systems Integration AG.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* BSI Business Systems Integration AG - initial API and implementation
*/
import {ValueFieldAdapter} from '@eclipse-scout/core';
export default class SvgFieldAdapter extends ValueFieldAdapter {
constructor() {
super();
}
_onWidgetAppLinkAction(event) {
this._send('appLinkAction', {
ref: event.ref
});
}
_onWidgetEvent(event) {
if (event.type === 'appLinkAction') {
this._onWidgetAppLinkAction(event);
} else {
super._onWidgetEvent( event);
}
}
}