public MainWindow(Composite parent, int style) { super(parent, style); initGUI(); setPreferences(); waitCursor = getDisplay().getSystemCursor(SWT.CURSOR_WAIT); defaultCursor = getDisplay().getSystemCursor(SWT.CURSOR_ARROW); clientArea.setFocus(); }
protected Composite createInsertPositionCombo(Composite composite) { Composite selectionComposite = new Composite(composite, SWT.NONE); GridLayout layout = new GridLayout(); layout.marginHeight = 0; layout.marginWidth = 0; selectionComposite.setLayout(layout); composite.setFocus(); addOrderEntryChoices(selectionComposite); return selectionComposite; }
public void focus() { if (locationBar != null) { locationBar.setFocus(); } else { if (browser != null) { browser.setFocus(); } else { parent.setFocus(); } } }
@Override public void setFocus() { /* System.out.println("setFocus: " + Thread.currentThread()); */ if (fEmbeddedWindow != null) { fEmbeddedWindow.setFocus(); // fEmbeddedWindow.forceFocus(); // fEmbeddedWindow.traverse(SWT.TRAVERSE_RETURN); } }
@Override public void setFocus() { parent.setFocus(); }
@Override public void setFocus() { composite.setFocus(); }
/** Grabs input focus. */ public void setFocus() { mainComposite.setFocus(); }
@Override public void setFocus() { if (fControl != null) { fControl.setFocus(); } }
@Override public void setFocus() { if (container != null) { container.setFocus(); } }
/** * Sets the focus. * * @see org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditorWithFlyOutPalette#setFocus() */ @Override public void setFocus() { splitter.setFocus(); super.setFocus(); }
public void postSetFocus() { pnlRoot.setFocus(); }
@Focus public void setFocus() { mParent.setFocus(); }
@Override public void setFocus() { main.setFocus(); }
public void setFocus() { banner.setFocus(); }