Bug 127861 [DataBinding] Mark API provisional
examples/org.eclipse.jface.examples.databinding/src/org/eclipse/jface/examples/databinding/contentprovider/test/LabelProviderTest.java
/* (non-Javadoc)
				 * @see org.eclipse.jface.databinding.viewers.ViewerLabelProvider#updateLabel(org.eclipse.jface.viewers.ViewerLabel, java.lang.Object)
				 */
				public void updateLabel(ViewerLabel label, Object element) {
					if (element instanceof RenamableItem) {
						RenamableItem item = (RenamableItem) element;
						
						label.setText(item.getName());
					}
				}
				
				protected void addListenerTo(Object next) {
					RenamableItem item = (RenamableItem)next;
					
					item.addListener(listener);
				}
				
				protected void removeListenerFrom(Object next) {
					RenamableItem item = (RenamableItem)next;
					
					item.removeListener(listener);					
				}
			});
			list.setInput(setOfRenamables);
	
			IDataBindingContext viewerContext = ExampleBinding.createContext(list.getControl());
			selectedRenamable = (IReadableValue)viewerContext.createUpdatable(new Property(list, ViewersProperties.SINGLE_SELECTION));
			
			Composite buttonBar = new Composite(shell, SWT.NONE);
			{