Package hidb2.kern

Examples of hidb2.kern.ValuedInstance


  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

    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

TOP

Related Classes of hidb2.kern.ValuedInstance

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.