|
Extension SDK 10.1.3.36.73 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectoracle.ide.model.Node
oracle.ide.model.DataNode
oracle.ide.model.DataContainer
oracle.ide.model.Workspace
Workspace represents an Application.
| Field Summary | |
static java.lang.String |
EXT
Constant recording the file extension for a workpace. |
| Constructor Summary | |
Workspace()
|
|
| Method Summary | |
boolean |
canAdd(Element element)
Folder interface method. |
protected void |
closeImpl()
Subclasses should override this method to customize the close() behavior. |
Project |
currentActiveProject()
Returns the currently active Project associated with
this Workspace. |
java.net.URL |
getActiveProjectURL()
Returns the currently active project URL associated with
this Workspace. |
javax.swing.Icon |
getIcon()
Returns an Icon that can be shown in association with this
Displayable. |
protected java.lang.Object |
getObjectStoreTarget()
|
protected ObjectStore |
newObjectStore()
|
boolean |
remove(Element doc,
boolean notifyObservers)
|
void |
setActiveProject(Project activeProject)
Set the active project. |
void |
setActiveProjectURL(java.net.URL activeProjectURL)
Set the active project url. |
| Methods inherited from class oracle.ide.model.DataContainer |
add, add, add, canRemove, containsChild, equals, equalsImpl, getBaseDirectory, getChildren, getListOfChildren, getProperties, getProperty, getProperty, getSharedPropertiesOnly, getTransientProperties, getUserPropertiesOnly, mayHaveChildren, openImpl, postCloseImpl, remove, removeAll, removeAll, resetSubDirtyableOwners, setListOfChildren, setProperty, setSubDirtyableOwner, size, update |
| Methods inherited from class oracle.ide.model.DataNode |
getURL, saveImpl |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface oracle.ide.model.Element |
getAttributes, getData |
| Methods inherited from interface oracle.ide.model.Displayable |
getLongLabel, getShortLabel, getToolTipText, toString |
| Field Detail |
public static final java.lang.String EXT
| Constructor Detail |
public Workspace()
| Method Detail |
public java.net.URL getActiveProjectURL()
throws TransientMarker
URL associated with
this Workspace. If there is no currently active
project, null is returned.
TransientMarkerpublic void setActiveProjectURL(java.net.URL activeProjectURL)
public javax.swing.Icon getIcon()
DisplayableIcon that can be shown in association with this
Displayable. Typically the icon will be used in a
tree control or list control. Therefore the icon must fit
naturally within the space normally given to items within those
controls. Such icons are usually 16x16 in size or, if there is a
one-pixel transparent padding around the edge, 18x18 in size. It
is strongly recommended that icons returned by this method be
either 16x16 or 18x18 in size. If null is returned,
the control may show a default icon, or it may show no icon,
whichever is appropriate.
getIcon in interface DisplayablegetIcon in class Nodepublic boolean canAdd(Element element)
Folder interface method. Returns true if
the specified Element is an instance of
Project; returns false otherwise.
canAdd in interface FoldercanAdd in class DataContainertrue if and only if the specified
Element is not null.DefaultFolder.canAdd(Element),
Folder.canAdd(Element)
public boolean remove(Element doc,
boolean notifyObservers)
remove in class DataContainerprotected ObjectStore newObjectStore()
newObjectStore in class DataNodeprotected java.lang.Object getObjectStoreTarget()
getObjectStoreTarget in class DataNode
protected void closeImpl()
throws java.io.IOException
Node
closeImpl in class DataContainerjava.io.IOExceptionpublic Project currentActiveProject()
Project associated with
this Workspace. If there is no currently active
Project, null is returned.
This method is called currentActiveProject
instead of getActiveProject in order to avoid
having the "_activeProject" property get picked up by the
Introspector.
public void setActiveProject(Project activeProject)
|
Extension SDK 10.1.3.36.73 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Copyright © 1997, 2005, Oracle.All rights reserved.