use of org.eclipse.wst.xsd.ui.internal.common.commands.AddDocumentationCommand in project webtools.sourceediting by eclipse.
the class AnnotationSection method doHandleEvent.
public void doHandleEvent(Event event) {
if (input instanceof XSDConcreteComponent) {
if (event.widget == simpleText) {
// $NON-NLS-1$
AddDocumentationCommand command = new AddDocumentationCommand(Messages._UI_ACTION_ADD_DOCUMENTATION, null, (XSDConcreteComponent) input, simpleText.getText(), "");
getCommandStack().execute(command);
}
}
}
Aggregations