use of org.eclipse.emf.eef.runtime.ui.widgets.TabElementTreeSelectionDialog in project InformationSystem by ObeoNetwork.
the class FlowEventPropertiesEditionPartImpl method addBinds.
/**
*/
protected void addBinds() {
TabElementTreeSelectionDialog dialog = new TabElementTreeSelectionDialog(binds.getInput(), bindsFilters, bindsBusinessFilters, "binds", propertiesEditionComponent.getEditingContext().getAdapterFactory(), current.eResource()) {
@Override
public void process(IStructuredSelection selection) {
for (Iterator<?> iter = selection.iterator(); iter.hasNext(); ) {
EObject elem = (EObject) iter.next();
propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(FlowEventPropertiesEditionPartImpl.this, FlowViewsRepository.FlowEvent.Properties.binds, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.ADD, null, elem));
}
binds.refresh();
}
};
dialog.open();
}
use of org.eclipse.emf.eef.runtime.ui.widgets.TabElementTreeSelectionDialog in project InformationSystem by ObeoNetwork.
the class TransitionPropertiesEditionPartForm method addOn.
/**
*/
protected void addOn() {
TabElementTreeSelectionDialog dialog = new TabElementTreeSelectionDialog(on.getInput(), onFilters, onBusinessFilters, "on", propertiesEditionComponent.getEditingContext().getAdapterFactory(), current.eResource()) {
@Override
public void process(IStructuredSelection selection) {
for (Iterator<?> iter = selection.iterator(); iter.hasNext(); ) {
EObject elem = (EObject) iter.next();
propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(TransitionPropertiesEditionPartForm.this, FlowViewsRepository.Transition.Properties.on, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.ADD, null, elem));
}
on.refresh();
}
};
dialog.open();
}
use of org.eclipse.emf.eef.runtime.ui.widgets.TabElementTreeSelectionDialog in project InformationSystem by ObeoNetwork.
the class FlowActionPropertiesEditionPartForm method addCalls.
/**
*/
protected void addCalls() {
TabElementTreeSelectionDialog dialog = new TabElementTreeSelectionDialog(calls.getInput(), callsFilters, callsBusinessFilters, "calls", propertiesEditionComponent.getEditingContext().getAdapterFactory(), current.eResource()) {
@Override
public void process(IStructuredSelection selection) {
for (Iterator<?> iter = selection.iterator(); iter.hasNext(); ) {
EObject elem = (EObject) iter.next();
propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(FlowActionPropertiesEditionPartForm.this, FlowViewsRepository.FlowAction.Properties.calls, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.ADD, null, elem));
}
calls.refresh();
}
};
dialog.open();
}
use of org.eclipse.emf.eef.runtime.ui.widgets.TabElementTreeSelectionDialog in project InformationSystem by ObeoNetwork.
the class FlowEventPropertiesEditionPartForm method addBinds.
/**
*/
protected void addBinds() {
TabElementTreeSelectionDialog dialog = new TabElementTreeSelectionDialog(binds.getInput(), bindsFilters, bindsBusinessFilters, "binds", propertiesEditionComponent.getEditingContext().getAdapterFactory(), current.eResource()) {
@Override
public void process(IStructuredSelection selection) {
for (Iterator<?> iter = selection.iterator(); iter.hasNext(); ) {
EObject elem = (EObject) iter.next();
propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(FlowEventPropertiesEditionPartForm.this, FlowViewsRepository.FlowEvent.Properties.binds, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.ADD, null, elem));
}
binds.refresh();
}
};
dialog.open();
}
use of org.eclipse.emf.eef.runtime.ui.widgets.TabElementTreeSelectionDialog in project InformationSystem by ObeoNetwork.
the class FlowActionPropertiesEditionPartImpl method addCalls.
/**
*/
protected void addCalls() {
TabElementTreeSelectionDialog dialog = new TabElementTreeSelectionDialog(calls.getInput(), callsFilters, callsBusinessFilters, "calls", propertiesEditionComponent.getEditingContext().getAdapterFactory(), current.eResource()) {
@Override
public void process(IStructuredSelection selection) {
for (Iterator<?> iter = selection.iterator(); iter.hasNext(); ) {
EObject elem = (EObject) iter.next();
propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(FlowActionPropertiesEditionPartImpl.this, FlowViewsRepository.FlowAction.Properties.calls, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.ADD, null, elem));
}
calls.refresh();
}
};
dialog.open();
}
Aggregations