Examples of HIDB2Toolkit


Examples of hidb2.gui.editor.HIDB2Toolkit

    _tbl.addAttribut("Min", AttrType.T_String, "Min", 60);

    _tbl.addAttribut("Max", AttrType.T_String, "Max", 60);
    _tbl.addAttribut("Step", AttrType.T_String, "Grad", 60);

    HIDB2Toolkit toolkit = new HIDB2Toolkit(_dlg.getDisplay());

    Composite containerBtn = toolkit.createComposite(panel, SWT.NONE);
    containerBtn.setLayout(FormLayoutFactory.createClearGridLayout(true, 1));

    /*Button btnAddAfter =*/toolkit.createGridButton(containerBtn, "Add", new SelectionAdapter()
      {
        @Override
        public void widgetSelected(SelectionEvent e)
          {
          QueryAttr qa = new QueryAttr();
          _query.lstQAttr.add(qa);
          _tbl.refresh();
          }
      });

    /*Button btnRem =*/toolkit.createGridButton(containerBtn, "Delete", new SelectionAdapter()
      {
        @Override
        public void widgetSelected(SelectionEvent e)
          {
          ISelection selection = _tbl.getSelection();
View Full Code Here

Examples of hidb2.gui.editor.HIDB2Toolkit

  protected HIDB2Toolkit toolkit;

  protected void initToolkit(Display dsp)
    {
    toolkit = new HIDB2Toolkit(dsp);
    }
View Full Code Here

Examples of hidb2.gui.editor.HIDB2Toolkit

    _tbl.addAttribut("Min", AttrType.T_String, "Min", 60);

    _tbl.addAttribut("Max", AttrType.T_String, "Max", 60);
    //    _tbl.addAttribut("Min", AttrType.T_String, "Min", 60);

    HIDB2Toolkit toolkit = new HIDB2Toolkit(_dlg.getDisplay());

    Composite containerBtn = toolkit.createComposite(panel, SWT.NONE);
    containerBtn.setLayout(FormLayoutFactory.createClearGridLayout(true, 1));

    /*Button btnAddAfter =*/toolkit.createGridButton(containerBtn, "Add", new SelectionAdapter()
      {
        @Override
        public void widgetSelected(SelectionEvent e)
          {
          QueryAttr qa = new QueryAttr();
          _query.lstQAttr.add(qa);
          _tbl.refresh();
          }
      });

    /*Button btnRem =*/toolkit.createGridButton(containerBtn, "Delete", new SelectionAdapter()
      {
        @Override
        public void widgetSelected(SelectionEvent e)
          {
          ISelection selection = _tbl.getSelection();
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.