org.openstreetmap.josm.gui.dialogs.relation
Class RelationDialogManager.DialogContext

java.lang.Object
  extended by org.openstreetmap.josm.gui.dialogs.relation.RelationDialogManager.DialogContext
Enclosing class:
RelationDialogManager

private static class RelationDialogManager.DialogContext
extends java.lang.Object

Helper class for keeping the context of a relation editor. A relation editor is open for a specific relation managed by a specific OsmDataLayer


Field Summary
 OsmDataLayer layer
           
 Relation relation
           
 
Constructor Summary
RelationDialogManager.DialogContext(OsmDataLayer layer, Relation relation)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int hashCode()
           
 boolean matchesLayer(OsmDataLayer layer)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

relation

public final Relation relation

layer

public final OsmDataLayer layer
Constructor Detail

RelationDialogManager.DialogContext

public RelationDialogManager.DialogContext(OsmDataLayer layer,
                                           Relation relation)
Method Detail

hashCode

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

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

matchesLayer

public boolean matchesLayer(OsmDataLayer layer)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


JOSM