Package hidb2.gui.util

Examples of hidb2.gui.util.FormEntry


    _fNameEntry.setEditable(isEditable());
    }

  private void createCmtEntry(Composite client, HIDB2Toolkit toolkit, IActionBars actionBars)
    {
    _fCmtEntry = new FormEntry(client, toolkit, "Comment", null, false);
    _fCmtEntry.setFormEntryListener(new FormEntryAdapter(this, actionBars)
      {
        public void textValueChanged(FormEntry entry)
          {
          getFD().setComment(entry.getValue());
View Full Code Here


    _fCmtEntry.setEditable(isEditable());
    }

  private void createLabelIdxEntry(Composite client, HIDB2Toolkit 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()));
View Full Code Here

    _fIdxLabelEntry.setEditable(isEditable());
    }

  private void createIconIdxEntry(Composite client, HIDB2Toolkit 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()));
View Full Code Here

    right.setLayoutData(new TableWrapData(TableWrapData.FILL_GRAB));

    Section sectionR = Parts.createStaticSection(toolkit, right, "Informations");
    Composite cnt2 = Parts.createStaticSectionClient(toolkit, sectionR);

    _fMainTable = new FormEntry(cnt2, toolkit, "Main Table", SWT.SINGLE);
    _fMainTable.setEditable(false);

    _fCardTable = new FormEntry(cnt2, toolkit, "Card Table", SWT.SINGLE);
    _fCardTable.setEditable(false);

    _fNbInstance = new FormEntry(cnt2, toolkit, "Instance Count", SWT.SINGLE);
    _fNbInstance.setEditable(false);

    sectionR.setClient(cnt2);
    }
View Full Code Here

  private AttributTableViewer _tabvLdAttr;

  private void createNameEntry(Composite client, HIDB2Toolkit toolkit, IActionBars actionBars)
    {
    _fNameEntry = new FormEntry(client, toolkit, "Name", null, false);
    _fNameEntry.setFormEntryListener(new FormEntryAdapter(this, actionBars)
      {
        public void textValueChanged(FormEntry entry)
          {
          getFD().setName(entry.getValue());
View Full Code Here

    _fNameEntry.setEditable(isEditable());
    }

  private void createCmtEntry(Composite client, FormToolkit toolkit, IActionBars actionBars)
    {
    _fCmtEntry = new FormEntry(client, toolkit, "Comment", null, false);
    _fCmtEntry.setFormEntryListener(new FormEntryAdapter(this, actionBars)
      {
        public void textValueChanged(FormEntry entry)
          {
          getFD().setComment(entry.getValue());
View Full Code Here

    _fCmtEntry.setEditable(isEditable());
    }

  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()));
View Full Code Here

    _fIdxLabelEntry.setEditable(isEditable());
    }

  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()));
View Full Code Here

    right.setLayoutData(new TableWrapData(TableWrapData.FILL_GRAB));

    Section sectionR = Parts.createStaticSection(toolkit, right, "Informations");
    Composite cnt2 = Parts.createStaticSectionClient(toolkit, sectionR);

    _fMainTable = new FormEntry(cnt2, toolkit, "Main Table", SWT.SINGLE);
    _fMainTable.setEditable(false);

    _fNbInstance = new FormEntry(cnt2, toolkit, "Instance Count", SWT.SINGLE);
    _fNbInstance.setEditable(false);

    sectionR.setClient(cnt2);
    }
View Full Code Here

    Composite container = Parts.createStaticSectionClient(fde.toolkit, section);

    IActionBars actionBars = fde.getEditorSite().getActionBars();

    _fDescrColCount = new FormEntry(container, fde.toolkit, "Column Count", null, false);
    _fDescrColCount.setFormEntryListener(new FormEntryAdapter(fde, actionBars)
      {
        public void textValueChanged(FormEntry entry)
          {
          _adLayout.setColumnCount(Integer.parseInt(entry.getValue()));
          }
      });

    _fDescrColCount.setEditable(fde.isEditable());

    _fDescrImgIdx = new FormEntry(container, fde.toolkit, "Image Index", null, false);
    _fDescrImgIdx.setFormEntryListener(new FormEntryAdapter(fde, actionBars)
      {
        public void textValueChanged(FormEntry entry)
          {
          _adLayout.setImageIdx(Integer.parseInt(entry.getValue()));
          }
View Full Code Here

TOP

Related Classes of hidb2.gui.util.FormEntry

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.