Package hidb2.gui.util

Examples of hidb2.gui.util.FormEntryAdapter


    }

  private void createLabelIdxEntry(Composite client, FormToolkit toolkit, IActionBars actionBars)
    {
    _fIdxLabelEntry = new FormEntry(client, toolkit, "Label Index", null, false);
    _fIdxLabelEntry.setFormEntryListener(new FormEntryAdapter(this, actionBars)
      {
        public void textValueChanged(FormEntry entry)
          {
          getFD().setLabelAttrIndex(Integer.parseInt(entry.getValue()));
          getFD().modify();
View Full Code Here


    }

  private void createIconIdxEntry(Composite client, FormToolkit toolkit, IActionBars actionBars)
    {
    _fIdxIconEntry = new FormEntry(client, toolkit, "Icon Index", null, false);
    _fIdxIconEntry.setFormEntryListener(new FormEntryAdapter(this, actionBars)
      {
        public void textValueChanged(FormEntry entry)
          {
          getFD().setIconAttrIndex(Integer.parseInt(entry.getValue()));
          getFD().modify();
View Full Code Here

      });

    _tbl.createMMI();

    // Add a specific CellModifier to manage Combo indexes <-> Real Value
    _tbl.setCellModifier(new PojoCellModifier(_tbl)
      {
        @Override
        public Object getValue(Object element, String property)
          {
          Object o = null;
View Full Code Here

    containerBtn.setLayout(FormLayoutFactory.createClearGridLayout(true, 1));

    _tbl.createMMI();

    // Add a specific CellModifier to manage Combo indexes <-> Real Value
    _tbl.setCellModifier(new PojoCellModifier(_tbl)
      {
        @Override
        public Object getValue(Object element, String property)
          {
          Object o = null;
View Full Code Here

    gdTbl.horizontalAlignment = SWT.FILL;
    gdTbl.minimumHeight = 60;
    gdTbl.heightHint = 100;
    _tbl.setLayoutData(gdTbl);

    _tbl.addAttribut(new PojoColumnDescr("Attr", T_Object, "Attr", 80)
      {
        public CellEditor createCellEditor(final Table table)
          {
          if ((_cellEdt == null) && editable)
            {
View Full Code Here

    _tbl.addROAttribut("FileName", AttrType.T_String, "File", 120);

    _tbl.addROAttribut("Status", AttrType.T_Enum, "Status", 60);

    _tbl.addAttribut(new PojoColumnDescr("Action", AttrType.T_Enum, "Action", 80)
      {
        public CellEditor createCellEditor(final Table table)
          {
          if ((_cellEdt == null) && editable)
            {
View Full Code Here

    _tabvDp.getTable().setLayoutData(data_tabv);

    _tabvDp.addAttribut("Name", T_String, "Name", 100);
    _tabvDp.addAttribut("Comment", T_String, "Comment", 100);

    _tabvDp.addAttribut(new PojoColumnDescr("Path", T_String, "Path", 200)
      {
        public CellEditor createCellEditor(Table table)
          {
          if ((_cellEdt == null) && editable)
            {
View Full Code Here

   * @param toolkit
   * @param body
   */
  private void createFolderComp(Composite parent)
    {
    _fdPage = new PojoPageEditor(this, parent, _adLayout);

    // Add Management buttons
    Group btnGrp = new Group(parent, SWT.NONE);
    toolkit.adapt(btnGrp);
    btnGrp.setLayoutData(new TableWrapData(TableWrapData.FILL_GRAB));
View Full Code Here

   * @param toolkit
   * @param body
   */
  private void createCardComp(Composite parent)
    {
    _cdPage = new PojoPageEditor(this, parent, _cdLayout);

    // Add Management (Prev/Next) buttons
    _cardBtnGrp = new Group(parent, SWT.NONE);
    toolkit.adapt(_cardBtnGrp);
    _cardBtnGrp.setLayout(FormLayoutFactory.createClearGridLayout(true, 4));
View Full Code Here

      });

    Label labA = new Label(panel, SWT.NONE);
    labA.setText("Attributes");

    _tbl = new PoserTableViewer(panel);

    GridData gdTbl = new GridData();
    gdTbl.grabExcessHorizontalSpace = true;
    gdTbl.horizontalAlignment = SWT.FILL;
    gdTbl.minimumHeight = 60;
View Full Code Here

TOP

Related Classes of hidb2.gui.util.FormEntryAdapter

Copyright © 2018 www.massapicom. 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.