1 11 12 package org.eclipse.ui.internal.services; 13 14 import org.eclipse.core.expressions.Expression; 15 import org.eclipse.core.expressions.IEvaluationContext; 16 import org.eclipse.jface.util.IPropertyChangeListener; 17 import org.eclipse.ui.services.IServiceWithSources; 18 19 25 public interface IEvaluationService extends IServiceWithSources { 26 public static final String RESULT = "org.eclipse.ui.services.result"; public static final String PROP_NOTIFYING = "org.eclipse.ui.services.notifying"; 29 30 public void addServiceListener(IPropertyChangeListener listener); 31 32 public void removeServiceListener(IPropertyChangeListener listener); 33 34 public IEvaluationReference addEvaluationListener(Expression expression, 35 IPropertyChangeListener listener, String property, Expression restrictEvaluation); 36 37 public void removeEvaluationListener(IEvaluationReference ref); 38 39 public IEvaluationContext getCurrentState(); 40 } 41 | Popular Tags |