myParentEntityComboViewer.setInput(myEntity);
myBindingContext = BindingFactory.createContext(); myBindingContext.bind(myNameText, new Property(myEntity, EOEntity.NAME), null); myBindingContext.bind(myExternalNameText, new Property(myEntity, EOEntity.EXTERNAL_NAME), null); myBindingContext.bind(myClassNameText, new Property(myEntity, EOEntity.CLASS_NAME), null); myBindingContext.bind(myRestrictingQualifierText, new Property(myEntity, EOEntity.RESTRICTING_QUALIFIER), null); myBindingContext.bind(myAbstractButton, new Property(myEntity, EOEntity.ABSTRACT_ENTITY), null);
  public void setInput(IWorkbenchPart _part, ISelection _selection) {    super.setInput(_part, _selection);    disposeBindings();    Object selectedObject = ((IStructuredSelection) _selection).getFirstElement();    myEntity = (EOEntity) selectedObject;    myParentEntityComboViewer.setInput(myEntity);    myBindingContext = BindingFactory.createContext();    myBindingContext.bind(myNameText, new Property(myEntity, EOEntity.NAME), null); //$NON-NLS-1$ //$NON-NLS-2$    myBindingContext.bind(myExternalNameText, new Property(myEntity, EOEntity.EXTERNAL_NAME), null);    myBindingContext.bind(myClassNameText, new Property(myEntity, EOEntity.CLASS_NAME), null);    myBindingContext.bind(myRestrictingQualifierText, new Property(myEntity, EOEntity.RESTRICTING_QUALIFIER), null);    myBindingContext.bind(myAbstractButton, new Property(myEntity, EOEntity.ABSTRACT_ENTITY), null);    myParentEntityBinding = new ComboViewerBinding(myParentEntityComboViewer, myEntity, EOEntity.PARENT, myEntity.getModel(), EOModel.ENTITIES, EOEntityListContentProvider.BLANK_ENTITY); //$NON-NLS-1$  }