public class CProjectRole extends AbstractProjectRole
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CCNATURE |
static java.lang.String |
CNATURE |
static java.lang.String |
NAME |
Constructor and Description |
---|
CProjectRole()
Initializes this project role.
|
Modifier and Type | Method and Description |
---|---|
void |
addCPathEntry(CPathEntry newentry)
Adds the supplied C/C++ path entry to this role.
|
boolean |
equals(java.lang.Object obj) |
CPathEntry[] |
getCPathEntries()
Returns a list of all C/C++ path entries currently registered
with an eclipse project.
|
int |
hashCode() |
boolean |
isCpp()
Returns true if this project is a C++ project.
|
void |
setCpp(boolean cpp)
(Un)Marks this project as a C++ project.
|
getName
public static final java.lang.String CNATURE
public static final java.lang.String CCNATURE
public static final java.lang.String NAME
public void setCpp(boolean cpp)
cpp
- true <=> This project will be marked as a C++ project.public boolean isCpp()
public void addCPathEntry(CPathEntry newentry)
newentry
- The new path entry that shall be added.public CPathEntry[] getCPathEntries()
public int hashCode()
hashCode
in class AbstractProjectRole
public boolean equals(java.lang.Object obj)
equals
in class AbstractProjectRole