1 /*******************************************************************************
2 * Copyright (c) 2010, 2011 Ericsson
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
10 * Francois Chouinard - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.linuxtools
.tmf
.ui
.project
.model
;
16 import java
.util
.List
;
18 import org
.eclipse
.core
.resources
.IResource
;
19 import org
.eclipse
.core
.runtime
.IPath
;
22 * <b><u>ITmfProjectModelElement</u></b>
24 * TODO: Make ITmfProjectModelElement extend IAdaptable
26 public interface ITmfProjectModelElement
{
28 public String
getName();
30 public IResource
getResource();
32 public IPath
getPath();
34 public URI
getLocation();
36 public TmfProjectElement
getProject();
38 public ITmfProjectModelElement
getParent();
40 public boolean hasChildren();
42 public List
<ITmfProjectModelElement
> getChildren();
44 public void addChild(ITmfProjectModelElement child
);
46 public void removeChild(ITmfProjectModelElement child
);
48 public void refresh();