org.eclipse.xtext.ui.views
Class DefaultWorkbenchPartSelection
java.lang.Object
org.eclipse.xtext.ui.views.DefaultWorkbenchPartSelection
- All Implemented Interfaces:
- IWorkbenchPartSelection
- Direct Known Subclasses:
- DerivedSourceSelection
public class DefaultWorkbenchPartSelection
- extends java.lang.Object
- implements IWorkbenchPartSelection
- Since:
- 2.3
- Author:
- Michael Clay - Initial contribution and API
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
DefaultWorkbenchPartSelection
public DefaultWorkbenchPartSelection(org.eclipse.ui.IWorkbenchPart workbenchPart,
org.eclipse.jface.viewers.ISelection selection)
getWorkbenchPart
public org.eclipse.ui.IWorkbenchPart getWorkbenchPart()
- Specified by:
getWorkbenchPart
in interface IWorkbenchPartSelection
getSelection
public org.eclipse.jface.viewers.ISelection getSelection()
- Specified by:
getSelection
in interface IWorkbenchPartSelection
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