Search in sources :

Example 6 with PreferenceNode

use of org.eclipse.jface.preference.PreferenceNode in project cubrid-manager by CUBRID.

the class PreferenceUtil method createCategoryNode.

/**
	 * Create the category preference node
	 *
	 * @param title String preference node name and title
	 * @param id String preference node id
	 * @param msg String detail message
	 * @return PreferenceNode
	 */
private static PreferenceNode createCategoryNode(String title, String id, String msg) {
    NullCategoryPreferencePage categoryPrefPage = new NullCategoryPreferencePage(title, msg);
    PreferenceNode categoryNode = new PreferenceNode(id);
    categoryNode.setPage(categoryPrefPage);
    return categoryNode;
}
Also used : NullCategoryPreferencePage(com.cubrid.common.ui.common.preference.NullCategoryPreferencePage) PreferenceNode(org.eclipse.jface.preference.PreferenceNode)

Aggregations

PreferenceNode (org.eclipse.jface.preference.PreferenceNode)6 PreferenceManager (org.eclipse.jface.preference.PreferenceManager)4 QueryOptionPreferencePage (com.cubrid.common.ui.query.preference.QueryOptionPreferencePage)2 CMPreferenceDialog (com.cubrid.common.ui.spi.dialog.CMPreferenceDialog)2 CubridServer (com.cubrid.common.ui.spi.model.CubridServer)2 CoreException (org.eclipse.core.runtime.CoreException)2 NullCategoryPreferencePage (com.cubrid.common.ui.common.preference.NullCategoryPreferencePage)1 CubridDatabase (com.cubrid.common.ui.spi.model.CubridDatabase)1 ServerType (com.cubrid.cubridmanager.core.common.model.ServerType)1 BrokerParameterPropertyPage (com.cubrid.cubridmanager.ui.broker.control.BrokerParameterPropertyPage)1 BrokersParameterPropertyPage (com.cubrid.cubridmanager.ui.broker.control.BrokersParameterPropertyPage)1 DatabaseConfigPropertyPage (com.cubrid.cubridmanager.ui.common.control.DatabaseConfigPropertyPage)1 HAPropertyPage (com.cubrid.cubridmanager.ui.common.control.HAPropertyPage)1 ManagerServerPropertyPage (com.cubrid.cubridmanager.ui.common.control.ManagerServerPropertyPage)1 ServerConfigPropertyPage (com.cubrid.cubridmanager.ui.common.control.ServerConfigPropertyPage)1 ServicePropertyPage (com.cubrid.cubridmanager.ui.common.control.ServicePropertyPage)1 DatabaseConnectionPropertyPage (com.cubrid.cubridmanager.ui.cubrid.database.control.DatabaseConnectionPropertyPage)1 ShardParameterPropertyPage (com.cubrid.cubridmanager.ui.shard.control.ShardParameterPropertyPage)1 ShardsParameterPropertyPage (com.cubrid.cubridmanager.ui.shard.control.ShardsParameterPropertyPage)1 IOException (java.io.IOException)1