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/src/org/eclipse/birt/report/designer/internal/ui/editors/schematic/tools/LibraryElementsToolHandleExtends.java
/*******************************************************************************
 * Copyright (c) 2004 Actuate Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *  Actuate Corporation  - initial API and implementation
 *******************************************************************************/
package org.eclipse.birt.report.designer.internal.ui.editors.schematic.tools;
import org.eclipse.birt.report.designer.core.model.SessionHandleAdapter;
import org.eclipse.birt.report.designer.core.runtime.GUIException;
import org.eclipse.birt.report.designer.internal.ui.util.ExceptionHandler;
import org.eclipse.birt.report.designer.internal.ui.util.UIUtil;
import org.eclipse.birt.report.designer.ui.ReportPlugin;
import org.eclipse.birt.report.model.api.DesignElementHandle;
import org.eclipse.birt.report.model.api.LibraryHandle;
import org.eclipse.birt.report.model.api.ModuleHandle;
import org.eclipse.birt.report.model.api.command.ExtendsException;
import org.eclipse.jface.util.Assert;
/**
 * The tool handle extends used by elements in the library
 */
public class LibraryElementsToolHandleExtends extends AbstractToolHandleExtends