setEnabled(getContext() != null && textHasContent(((ITextSelection)fWorkbenchPart.getSite().getSelectionProvider().getSelection()).getText()));
boolean enabled = false; if (isValidStackFrame()) { if (textHasContent(((ITextSelection)fWorkbenchPart.getSite().getSelectionProvider().getSelection()).getText())) { enabled = true; } } setEnabled(enabled);
	public void update() {		setEnabled(getContext() != null && 			textHasContent(((ITextSelection)fWorkbenchPart.getSite().getSelectionProvider().getSelection()).getText()));	}