myBindingContext = BindingFactory.createContext(); myBindingContext.bind(myNameText, new Property(myStoredProcedure, EOStoredProcedure.NAME), null); myBindingContext.bind(myExternalNameText, new Property(myStoredProcedure, EOStoredProcedure.EXTERNAL_NAME), null);
if (myStoredProcedure != null) { myBindingContext = BindingFactory.createContext(); myBindingContext.bind(myNameText, new Property(myStoredProcedure, EOStoredProcedure.NAME), null); myBindingContext.bind(myExternalNameText, new Property(myStoredProcedure, EOStoredProcedure.EXTERNAL_NAME), null); }
  public void setInput(IWorkbenchPart _part, ISelection _selection) {    super.setInput(_part, _selection);    disposeBindings();    Object selectedObject = ((IStructuredSelection) _selection).getFirstElement();    myStoredProcedure = (EOStoredProcedure) selectedObject;    myBindingContext = BindingFactory.createContext();    myBindingContext.bind(myNameText, new Property(myStoredProcedure, EOStoredProcedure.NAME), null);    myBindingContext.bind(myExternalNameText, new Property(myStoredProcedure, EOStoredProcedure.EXTERNAL_NAME), null);  }