Package org.objectstyle.wolips.eomodeler.editors.relationship

Examples of org.objectstyle.wolips.eomodeler.editors.relationship.EOModelLabelProvider


    GridLayout layout = new GridLayout(2, false);
    setLayout(layout);

    Combo modelCombo = new Combo(this, SWT.BORDER | SWT.FLAT | SWT.READ_ONLY);
    _modelComboViewer = new ComboViewer(modelCombo);
    _modelComboViewer.setLabelProvider(new EOModelLabelProvider());
    _modelComboViewer.setContentProvider(new EOModelListContentProvider());
    // GridData modelComboLayoutData = new
    // GridData(GridData.FILL_HORIZONTAL);
    // modelCombo.setLayoutData(modelComboLayoutData);
    _modelComboViewer.addSelectionChangedListener(new ISelectionChangedListener() {
View Full Code Here


    _inheritanceTypeViewer.setSelection(new StructuredSelection(InheritanceType.SINGLE_TABLE));
    Label destinationModelLabel = new Label(subclassDialogArea, SWT.NONE);
    destinationModelLabel.setText(Messages.getString("SubclassEntityDialog.destinationModelLabel"));
    _destinationModelViewer = new ComboViewer(subclassDialogArea);
    _destinationModelViewer.setContentProvider(new EOModelListContentProvider());
    _destinationModelViewer.setLabelProvider(new EOModelLabelProvider());
    _destinationModelViewer.setSorter(new ViewerSorter());
    _destinationModelViewer.setInput(_destinationModel);
    _destinationModelViewer.getCombo().setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
    _destinationModelViewer.addSelectionChangedListener(new ISelectionChangedListener() {
      public void selectionChanged(SelectionChangedEvent _event) {
View Full Code Here

TOP

Related Classes of org.objectstyle.wolips.eomodeler.editors.relationship.EOModelLabelProvider

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.