Search in sources :

Example 1 with NullCategoryPreferencePage

use of com.cubrid.common.ui.common.preference.NullCategoryPreferencePage 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

NullCategoryPreferencePage (com.cubrid.common.ui.common.preference.NullCategoryPreferencePage)1 PreferenceNode (org.eclipse.jface.preference.PreferenceNode)1