Package hidb2.gui.util

Examples of hidb2.gui.util.AbstractEditor


  private AttributTableViewer _tabvCdAttr;

  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, 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

    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

  private AttributTableViewer _tabvCdAttr;

  private void createNameEntry(Composite client, 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());
          getFD().modify();
View Full Code Here

    }

  private void createCmtEntry(Composite client, 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());
          getFD().modify();
View Full Code Here

    }

  private void createLabelIdxEntry(Composite client, 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, 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

TOP

Related Classes of hidb2.gui.util.AbstractEditor

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.