Project: Birt
Bug 228372 Add "reset size" action for Image item
Reported: 2008-04-23 06:59:23 | Status: resolved fixed

Add a "reset size" action for Image item only in context menu of layout editor. The action label reads "Reset to Original Size". This action simply clears the width and height property of current image item so it will display as original size. This action should be positioned between "Edit" and "Create Template report item...".

Files changed in fix:
UI/org.eclipse.birt.report.designer.ui.editors.schematic/src/org/eclipse/birt/report/designer/internal/ui/editors/layout/ReportEditorWithPalette.java UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/command/ResetImageSizeHandler.java UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/editors/schematic/actions/ResetImageSizeAction.java UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/editors/schematic/providers/SchematicContextMenuProvider.java