|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.ide.controller.Command
oracle.ide.cmd.NewWorkspaceCommand
public class NewWorkspaceCommand
The WorkspaceCommand class implements the create new
workspace command.
Command| Field Summary |
|---|
| Fields inherited from class oracle.ide.controller.Command |
|---|
CANCEL, context, EXECUTING, MULTI_NODE, NO_CHANGE, NO_UNDO, NORMAL, OK, type |
| Constructor Summary | |
|---|---|
NewWorkspaceCommand()
Constructor. |
|
| Method Summary | |
|---|---|
static Workspace |
createEmptyWorkspace(Context context,
java.net.URL wspURL)
Creates a new empty workspace. |
static Project |
createProject(Context context,
Workspace workspace)
Provides the UI for creating a project in the given workspace |
int |
doit()
Executes the create new workspacecommand. |
| Methods inherited from class oracle.ide.controller.Command |
|---|
getAffectedNodes, getContext, getData, getId, getName, getType, isGlobal, setContext, setData, undo |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NewWorkspaceCommand()
| Method Detail |
|---|
public int doit()
throws java.lang.Exception
doit in class Commandjava.lang.Exception
public static Project createProject(Context context,
Workspace workspace)
throws java.lang.Exception
context - the contextworkspace - the workspace in which to create the project
java.lang.Exception
public static Workspace createEmptyWorkspace(Context context,
java.net.URL wspURL)
throws java.lang.IllegalAccessException,
java.lang.InstantiationException
context - The current command Context.wspURL - The URL for the new workspace; the
URL is assumed to have the proper file extension for a
workspace file.
Workspace, or null if
the workspace could not be created.
java.lang.IllegalAccessException - If the Workspace class or
its constructor is not accessible.
java.lang.InstantiationException - If the Workspace object
could not be instantiated.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||