Search in sources :

Example 6 with IPageChangedListener

use of org.eclipse.jface.dialogs.IPageChangedListener in project tdi-studio-se by Talend.

the class AbstractDumpEditor method createPages.

/*
     * @see MultiPageEditorPart#createPages()
     */
@Override
protected final void createPages() {
    createClientPages();
    createInfoPage();
    addPageChangedListener(new IPageChangedListener() {

        @Override
        public void pageChanged(PageChangedEvent event) {
            if (event.getSelectedPage().equals(infoPage)) {
                infoPage.focusCommnentsText();
            }
        }
    });
    resourceChangeListener = new ResourceChangeListener();
    ResourcesPlugin.getWorkspace().addResourceChangeListener(resourceChangeListener);
}
Also used : IPageChangedListener(org.eclipse.jface.dialogs.IPageChangedListener) IResourceChangeListener(org.eclipse.core.resources.IResourceChangeListener) PageChangedEvent(org.eclipse.jface.dialogs.PageChangedEvent)

Aggregations

IPageChangedListener (org.eclipse.jface.dialogs.IPageChangedListener)6 IPageChangingListener (org.eclipse.jface.dialogs.IPageChangingListener)3 IWizardPage (org.eclipse.jface.wizard.IWizardPage)3 Control (org.eclipse.swt.widgets.Control)3 PageChangedEvent (org.eclipse.jface.dialogs.PageChangedEvent)2 CMWizardDialog (com.cubrid.common.ui.spi.dialog.CMWizardDialog)1 AddShardWizard (com.cubrid.cubridmanager.ui.shard.control.AddShardWizard)1 IResourceChangeListener (org.eclipse.core.resources.IResourceChangeListener)1 SafeRunnable (org.eclipse.jface.util.SafeRunnable)1 Point (org.eclipse.swt.graphics.Point)1 Composite (org.eclipse.swt.widgets.Composite)1 CpuModelEvent (org.talend.designer.runtime.visualization.internal.core.cpu.CpuModelEvent)1 ICpuModelChangeListener (org.talend.designer.runtime.visualization.internal.core.cpu.ICpuModelChangeListener)1