Class 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 Detail

      • PropertyShowInContext

        public PropertyShowInContext​(IWorkbenchPart aPart,
                                     ISelection selection)
        Parameters:
        aPart - the part
        selection - the selection or null
      • PropertyShowInContext

        public PropertyShowInContext​(IWorkbenchPart aPart,
                                     ShowInContext aShowInContext)
        Parameters:
        aPart - the part
        aShowInContext - 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.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object