Package org.objectstyle.wolips.eomodeler.utils

Examples of org.objectstyle.wolips.eomodeler.utils.StayEditingCellEditorListener


    }
    TableUtils.setCellEditor(EOArgument.class.getName(), EOArgument.DIRECTION, new KeyComboBoxCellEditor(argumentsTable, argumentDirectionNames), cellEditors);
    myArgumentsTableViewer.setCellModifier(new EOArgumentsCellModifier(myArgumentsTableViewer));
    myArgumentsTableViewer.setCellEditors(cellEditors);
   
    new StayEditingCellEditorListener(myArgumentsTableViewer, EOArgument.class.getName(), AbstractEOArgument.NAME);
    new StayEditingCellEditorListener(myArgumentsTableViewer, EOArgument.class.getName(), AbstractEOArgument.COLUMN_NAME);
    new StayEditingCellEditorListener(myArgumentsTableViewer, EOArgument.class.getName(), EOArgument.DIRECTION);
  }
View Full Code Here


    TableUtils.setCellEditor(EOAttribute.class.getName(), AbstractEOArgument.COLUMN_NAME, new WOTextCellEditor(attributesTable), cellEditors);
    updateCellEditors(cellEditors);
    myAttributesTableViewer.setCellModifier(new EOAttributesCellModifier(myAttributesTableViewer, cellEditors));
    myAttributesTableViewer.setCellEditors(cellEditors);
   
    new StayEditingCellEditorListener(myAttributesTableViewer, EOAttribute.class.getName(), EOAttribute.PROTOTYPE);
    new StayEditingCellEditorListener(myAttributesTableViewer, EOAttribute.class.getName(), AbstractEOArgument.NAME);
    new StayEditingCellEditorListener(myAttributesTableViewer, EOAttribute.class.getName(), AbstractEOArgument.COLUMN_NAME);
  }
View Full Code Here

    TableUtils.setCellEditor(EORelationship.class.getName(), EORelationship.OPTIONAL, new CheckboxCellEditor(), cellEditors);
    TableUtils.setCellEditor(EORelationship.class.getName(), EORelationship.NAME, new WOTextCellEditor(relationshipsTable), cellEditors);
    myRelationshipsTableViewer.setCellModifier(new EORelationshipsCellModifier(myRelationshipsTableViewer));
    myRelationshipsTableViewer.setCellEditors(cellEditors);

    new StayEditingCellEditorListener(myRelationshipsTableViewer, EORelationship.class.getName(), EORelationship.NAME);
  }
View Full Code Here

    TableUtils.setCellEditor(EOSortOrdering.class.getName(), EOSortOrdering.CASE_INSENSITIVE, new CheckboxCellEditor(mySortOrderingsTableViewer.getTable()), cellEditors);
    mySortOrderingsTableViewer.setCellEditors(cellEditors);
    mySortOrderingsTableViewer.setCellModifier(new TablePropertyCellModifier(mySortOrderingsTableViewer));
    mySortOrderingsTableViewer.getTable().setLayoutData(sortOrderingsTableLayoutData);

    new StayEditingCellEditorListener(mySortOrderingsTableViewer, EOSortOrdering.class.getName(), EOSortOrdering.KEY);

    myAddRemoveButtonGroup = new AddRemoveButtonGroup(topForm, new AddSortOrderingHandler(), new RemoveSortOrderingHandler());
    myAddRemoveButtonGroup.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  }
View Full Code Here

    TableUtils.setCellEditor(EOEntity.class.getName(), EOEntity.CLASS_NAME, new WOTextCellEditor(entitiesTable), cellEditors);
    TableUtils.setCellEditor(EOEntity.class.getName(), EOEntity.PARENT, new KeyComboBoxCellEditor(entitiesTable, new String[0], SWT.READ_ONLY), cellEditors);
    myEntitiesTableViewer.setCellModifier(new EOEntitiesCellModifier(myEntitiesTableViewer, cellEditors));
    myEntitiesTableViewer.setCellEditors(cellEditors);
   
    new StayEditingCellEditorListener(myEntitiesTableViewer, EOEntity.class.getName(), EOEntity.NAME);
    new StayEditingCellEditorListener(myEntitiesTableViewer, EOEntity.class.getName(), EOEntity.EXTERNAL_NAME);
    new StayEditingCellEditorListener(myEntitiesTableViewer, EOEntity.class.getName(), EOEntity.CLASS_NAME);
    new StayEditingCellEditorListener(myEntitiesTableViewer, EOEntity.class.getName(), EOEntity.PARENT);

    myTableRefresher = new TableRefreshPropertyListener("EntitiesChanged", myEntitiesTableViewer);
    myTableRowRefresher = new TableRowRefreshPropertyListener(myEntitiesTableViewer);
  }
View Full Code Here

TOP

Related Classes of org.objectstyle.wolips.eomodeler.utils.StayEditingCellEditorListener

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.