/* * JBoss, Home of Professional Open Source. * * See the LEGAL.txt file distributed with this work for information regarding copyright ownership and licensing. * * See the AUTHORS.txt file distributed with this work for a full listing of individual contributors. */ package org.teiid.designer.ui.actions; import org.eclipse.ui.ISelectionListener; import org.eclipse.ui.IWorkbenchWindowActionDelegate; /** * IRefreshContributor * * @since 8.0 */ public interface IRefreshContributor extends IWorkbenchWindowActionDelegate, ISelectionListener { /** * Determine if this contribution can refresh the current selection. This method is used * only to determine enablement of the RefreshAction in the workbench. The actual refresh * should be implemented in the run method. * @return true if the contribution can refresh. */ boolean canRefresh(); }