|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.ecp.ecore.editor.util.ProjectHelper
public class ProjectHelper
Computes several strings like a namespace URL based on a project name.
Constructor Summary | |
---|---|
ProjectHelper(String projectFullName)
|
Method Summary | |
---|---|
String |
getNSPrefix()
Returns the namespace prefix. |
String |
getNSURL()
Returns the namespace URL. |
String |
getProjectFullName()
|
String |
getProjectName()
Returns the simple project name. |
void |
setProjectFullName(String projectFullName)
Sets the projects full name which is used for the computations. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProjectHelper(String projectFullName)
projectFullName
- The projects full name which should be used
for the computations.Method Detail |
---|
public String getProjectName()
public String getNSPrefix()
"org.eclipse"
if the full project name is "org.eclipse.project"
.
public String getNSURL()
public String getProjectFullName()
public void setProjectFullName(String projectFullName)
projectFullName
- The full name of the project
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |