1
/*******************************************************************************
2
* Copyright (c) 2006, 2008 Wind River Systems and others.
3
* All rights reserved. This program and the accompanying materials
4
* are made available under the terms of the Eclipse Public License v1.0
5
* which accompanies this distribution, and is available at
6
* http://www.eclipse.org/legal/epl-v10.html
9
* Wind River Systems - initial API and implementation
10
*******************************************************************************/
11
package org.eclipse.cdt.dsf.ui.viewmodel;
13
import org.eclipse.cdt.dsf.concurrent.Immutable;
14
import org.eclipse.core.runtime.IAdaptable;
17
* View model element which is stored as the data object of nodes in the viewer.
18
* The implementation of this interface is usually a wrapper object for an object
19
* from some data model, which is then used to correctly implement the
20
* {@link #equals(Object)} and {@link #hashCode()} methods of this wrapper.
25
public interface IVMContext extends IAdaptable {
28
* Returns the view model node that originated this element.
30
public IVMNode getVMNode();