/**
  * Do binding.
  *
  * @see org.eclipse.papyrus.views.properties.widgets.AbstractPropertyEditor#doBinding()
  */
 @Override
 protected void doBinding() {
   super.doBinding();
   IStaticContentProvider provider = input.getContentProvider(propertyPath);
   if (provider != null) {
     editor.setReferenceBrowserContentProvider(provider);
   }
   if (getInputObservableValue() instanceof ICommitListener) {
     editor.addCommitListener((ICommitListener) getInputObservableValue());
   }
 }
Ejemplo n.º 2
0
 @Override
 protected void doBinding() {
   super.doBinding();
   refresh();
 }