use of org.eclipse.wst.xsd.ui.internal.common.commands.UpdateContentModelCommand in project webtools.sourceediting by eclipse.
the class XSDModelGroupSection method doWidgetSelected.
public void doWidgetSelected(SelectionEvent e) {
XSDModelGroup particle = (XSDModelGroup) input;
if (e.widget == modelGroupCombo) {
XSDCompositor newValue = XSDCompositor.get(modelGroupCombo.getText());
UpdateContentModelCommand command = new UpdateContentModelCommand(org.eclipse.wst.xsd.ui.internal.common.util.Messages._UI_ACTION_CHANGE_CONTENT_MODEL, particle, newValue);
getCommandStack().execute(command);
}
super.doWidgetSelected(e);
}
Aggregations