Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

oracle.ide.editor
Class RecentFile

java.lang.Object
  extended by oracle.javatools.data.HashStructureAdapter
      extended by oracle.ide.editor.RecentFile

public class RecentFile
extends HashStructureAdapter


Field Summary
 
Fields inherited from class oracle.javatools.data.HashStructureAdapter
_hash
 
Constructor Summary
RecentFile()
           
RecentFile(Context context)
           
 
Method Summary
 boolean equals(java.lang.Object o)
          Equals support.
 Context getContext()
           
 java.lang.String getEditor()
           
 java.net.URL getNodeURL()
           
 java.net.URL getProjectURL()
           
 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 setNodeURL(java.net.URL nodeURL)
           
 void setProjectURL(java.net.URL projectURL)
           
 void setWorkspaceURL(java.net.URL workspaceURL)
           
 
Methods inherited from class oracle.javatools.data.HashStructureAdapter
addStructureChangeListener, containsKey, copyTo, copyToImpl, equalsImpl, findOrCreate, forcedCopyTo, getHashStructure, removeStructureChangeListener, useObjectEquals
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecentFile

public RecentFile()

RecentFile

public RecentFile(Context context)
Method Detail

isExplicit

public boolean isExplicit()

setExplicit

public void setExplicit(boolean explicit)

getWorkspaceURL

public java.net.URL getWorkspaceURL()

setWorkspaceURL

public void setWorkspaceURL(java.net.URL workspaceURL)

getProjectURL

public java.net.URL getProjectURL()

setProjectURL

public void setProjectURL(java.net.URL projectURL)

getNodeURL

public java.net.URL getNodeURL()

setNodeURL

public void setNodeURL(java.net.URL nodeURL)

getEditor

public java.lang.String getEditor()
Returns:
the class name of the last EditorAddin used on this file

setEditor

public void setEditor(java.lang.String editor)

getContext

public Context getContext()

isSameNode

public boolean isSameNode(Context otherContext)

isValidNode

public boolean isValidNode()
This goes one step further than isValid() as it also checks that a full context can be created.

Returns:

equals

public boolean equals(java.lang.Object o)
Description copied from class: HashStructureAdapter
Equals support. As long as the subclass stores all data in the HashStructureAdapter._hash, this base equals implementation should be sufficient and not need to be overridden.

Overrides:
equals in class HashStructureAdapter

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

Copyright © 1997, 2011, Oracle. All rights reserved.