1 11 12 package org.eclipse.debug.internal.ui.views.launch; 13 14 import org.eclipse.debug.internal.ui.viewers.AbstractUpdatePolicy; 15 import org.eclipse.debug.internal.ui.viewers.AsynchronousModel; 16 import org.eclipse.debug.internal.ui.viewers.AsynchronousTreeViewer; 17 import org.eclipse.swt.widgets.Composite; 18 19 public class LaunchViewer extends AsynchronousTreeViewer { 20 21 private LaunchView fView; 22 23 public LaunchViewer(Composite parent, LaunchView view) { 24 super(parent); 25 fView = view; 26 } 27 28 31 protected boolean isSuppressEqualSelections() { 32 return false; 34 } 35 36 39 public AbstractUpdatePolicy createUpdatePolicy() { 40 return new LaunchViewUpdatePolicy(fView); 41 } 42 43 46 protected AsynchronousModel createModel() { 47 return new LaunchTreeModel(this); 48 } 49 50 } 51 | Popular Tags |