import org.eclipse.ui.IWorkbenchActionConstants;
import org.eclipse.ui.IWorkbenchPartSite;
import org.eclipse.ui.PlatformUI;
+import org.simantics.Simantics;
import org.simantics.db.ChangeSetIdentifier;
import org.simantics.db.Resource;
import org.simantics.db.Session;
import org.simantics.team.Activator;
import org.simantics.team.internal.DebugPolicy;
import org.simantics.team.internal.Images;
-import org.simantics.ui.SimanticsUI;
import org.simantics.utils.ui.ExceptionUtils;
import org.simantics.utils.ui.dialogs.ShowError;
commentColumn.getColumn().setWidth(20);
ad.setColumnData(commentColumn.getColumn(), new ColumnWeightData(50, 50));
- final HistoryContentProvider contentProvider = new HistoryContentProvider(SimanticsUI.getSession());
+ final HistoryContentProvider contentProvider = new HistoryContentProvider(Simantics.getSession());
treeViewer.setContentProvider(contentProvider);
//viewer.setSorter(new ViewerSorter());
treeViewer.setInput(this);
getViewSite().getActionBars().getToolBarManager().add(new Action("Debug", Activator.DEBUG_ICON) {
@Override
public void run() {
- Session s = SimanticsUI.getSession();
+ Session s = Simantics.getSession();
try {
s.sync(new WriteRequest() {
@Override