Revision 071c2929
Added by Andreas Kohlbecker almost 7 years ago
src/main/java/eu/etaxonomy/vaadin/ui/navigation/NavigationManagerBean.java | ||
---|---|---|
6 | 6 |
import java.util.Map; |
7 | 7 |
import java.util.Optional; |
8 | 8 |
|
9 |
import org.apache.log4j.Logger; |
|
9 | 10 |
import org.springframework.beans.factory.annotation.Autowired; |
10 | 11 |
import org.springframework.context.ApplicationEventPublisher; |
11 | 12 |
import org.springframework.context.annotation.Lazy; |
... | ... | |
29 | 30 |
|
30 | 31 |
private static final long serialVersionUID = 6599898650948333853L; |
31 | 32 |
|
33 |
private final static Logger logger = Logger.getLogger(NavigationManagerBean.class); |
|
34 |
|
|
32 | 35 |
@Autowired |
33 | 36 |
private ViewDisplay viewDisplay; |
34 | 37 |
|
... | ... | |
132 | 135 |
popupMap.remove(e.getPopup()); |
133 | 136 |
} |
134 | 137 |
} |
138 |
|
|
139 |
/** |
|
140 |
* {@inheritDoc} |
|
141 |
*/ |
|
142 |
@Override |
|
143 |
public void reloadCurrentView() { |
|
144 |
if(logger.isTraceEnabled()){ |
|
145 |
logger.trace("reloading " + getState()); |
|
146 |
} |
|
147 |
navigateTo(getState(), false); |
|
148 |
|
|
149 |
} |
|
135 | 150 |
} |
Also available in: Unified diff
View based authentication with login dialog