Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 367445 - store view state zoom position while close and restore the same
Summary: store view state zoom position while close and restore the same
Status: RESOLVED INVALID
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-22 12:23 EST by sk sk CLA
Modified: 2011-12-23 08:35 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sk sk CLA 2011-12-22 12:23:58 EST
Build Identifier: 3.0.0

n left side navigation we have some list which opens editors. Editor part(device image) we have zoom position 125 to 400 % . While closing editor zoom percentage is 200 , I need to save this zoom position for this part under particular list id . While opening the same list id ,it display with last zoom position.

i need this close and opening the viewpart.

public class name extends ViewPart
{
    public void init(final IViewSite site) throws PartInitException
    {     
        public void partOpened(IWorkbenchPartReference ref) {//do some stuff}

        public void partclosed(IWorkbenchPartReference ref) {//do some stuff}    
    }
}

Reproducible: Couldn't Reproduce
Comment 1 Remy Suen CLA 2011-12-22 21:33:34 EST
I'm not sure I understand your problem here.

Your editor has some information that you want saved between Eclipse sessions?
Comment 2 sk sk CLA 2011-12-23 00:51:57 EST
(In reply to comment #1)
> I'm not sure I understand your problem here.
> 
> Your editor has some information that you want saved between Eclipse sessions?

My editor has zoom in and zoom out option(device image), i just want save while closing editor and reopen with saved information.
Comment 3 sk sk CLA 2011-12-23 01:08:51 EST
(In reply to comment #2)
> (In reply to comment #1)
> > I'm not sure I understand your problem here.
> > 
> > Your editor has some information that you want saved between Eclipse sessions?


Hi Thanks for your reply,

My editor has zoom in and zoom out option(device image) for editor part view, i just want to save  "editor state" while
closing editor and reopen with saved state information(Zoomed information).

Saving the state of the GUI Part in following actions

1.while close and open an editor part 
2.Workbench state -currently we saved default information(100%) while close and opening workbench state.
Additionally we want to save the zoomed state in workbench close and open .

The first one 1.Save "Editor part State" is an enhancement task ,give some suggestion please.
Comment 4 Paul Webster CLA 2011-12-23 08:35:26 EST
For help with tasks, please use the newsgroup/forums - http://www.eclipse.org/forums

PW