oracle.ide.model
Interface Locatable
- All Known Subinterfaces:
- CmtMessage, CmtModelNode, Container, Document, JavaNode, Layout, Node, TextDocument, WorkEnvironment
- All Known Implementing Classes:
- BaseLayout, CategoryFolder, CmtFolder, ConnectionNode, DataContainer, DefaultContainer, DefaultDocument, DefaultNode, HierarchicalFolder, JavaClassNode, JavaSourceNode, PropertiesContainer, TextNode, XMLDataContainer
- public interface Locatable
Method Summary |
java.net.URL |
getURL()
Returns the URL that identifies this Locatable . |
void |
setURL(java.net.URL url)
Sets the URL associated with this Locatable . |
getURL
public java.net.URL getURL()
- Returns the
URL
that identifies this Locatable
. Parts of the IDE will use the value of this URL
as a hash key for caching UI components for this Locatable
. Therefore, URL
uniqueness is important.
-
- Returns:
- The
URL
identifying this Locatable
.
setURL
public void setURL(java.net.URL url)
- Sets the
URL
associated with this Locatable
. It is important that the URL
only be changed when the Locatable
has just been created or when all caches keyed on the previous URL
can also be updated.
-
- Parameters:
url
- The URL
to set.
Copyright © 1997, 2004, Oracle. All rights reserved.