Package com.subgraph.vega.ui.tags.tageditor

Examples of com.subgraph.vega.ui.tags.tageditor.TagEditorDialog.open()


    return new SelectionAdapter() {
      @Override
      public void widgetSelected(SelectionEvent e) {
        TagModifier tag = new TagModifier(tagModel.createTag());
        TagEditorDialog dialog = TagEditorDialog.createDialog(getShell(), tag, TaggableEditorDialog.this);
        if (dialog.open() == IDialogConstants.OK_ID) {
          tagList.add(tag);
          tagTableViewer.refresh();
          tagTableViewer.setSelection(new StructuredSelection(tag));
          setTagSelected(tag);
        }
View Full Code Here


      @Override
      public void widgetSelected(SelectionEvent e) {
        final TagModifier tag = (TagModifier)((IStructuredSelection) tagTableViewer.getSelection()).getFirstElement();
        if (tag != null) {
          TagEditorDialog dialog = TagEditorDialog.createDialog(getShell(), tag, TaggableEditorDialog.this);
          if (dialog.open() == IDialogConstants.OK_ID) {
            tagTableViewer.refresh();
            setTagSelected(tag);
          }
        }
      }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.