Package org.jboss.ide.eclipse.freemarker.dialogs

Examples of org.jboss.ide.eclipse.freemarker.dialogs.ContextValueDialog.open()


        }

        public void doWork() {
            ContextValueDialog dialog = new ContextValueDialog(new Shell(),
                    null, getResource());
            if (IDialogConstants.OK_ID == dialog.open()) {
                reloadContextValues();
            }
        }
    }
View Full Code Here


                String key = contextValuesTable.getSelection()[0].getText(0);
                ContextValue value = ConfigurationManager.getInstance(getResource().getProject()).getContextValue(key,
                        getResource(), false);
                ContextValueDialog dialog = new ContextValueDialog(new Shell(),
                        value, getResource());
                if (IDialogConstants.OK_ID == dialog.open()) {
                    reloadContextValues();
                }
            }
        }
    }
View Full Code Here

    @Override
    public void widgetDefaultSelected(SelectionEvent e) {}

    public void doWork() {
      ContextValueDialog dialog = new ContextValueDialog(new Shell(), null, vEditor.getFile());
      if (IDialogConstants.OK_ID == dialog.open()) {
        reloadContextValues();
      }
    }
  }
View Full Code Here

      int index = contextValuesTable.getSelectionIndex();
      if (index >= 0) {
        String key = contextValuesTable.getSelection()[0].getText(0);
        ContextValue value = ConfigurationManager.getInstance(vEditor.getFile().getProject()).getContextValue(key, vEditor.getFile(), false);
        ContextValueDialog dialog = new ContextValueDialog(new Shell(), value, vEditor.getFile());
        if (IDialogConstants.OK_ID == dialog.open()) {
          reloadContextValues();
        }
      }
    }
  }
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.