Search in sources :

Example 1 with ComponentSelectorEventType

use of org.apache.airavata.xbaya.ui.widgets.component.ComponentSelectorEvent.ComponentSelectorEventType in project airavata by apache.

the class ComponentViewer method componentSelectorChanged.

/**
 * @see org.apache.airavata.xbaya.ui.widgets.component.ComponentSelectorListener#componentSelectorChanged(org.apache.airavata.xbaya.ui.widgets.component.ComponentSelectorEvent)
 */
public void componentSelectorChanged(ComponentSelectorEvent event) {
    ComponentSelectorEventType type = event.getType();
    switch(type) {
        case COMPONENT_SELECTED:
            Component component = event.getComponent();
            setComponent(component);
            break;
    }
}
Also used : ComponentSelectorEventType(org.apache.airavata.xbaya.ui.widgets.component.ComponentSelectorEvent.ComponentSelectorEventType) XBayaComponent(org.apache.airavata.xbaya.ui.widgets.XBayaComponent) Component(org.apache.airavata.workflow.model.component.Component)

Aggregations

Component (org.apache.airavata.workflow.model.component.Component)1 XBayaComponent (org.apache.airavata.xbaya.ui.widgets.XBayaComponent)1 ComponentSelectorEventType (org.apache.airavata.xbaya.ui.widgets.component.ComponentSelectorEvent.ComponentSelectorEventType)1