Merge branch 'master' into lttng_2_0_control_dev
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / src / org / eclipse / linuxtools / tmf / ui / project / model / ITmfProjectModelElement.java
1 /*******************************************************************************
2 * Copyright (c) 2010, 2011 Ericsson
3 *
4 * All rights reserved. This program and the accompanying materials are
5 * made available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
8 *
9 * Contributors:
10 * Francois Chouinard - Initial API and implementation
11 *******************************************************************************/
12
13 package org.eclipse.linuxtools.tmf.ui.project.model;
14
15 import java.net.URI;
16 import java.util.List;
17
18 import org.eclipse.core.resources.IResource;
19 import org.eclipse.core.runtime.IPath;
20
21 /**
22 * <b><u>ITmfProjectModelElement</u></b>
23 * <p>
24 * TODO: Make ITmfProjectModelElement extend IAdaptable
25 */
26 public interface ITmfProjectModelElement {
27
28 public String getName();
29
30 public IResource getResource();
31
32 public IPath getPath();
33
34 public URI getLocation();
35
36 public TmfProjectElement getProject();
37
38 public ITmfProjectModelElement getParent();
39
40 public boolean hasChildren();
41
42 public List<ITmfProjectModelElement> getChildren();
43
44 public void addChild(ITmfProjectModelElement child);
45
46 public void removeChild(ITmfProjectModelElement child);
47
48 public void refresh();
49 }
This page took 0.030563 seconds and 5 git commands to generate.