/** * Sets whether this info view reacts to selection * changes in the workbench. * * @param enabled if <code>true</code> then the input is set on selection changes */ protected void setLinkingEnabled(boolean enabled) { fLinking= enabled; if (fLinking && fLastSelectionProvider != null) { computeAndDoSetInput(fLastSelectionProvider, null, true); } }
/** * Sets the input for this view. * * @param element the java element */ public final void setInput(final IJavaElement element) { computeAndDoSetInput(null, element, false); }
/** * Sets whether this info view reacts to selection * changes in the workbench. * * @param enabled if <code>true</code> then the input is set on selection changes */ protected void setLinkingEnabled(boolean enabled) { fLinking= enabled; if (fLinking && fLastSelectionProvider != null) { computeAndDoSetInput(fLastSelectionProvider, null, true); } }
/** * Determines all necessary details and delegates the computation into * a background thread. * * @param part the workbench part */ private void computeAndSetInput(final IWorkbenchPart part) { computeAndDoSetInput(part, null, false); }
/** * Sets the input for this view. * * @param element the java element */ public final void setInput(final IJavaElement element) { computeAndDoSetInput(null, element, false); }
/** * Determines all necessary details and delegates the computation into * a background thread. * * @param part the workbench part */ private void computeAndSetInput(final IWorkbenchPart part) { computeAndDoSetInput(part, null, false); }