Bug 281888 sysout in photo demo
shutting down I get a "dispose called!" from org.eclipse.e4.demo.e4photo.ExifTable We should be using tracing for sysouts. org.eclipse.e4.workbench.ui.internal.Activator.trace(String, String, Throwable) is an example but I don't know if we should make it easy to use for client plugins, or simply if we should re-use it for our examples. PW
examples/org.eclipse.e4.demo.e4photo/src/org/eclipse/e4/demo/e4photo/ExifTable.java
import org.eclipse.core.resources.IContainer;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.e4.core.services.JSONObject;
import org.eclipse.e4.core.services.Logger;
import org.eclipse.jface.databinding.viewers.ObservableListContentProvider;
import org.eclipse.jface.databinding.viewers.ObservableMapLabelProvider;
import org.eclipse.jface.viewers.ISelectionChangedListener;
import org.eclipse.jface.viewers.SelectionChangedEvent;
import org.eclipse.jface.viewers.StructuredSelection;
import org.eclipse.jface.viewers.TableViewer;
import org.eclipse.jface.viewers.TableViewerColumn;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.ControlAdapter;
import org.eclipse.swt.events.ControlEvent;
import org.eclipse.swt.layout.FillLayout;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.TableColumn;
public class ExifTable {
	private PropertyChangeSupport changeSupport = new PropertyChangeSupport(this);
	private WritableList inputList = new WritableList();
	private IContainer input;
	private Exif selection;
	private String persistedState;
	@In
	private Composite parent;
	@In
	private Logger logger;
	public ExifTable() {