Package org.eclipse.ui.views.properties
Class PropertyShowInContext
- java.lang.Object
-
- org.eclipse.ui.part.ShowInContext
-
- org.eclipse.ui.views.properties.PropertyShowInContext
-
public class PropertyShowInContext extends ShowInContext
Carries the context for the Show In action. This implementation carries a workbench part and a selection.- Since:
- 3.4
-
-
Constructor Summary
Constructors Constructor Description PropertyShowInContext(IWorkbenchPart aPart, ISelection selection)PropertyShowInContext(IWorkbenchPart aPart, ShowInContext aShowInContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)IWorkbenchPartgetPart()inthashCode()voidsetPart(IWorkbenchPart part)-
Methods inherited from class org.eclipse.ui.part.ShowInContext
getInput, getSelection, setInput, setSelection
-
-
-
-
Constructor Detail
-
PropertyShowInContext
public PropertyShowInContext(IWorkbenchPart aPart, ISelection selection)
- Parameters:
aPart- the partselection- the selection ornull
-
PropertyShowInContext
public PropertyShowInContext(IWorkbenchPart aPart, ShowInContext aShowInContext)
- Parameters:
aPart- the partaShowInContext- an existing context to initialize from
-
-
Method Detail
-
getPart
public IWorkbenchPart getPart()
- Returns:
- Returns the part.
-
setPart
public void setPart(IWorkbenchPart part)
- Parameters:
part- The part to set.
-
-