Bug 122203 No refresh when creating a template report item in masterpage header/footer
Description: No refresh when creating a template report item in masterpage header/footer Steps to reproduce: 1.Switch to masterpage, put a text in the masterpage header 2.Convert the elements in masterpage header/footer to template report item Expected result: Both the elements in masterpage header/footer are converted to template report item Actual result: Both the elements in masterpage header/footer are still report items till reopen the report
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/editors/schematic/editparts/ReportElementEditPart.java
import org.eclipse.draw2d.MouseMotionListener;
import org.eclipse.draw2d.geometry.Dimension;
import org.eclipse.draw2d.geometry.Insets;
import org.eclipse.draw2d.geometry.Point;
import org.eclipse.draw2d.geometry.Rectangle;
import org.eclipse.gef.DragTracker;
import org.eclipse.gef.EditPart;
import org.eclipse.gef.LayerConstants;
import org.eclipse.gef.Request;
import org.eclipse.gef.editparts.AbstractGraphicalEditPart;
import org.eclipse.gef.editparts.LayerManager;
import org.eclipse.gef.requests.SelectionRequest;
import org.eclipse.gef.tools.DragEditPartsTracker;
import org.eclipse.swt.SWT;
import org.eclipse.swt.SWTException;
import org.eclipse.swt.graphics.Font;
import org.eclipse.swt.graphics.Image;
import org.eclipse.swt.widgets.Display;
/**
 * <p>
 * Abstract super class for all report element editPart
 * </p>
 */
public abstract class ReportElementEditPart extends AbstractGraphicalEditPart implements
		Listener,
		IModelAdapterHelper
{
	private static final int DELAY_TIME = 1600;
	private DesignElementHandleAdapter peer;
	private AbstractGuideHandle guideHandle = null;