protected void buttonPressed(int id) { if (id == IDialogConstants.DETAILS_ID) { // was the details button pressed? toggleDetailsArea(); } else { super.buttonPressed(id); } }
@Override protected void buttonPressed(int id) { if (id == IDialogConstants.DETAILS_ID) { // was the details button pressed? toggleDetailsArea(); } else { super.buttonPressed(id); } }
@Override protected void buttonPressed(int id) { if (id == IDialogConstants.DETAILS_ID) { // was the details button pressed? toggleDetailsArea(); } else { super.buttonPressed(id); } }
/** * Show the details portion of the dialog if it is not already visible. This * method will only work when it is invoked after the control of the dialog * has been set. In other words, after the <code>createContents</code> * method has been invoked and has returned the control for the content area * of the dialog. Invoking the method before the content area has been set * or after the dialog has been disposed will have no effect. * */ protected final void showDetailsArea() { if (!listCreated) { Control control = getContents(); if (control != null && !control.isDisposed()) { toggleDetailsArea(); } } }
/** * Show the details portion of the dialog if it is not already visible. This * method will only work when it is invoked after the control of the dialog * has been set. In other words, after the <code>createContents</code> * method has been invoked and has returned the control for the content area * of the dialog. Invoking the method before the content area has been set * or after the dialog has been disposed will have no effect. * * @since 3.1 */ protected final void showDetailsArea() { if (!listCreated) { Control control = getContents(); if (control != null && !control.isDisposed()) { toggleDetailsArea(); } } }
/** * Show the details portion of the dialog if it is not already visible. This * method will only work when it is invoked after the control of the dialog * has been set. In other words, after the <code>createContents</code> * method has been invoked and has returned the control for the content area * of the dialog. Invoking the method before the content area has been set * or after the dialog has been disposed will have no effect. * * @since 3.1 */ protected final void showDetailsArea() { if (!listCreated) { Control control = getContents(); if (control != null && !control.isDisposed()) { toggleDetailsArea(); } } }