congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
ICommonContentExtensionSite.getMemento
Code IndexAdd Tabnine to your IDE (free)

How to use
getMemento
method
in
org.eclipse.ui.navigator.ICommonContentExtensionSite

Best Java code snippets using org.eclipse.ui.navigator.ICommonContentExtensionSite.getMemento (Showing top 3 results out of 315)

origin: org.eclipse/org.eclipse.jdt.ui

public void init(ICommonContentExtensionSite commonContentExtensionSite) {
  IExtensionStateModel stateModel = commonContentExtensionSite
      .getExtensionStateModel();
  IMemento memento = commonContentExtensionSite.getMemento();
  fStateModel = stateModel; 
  restoreState(memento);
  fLayoutPropertyListener = new IPropertyChangeListener() {
    public void propertyChange(PropertyChangeEvent event) {
      if (Values.IS_LAYOUT_FLAT.equals(event.getProperty())) {
        if (event.getNewValue() != null) {
          boolean newValue = ((Boolean) event.getNewValue())
              .booleanValue() ? true : false;
          setIsFlatLayout(newValue);
        }
      }
    }
  };
  fStateModel.addPropertyChangeListener(fLayoutPropertyListener);
  IPreferenceStore store = PreferenceConstants.getPreferenceStore();
  boolean showCUChildren = store
      .getBoolean(PreferenceConstants.SHOW_CU_CHILDREN);
  setProvideMembers(showCUChildren);
}

origin: org.eclipse.jdt/org.eclipse.jdt.ui

IExtensionStateModel stateModel = commonContentExtensionSite
    .getExtensionStateModel();
IMemento memento = commonContentExtensionSite.getMemento();
origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.ui

IExtensionStateModel stateModel = commonContentExtensionSite
    .getExtensionStateModel();
IMemento memento = commonContentExtensionSite.getMemento();
org.eclipse.ui.navigatorICommonContentExtensionSitegetMemento

Javadoc

Advanced extensions may expose user-customizeable properties that affect the structure or behavior of the extension. Clients may use the given memento to restore or persist these settings between sessions.

Popular methods of ICommonContentExtensionSite

  • getExtensionStateModel
    The extension state model allows an extension to isolate all of the dynamic state information that a
  • getExtension
  • getService

Popular in Java

  • Parsing JSON documents to java classes using gson
  • setContentView (Activity)
  • getApplicationContext (Context)
  • onCreateOptionsMenu (Activity)
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • Top 17 PhpStorm Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now