Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 841077934dd3168aa3d15964a302c27f37fd00ed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*******************************************************************************
 * Copyright (c) 2007, 2008 Wind River Systems and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 * 
 * Contributors:
 *     Wind River Systems - initial API and implementation
 *******************************************************************************/
package org.eclipse.cdt.dsf.debug.ui.viewmodel.expression;

import org.eclipse.debug.core.model.IExpression;
import org.eclipse.debug.internal.ui.viewers.model.provisional.IViewerUpdate;

/**
 * An update for an element based on the given expression.  The provider processing
 * this update needs to create an expression element based on the tree path and the
 * expression object in this update.
 */
public interface IExpressionUpdate extends IViewerUpdate {

    /**
     * Returns the expression object for this update.
     */
    public IExpression getExpression();
    
    /**
     * Sets the element to the update.  The element is to be calculated by the provider
     * handling the update.
     */
    public void setExpressionElement(Object element);
}

Back to the top