3 * Copyright (C) 2007 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
7 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 * See LICENSE.TXT at the top of this package for the full license terms.
11 package eu
.etaxonomy
.taxeditor
.store
;
13 import org
.eclipse
.core
.runtime
.IProgressMonitor
;
14 import org
.eclipse
.ui
.IMemento
;
16 import eu
.etaxonomy
.taxeditor
.dialogs
.LoginDialog
;
17 import eu
.etaxonomy
.taxeditor
.model
.ContextListenerAdapter
;
20 * <p>StoreStateManager class.</p>
23 * @created Sep 30, 2010
26 public class StoreStateManager
extends ContextListenerAdapter
{
29 * @see eu.etaxonomy.taxeditor.model.IContextListener#contextStart(org.eclipse.ui.IMemento, org.eclipse.core.runtime.IProgressMonitor)
33 public void contextStart(IMemento memento
, IProgressMonitor monitor
) {
37 private int authenticate(){
38 LoginDialog loginDialog
= new LoginDialog(StoreUtil
.getShell());
39 return loginDialog
.open();