public class RecentFile extends HashStructureAdapter
_hash
Constructor and Description |
---|
RecentFile() |
RecentFile(Context context) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Equals support.
|
Context |
getContext() |
java.lang.String |
getEditor() |
java.lang.String |
getNodeClass() |
java.net.URL |
getNodeURL() |
java.net.URL |
getProjectURL() |
long |
getRecentTime() |
java.net.URL |
getWorkspaceURL() |
int |
hashCode() |
boolean |
isExplicit() |
boolean |
isSameNode(Context otherContext) |
boolean |
isValidNode()
This goes one step further than
isValid() as it also checks
that a full context can be created. |
void |
setEditor(java.lang.String editor) |
void |
setExplicit(boolean explicit) |
void |
setNodeClass(java.lang.String nodeClass) |
void |
setNodeURL(java.net.URL nodeURL) |
void |
setProjectURL(java.net.URL projectURL) |
void |
setRecentTime(long time) |
void |
setWorkspaceURL(java.net.URL workspaceURL) |
addStructureChangeListener, containsKey, copyTo, copyToImpl, equalsImpl, findOrCreate, forcedCopyTo, getHashStructure, removeStructureChangeListener, useObjectEquals
public RecentFile()
public RecentFile(Context context)
public boolean isExplicit()
public void setExplicit(boolean explicit)
public java.net.URL getWorkspaceURL()
public void setWorkspaceURL(java.net.URL workspaceURL)
public java.net.URL getProjectURL()
public void setProjectURL(java.net.URL projectURL)
public java.net.URL getNodeURL()
public void setNodeURL(java.net.URL nodeURL)
public java.lang.String getEditor()
EditorAddin
used on this filepublic void setEditor(java.lang.String editor)
public void setNodeClass(java.lang.String nodeClass)
public java.lang.String getNodeClass()
public long getRecentTime()
public void setRecentTime(long time)
public Context getContext()
public boolean isSameNode(Context otherContext)
public boolean isValidNode()
isValid()
as it also checks
that a full context can be created.public boolean equals(java.lang.Object o)
HashStructureAdapter
HashStructureAdapter._hash
, this base equals implementation should be
sufficient and not need to be overridden.equals
in class HashStructureAdapter
public int hashCode()
hashCode
in class java.lang.Object