Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.ui.navigator
Interface IMementoAware

All Known Subinterfaces:
ICommonContentProvider, ICommonLabelProvider, IPipelinedTreeContentProvider
All Known Implementing Classes:
AbstractSynchronizationContentProvider, AbstractSynchronizationLabelProvider, CommonActionProvider, GoIntoActionProvider, NavigatorActionService, RefactoringSynchronizationActionProvider, SynchronizationActionProvider, SynchronizationContentProvider, SynchronizationLabelProvider

public interface IMementoAware

Clients may use mementos to persist interesting state between sessions. Clients should ensure that the memento keys are unique; generally by using the id of the content extension as a prefix.

Since:
3.2

Method Summary
 void restoreState ( IMemento aMemento)
           Restore the previous state of any actions using the flags in aMemento.
 void saveState ( IMemento aMemento)
           Save flags in aMemento to remember the state of any actions that persist from session to session.
 

Method Detail

restoreState

void restoreState(
IMemento aMemento)

Restore the previous state of any actions using the flags in aMemento. This method allows the state of any actions that persist from session to session to be restored.

Parameters:
aMemento - A memento that was given to the view part to restore its state.

saveState

void saveState(
IMemento aMemento)

Save flags in aMemento to remember the state of any actions that persist from session to session.

Extensions should qualify any keys stored in the memento with their plugin id

Parameters:
aMemento - A memento that was given to the view part to save its state.

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire