|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.ide.model.DefaultDisplayable
oracle.ide.model.DefaultElement
oracle.jdeveloper.vcs.changelist.ChangeListItem
public class ChangeListItem
ChangeListItems are proxy elements that represent files in the change list. The indirection is necessary because we can't rely on the node factory containing all the files that may be shown in the change list.
Constructor Summary | |
---|---|
ChangeListItem(java.net.URL url, java.util.Collection<Project> projects, IconOverlay overlay) |
|
ChangeListItem(java.net.URL url, IconOverlay overlay) |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o) |
Node |
findNode() Get the node for this element from the node factory. |
Node |
findOrCreateNode() Get or create the node for this element from the node factory. |
javax.swing.Icon |
getIcon() This implementation returns a plain document icon. |
IconOverlay |
getOverlay() |
Project |
getProject() |
java.util.Collection<Project> |
getProjects() |
java.lang.String |
getShortLabel() This implementation returns a place-holder String . |
java.net.URL |
getURL() Returns the URL that identifies this Locatable . |
int |
hashCode() |
void |
setOverlay(IconOverlay overlay) |
void |
setURL(java.net.URL url) Sets the URL associated with this Locatable . |
Methods inherited from class oracle.ide.model.DefaultElement |
---|
getAttributes, getChildren, getData, mayHaveChildren |
Methods inherited from class oracle.ide.model.DefaultDisplayable |
---|
getLongLabel, getToolTipText, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface oracle.ide.model.Displayable |
---|
getLongLabel, getToolTipText, toString |
Constructor Detail |
---|
public ChangeListItem(java.net.URL url, IconOverlay overlay)
public ChangeListItem(java.net.URL url, java.util.Collection<Project> projects, IconOverlay overlay)
Method Detail |
---|
public Node findNode()
public Node findOrCreateNode() throws java.lang.IllegalAccessException, java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.InstantiationException
public javax.swing.Icon getIcon()
DefaultDisplayable
getIcon
in interface Displayable
getIcon
in class DefaultDisplayable
Icon
to be displayed for the Displayable
.Displayable.getIcon()
public java.lang.String getShortLabel()
DefaultDisplayable
String
.getShortLabel
in interface Displayable
getShortLabel
in class DefaultDisplayable
Displayable
that can be shown to the user.Displayable.getShortLabel()
public java.net.URL getURL()
Locatable
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.getURL
in interface Locatable
URL
identifying this Locatable
.public void setURL(java.net.URL url)
Locatable
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.setURL
in interface Locatable
url
- The URL
to set.public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public IconOverlay getOverlay()
public void setOverlay(IconOverlay overlay)
public final Project getProject()
public final java.util.Collection<Project> getProjects()
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |