Package hidb2.gui.node

Examples of hidb2.gui.node.DataPathTitleNode


    _fCmtEntry.setEditable(isEditable());
    }

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


    _fIdxLabelEntry.setEditable(isEditable());
    }

  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()));
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

    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.node.DataPathTitleNode

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.