All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.eclipse.jface.preference.IPreferencePageContainer Maven / Gradle / Ivy

The newest version!
/*******************************************************************************
 * Copyright (c) 2000, 2015 IBM Corporation and others.
 *
 * This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License 2.0
 * which accompanies this distribution, and is available at
 * https://www.eclipse.org/legal/epl-2.0/
 *
 * SPDX-License-Identifier: EPL-2.0
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.jface.preference;

/**
 * An interface used by a preference page to talk to
 * its dialog.
 */
public interface IPreferencePageContainer {
	/**
	 * Returns the preference store.
	 *
	 * @return the preference store, or null if none
	 */
	public IPreferenceStore getPreferenceStore();

	/**
	 * Adjusts the enable state of the OK
	 * button to reflect the state of the currently active
	 * page in this container.
	 * 

* This method is called by the container itself * when its preference page changes and may be called * by the page at other times to force a button state * update. *

*/ public void updateButtons(); /** * Updates the message (or error message) shown in the message line to * reflect the state of the currently active page in this container. *

* This method is called by the container itself * when its preference page changes and may be called * by the page at other times to force a message * update. *

*/ public void updateMessage(); /** * Updates the title to reflect the state of the * currently active page in this container. *

* This method is called by the container itself * when its page changes and may be called * by the page at other times to force a title * update. *

*/ public void updateTitle(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy