mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-83757 Play framework: navigate from views back to controller methods
This commit is contained in:
@@ -75,4 +75,21 @@ public class GotoRelatedItem {
|
||||
}
|
||||
return items;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
if (this == o) return true;
|
||||
if (o == null || getClass() != o.getClass()) return false;
|
||||
|
||||
GotoRelatedItem item = (GotoRelatedItem)o;
|
||||
|
||||
if (myElement != null ? !myElement.equals(item.myElement) : item.myElement != null) return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return myElement != null ? myElement.hashCode() : 0;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -32,7 +32,6 @@ public class DomGotoRelatedItem extends GotoRelatedItem {
|
||||
myElement = element;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
public String getCustomName() {
|
||||
return myElement.getPresentation().getElementName();
|
||||
|
||||
Reference in New Issue
Block a user