KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > core > runtime > preferences > IExportedPreferences


1 /*******************************************************************************
2  * Copyright (c) 2004, 2005 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.core.runtime.preferences;
12
13 /**
14  * Represents a node in the preference hierarchy which is used in
15  * the import/export mechanism.
16  * <p>
17  * This interface is not intended to be implemented by clients.
18  * </p>
19  * @since 3.0
20  */

21 public interface IExportedPreferences extends IEclipsePreferences {
22
23     /**
24      * Return <code>true</code> if this node was an export root
25      * when the preferences were exported, and <code>false</code>
26      * otherwise. This information is used during the import to clear
27      * nodes when importing a node's (and its children's) preferences.
28      *
29      * @return <code>true</code> if this node is an export root
30      * and <code>false</code> otherwise
31      */

32     public boolean isExportRoot();
33
34 }
35
Popular Tags