List of usage examples for org.eclipse.jface.commands PersistentState load
public abstract void load(final IPreferenceStore store, final String preferenceKey);
From source file:org.eclipse.ui.internal.commands.CommandStateProxy.java
License:Open Source License
public final void load(final IPreferenceStore store, final String preferenceKey) { if (loadState() && state instanceof PersistentState) { final PersistentState persistableState = (PersistentState) state; if (persistableState.shouldPersist() && preferenceStore != null && preferenceKey != null) { persistableState.load(preferenceStore, preferenceKey); }//from ww w . j av a2 s . co m } }