protected Set<String> getPropertyPageContexts() {
try {
- return BrowseContext.getBrowseContextClosure(SimanticsUI.getSession(), defaultPropertyBrowseContexts);
+ return BrowseContext.getBrowseContextClosure(Simantics.getSession(), defaultPropertyBrowseContexts);
} catch (DatabaseException e) {
ExceptionUtils.logAndShowError("Failed to load modeled browse contexts for property page, see exception for details.", e);
return defaultPropertyBrowseContexts;
}
protected void initSession() {
- sessionContextProvider = SimanticsUI.getSessionContextProvider();
+ sessionContextProvider = Simantics.getSessionContextProvider();
sessionContext = sessionContextProvider.getSessionContext();
}
// Set initial part name according to the name given by IEditorInput
host.doSetPartName(getEditorInput().getName());
- Session session = SimanticsUI.peekSession();
+ Session session = Simantics.peekSession();
if (session != null) {
Supplier<Boolean> disposedCallback = () -> disposed;
session.asyncRequest(