javax.inject;version="1.0.0",
org.eclipse.e4.ui.workbench.modeling
Bundle-ActivationPolicy: lazy
+Export-Package: org.simantics.ui.workspace.tracker
-package org.simantics.ui.workspace.tracker.internal.contributions;
+package org.simantics.ui.workspace.tracker;
/**
* Preference constants for the heap status.
import org.osgi.framework.BundleContext;
import org.osgi.util.tracker.ServiceTracker;
import org.simantics.filesystem.services.sizetracker.DirectorySizeService;
+import org.simantics.ui.workspace.tracker.IWorkspaceSizeTrackerConstants;
/**
* @author Tuukka Lehtonen
public IPreferenceStore getPreferenceStore() {
if (preferenceStore == null) {
- preferenceStore = new ScopedPreferenceStore(InstanceScope.INSTANCE, context.getBundle().getSymbolicName());
+ preferenceStore = new ScopedPreferenceStore(InstanceScope.INSTANCE, IWorkspaceSizeTrackerConstants.P_NODE);
}
return preferenceStore;
}
import org.eclipse.swt.widgets.Menu;
import org.eclipse.swt.widgets.Shell;
import org.simantics.filesystem.services.sizetracker.SizeTracker;
+import org.simantics.ui.workspace.tracker.IWorkspaceSizeTrackerConstants;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.eclipse.core.runtime.preferences.DefaultScope;
import org.eclipse.core.runtime.preferences.IScopeContext;
import org.osgi.service.prefs.Preferences;
-import org.simantics.ui.workspace.tracker.internal.contributions.IWorkspaceSizeTrackerConstants;
+import org.simantics.ui.workspace.tracker.IWorkspaceSizeTrackerConstants;
/**
* @author Tuukka Lehtonen
import org.eclipse.swt.widgets.Composite;
import org.eclipse.ui.IWorkbench;
import org.eclipse.ui.IWorkbenchPreferencePage;
+import org.simantics.ui.workspace.tracker.IWorkspaceSizeTrackerConstants;
import org.simantics.ui.workspace.tracker.internal.Activator;
-import org.simantics.ui.workspace.tracker.internal.contributions.IWorkspaceSizeTrackerConstants;
import org.simantics.ui.workspace.tracker.internal.contributions.WorkspaceSizeTrackerContribution;
/**