com.borland.primetime.ide
Class Context
java.lang.Object
|
+--com.borland.primetime.ide.Context
- public class Context
- extends java.lang.Object
Context is used as a convenience class to package up the Browser/Node
pair for use in Hashtables. This is frequently used by NodeViewerFactory
implementations that need to provide a new instance of a NodeViewer per
unique Browser/Node pairing.
Constructor Summary |
Context(Browser browser,
Node node)
Constructs a Context object with the specified browser and node. |
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
Context
public Context(Browser browser,
Node node)
- Constructs a Context object with the specified browser and node.
getBrowser
public Browser getBrowser()
- Returns the browser associated with this IDE context.
getNode
public Node getNode()
- Returns the node associated with this IDE context.
equals
public boolean equals(java.lang.Object o)
- Overrides:
- equals in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
- hashCode in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
- toString in class java.lang.Object