@Override public void setFocus () { this.control.setFocus (); }
@Override public void setFocus() { if (fControl != null) fControl.setFocus(); }
/** * Sets the focus. */ @Override public void setFocus() { mOutlineComposite.setFocus(); }
@Override public void setFocus() { localComposite.setFocus(); }
@Override public void setFocus() { pgComp.setFocus(); }
@Override public void setFocus() { browser.setFocus(); }
@Override public void setFocus() { overlay.setFocus(); }
/** * Grabs input focus. */ public void setFocus() { mainComposite.setFocus(); }
/** * Sets focus to a part in the page. */ @Override public void setFocus() { // important to give focus to the composite rather than the label // as the composite will actually take focus (though hidden), // but setFocus on a Label is a no-op pgComp.setFocus(); }
@Override public void setFocus () { this.control.setFocus (); }
/** * {@inheritDoc} * <p> * Manually set focus to form body, otherwise is the tool-bar in focus. */ @Override public void setFocus() { mainForm.getBody().setFocus(); }
@Override public void runSupport() { if (isDisposed()) { return; } cTable.setFocus(); } });
@Override public void setFocus() { scrolledComposite.getParent().setFocus(); }
/** * Grabs input focus */ public void focus() { if (locationBar != null) locationBar.setFocus(); else if (browser != null) browser.setFocus(); else parent.setFocus(); }
/** * Grabs input focus */ public void focus() { if (locationBar != null) locationBar.setFocus(); else if (browser != null) browser.setFocus(); else parent.setFocus(); }
/** * Set focus on the current selection. * */ public void setFocus() { Control[] children = control.getChildren(); if (children.length > 0) { ((ProgressInfoItem)children[0]).setButtonFocus(); } else { noEntryArea.setFocus(); } }
/** * {@inheritDoc} * <p> * Manually set focus to form body, otherwise is the tool-bar in focus. */ @Override public void setFocus() { getManagedForm().getForm().getBody().setFocus(); }
@Override LRESULT WM_LBUTTONDOWN (int /*long*/ wParam, int /*long*/ lParam) { LRESULT result = super.WM_LBUTTONDOWN (wParam, lParam); if (result == LRESULT.ZERO) return result; /* Set focus for a canvas with no children */ if ((state & CANVAS) != 0) { if ((style & SWT.NO_FOCUS) == 0 && hooksKeys ()) { if (OS.GetWindow (handle, OS.GW_CHILD) == 0) setFocus (); } } return result; }
public void viewActivated() { SelectedContentManager.clearCurrentlySelectedContent(); if (viewWhenDeactivated != null) { viewWhenDeactivated.getComposite().setFocus(); viewWhenDeactivated.updateSelectedContent(true); } else { MyTorrentsView currentView = getCurrentView(); if (currentView != null ) { currentView.updateSelectedContent(); } } }