|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.csstudio.ui.util.ResourceUtil
public final class ResourceUtil
This class is for creating new IResource-objects.
Field Summary | |
---|---|
static int |
ERROROCCURED
Result identifier: An error occured. |
static int |
FOLDEREXISTS
Result identifier: Folder exists. |
static int |
NAMEWASNULL
Result identifier: Name was NULL. |
static int |
OK
Result identifier: Okay. |
static int |
PROJECTEXISTS
Result identifier: Project exists. |
Method Summary | |
---|---|
int |
createFolder(IContainer parentContainer,
java.lang.String folderName)
Creates a new Folder in the parentContainer. |
int |
createProject(java.lang.String projectName)
Creates a new Project. |
static ResourceUtil |
getInstance()
Delivers the instance of this class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int OK
public static final int ERROROCCURED
public static final int NAMEWASNULL
public static final int FOLDEREXISTS
public static final int PROJECTEXISTS
Method Detail |
---|
public static ResourceUtil getInstance()
public int createFolder(IContainer parentContainer, java.lang.String folderName)
parentContainer
- The IContainer, where the new folder is built infolderName
- The name of the folder
public int createProject(java.lang.String projectName)
projectName
- The name of the project
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |