Bug 123404 Pre-define style shouldn't be listed in the style list
Description: Pre-define style shouldn't be listed in the style list Steps to reproduce: 1.Add a label 2.New a pre-define style named "label", set font color to red 3.New a text, select it Expected result: The pre-define style can't apply to the text through any way Actual result: In property editor or properties sheet, the style list lists the pre-define style, and it can be applied to the text Note: In context menu, pre-define style is invisible for the text
UI/org.eclipse.birt.report.designer.ui.lib.explorer/src/org/eclipse/birt/report/designer/ui/lib/explorer/LibraryExplorerTreeViewPage.java
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Menu;
import org.eclipse.swt.widgets.TreeItem;
import org.eclipse.swt.widgets.Widget;
import org.eclipse.ui.PlatformUI;
import org.osgi.service.prefs.BackingStoreException;
/**
 * This class represents the tree view page of the data view
 * 
 */
public class LibraryExplorerTreeViewPage extends LibraryExplorerViewPage implements
		Listener,
		IValidationListener,
		ActivityStackListener,
		IPreferenceChangeListener
{
	private ListenerElementVisitor visitor ;
	private List dataSetsToRefresh = new ArrayList( );
	private ILibraryProvider libraryProvider;
	private IEclipsePreferences reportPreferenceNode;
	private TreeViewer treeViewer;
	/**
	 * constructor
	 * 
	 * @param reportHandle
	 *            the handle of the report design
	 */
	public LibraryExplorerTreeViewPage( )