1 11 package org.eclipse.debug.internal.ui.viewers; 12 13 import org.eclipse.jface.viewers.TreePath; 14 15 16 17 22 abstract class AbstractAddRemoveRequestMonitor extends AsynchronousRequestMonitor { 23 24 private TreePath fPath; 25 26 34 AbstractAddRemoveRequestMonitor(ModelNode node, TreePath path, AsynchronousModel model) { 35 super(node, model); 36 fPath = path; 37 } 38 39 protected TreePath getPath() { 40 return fPath; 41 } 42 43 46 protected boolean contains(AsynchronousRequestMonitor update) { 47 if (update instanceof AbstractAddRemoveRequestMonitor) { 48 ((AbstractAddRemoveRequestMonitor)update).getPath().equals(getPath()); 49 } 50 return false; 51 } 52 53 } 54 | Popular Tags |