Bug 122480 It is difficult to edit the properties of a library root element with Property Editor
Open a library. The Property Editor shows the properties of the library's root element. Click on any item in the Data Explorer, Palette, or Outline. The Property Editor shows the appropriate properties or is blank. Click on the library root element in the Outline. The Property Editor blanks. Click on the dark gray area outside the white or gray rectangle in the main editor window. The Property Editor shows the properties of the library's root element. Expected: Clicking on the library root element in the Outline shows the properties of the library's root element in the Property Editor. Click on the dark gray area outside the white or gray rectangle in the main editor window shows a blank Property Editor.
UI/org.eclipse.birt.report.designer.ui.lib/src/org/eclipse/birt/report/designer/internal/lib/editparts/LibraryReportDesignEditPart.java
import org.eclipse.birt.report.designer.core.model.LibraryHandleAdapter;
import org.eclipse.birt.report.designer.core.model.schematic.HandleAdapterFactory;
import org.eclipse.birt.report.designer.internal.lib.commands.SetCurrentEditModelCommand;
import org.eclipse.birt.report.designer.internal.ui.editors.schematic.border.ReportDesignMarginBorder;
import org.eclipse.birt.report.designer.internal.ui.editors.schematic.editparts.ReportDesignEditPart;
import org.eclipse.birt.report.designer.internal.ui.editors.schematic.figures.ReportRootFigure;
import org.eclipse.birt.report.designer.internal.ui.layout.AbstractPageFlowLayout;
import org.eclipse.birt.report.designer.internal.ui.layout.ReportDesignLayout;
import org.eclipse.birt.report.model.api.DesignElementHandle;
import org.eclipse.birt.report.model.api.activity.NotificationEvent;
import org.eclipse.draw2d.IFigure;
import org.eclipse.draw2d.geometry.Dimension;
import org.eclipse.draw2d.geometry.Insets;
import org.eclipse.draw2d.geometry.Rectangle;
import org.eclipse.gef.EditPart;
import org.eclipse.swt.widgets.Display;
/**
 * This is the content edit part for Library. All other library elements puts on
 * to it
 */
public class LibraryReportDesignEditPart extends ReportDesignEditPart implements
		PropertyChangeListener
{
	private static final Insets INSETS = new Insets( 30, 30, 30, 30 );
	private static final Dimension DEFAULTSIZE = new Dimension( 800, 1000 );
	/**
	 * @param obj
	 */
	public LibraryReportDesignEditPart( Object obj )
	{