Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » save and restore editor state zoom position(save and restore eclipse UI editor state zoom position )
save and restore editor state zoom position [message #775821] Fri, 06 January 2012 18:22
sk sk is currently offline sk skFriend
Messages: 1
Registered: January 2012
Junior Member
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.just open and close an editor part
2.Workbench state -currently we saved default information(100% unzoomed part) while close and
opening workbench state.

Additionally we want to "save the zoomed state in workbench close and open" .

In left side navigator 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

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}
Previous Topic:Restoring shared object project
Next Topic:Disable cookies in internal browser
Goto Forum:

Current Time: Mon Jun 25 20:04:49 GMT 2018

Powered by FUDForum. Page generated in 0.02622 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top