X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=bundles%2Forg.simantics%2Fsrc%2Forg%2Fsimantics%2FAutosavePreferences.java;h=475bcb7fb6b3014a3c79b8a780429b40dfbaf431;hb=refs%2Fchanges%2F38%2F238%2F2;hp=4a008e70569e164ab671d97f3c0f2c0f5c4653cd;hpb=24e2b34260f219f0d1644ca7a138894980e25b14;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics/src/org/simantics/AutosavePreferences.java b/bundles/org.simantics/src/org/simantics/AutosavePreferences.java index 4a008e705..475bcb7fb 100644 --- a/bundles/org.simantics/src/org/simantics/AutosavePreferences.java +++ b/bundles/org.simantics/src/org/simantics/AutosavePreferences.java @@ -1,47 +1,47 @@ -/******************************************************************************* - * Copyright (c) 2012 Association for Decentralized Information Management - * in Industry THTH ry. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Semantum Oy - initial API and implementation - *******************************************************************************/ -package org.simantics; - -import org.simantics.internal.Activator; - -/** - * @author Tuukka Lehtonen - */ -public class AutosavePreferences { - - /** - * The system property name that can be used to externally enable/disable - * the current database connection virtual graph auto-save feature. - * - * Set the value to "false" to globally disable virtual graph autosave. - * Otherwise the preference {@link #P_VG_AUTOSAVE_ENABLED} will govern the - * enabled-state of the feature. - */ - public static final String SYSTEM_PROPERTY_AUTOSAVE = "db.vg.autosave"; - - public static final String P_NODE = Activator.PLUGIN_ID; - - /** - * Preference for defining the enabled state of virtual graph autosave. - */ - public static final String P_VG_AUTOSAVE_ENABLED = "virtualgraph.autosave.enabled"; //$NON-NLS-1$ - - /** - * Preference for defining the virtual graph autosave period time in - * seconds. - */ - public static final String P_VG_AUTOSAVE_INTERVAL = "virtualgraph.autosave.interval"; //$NON-NLS-1$ - - public static final boolean DEFAULT_VG_AUTOSAVE_ENABLED = true; - public static final int DEFAULT_VG_AUTOSAVE_INTERVAL = 90; - -} +/******************************************************************************* + * Copyright (c) 2012 Association for Decentralized Information Management + * in Industry THTH ry. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Semantum Oy - initial API and implementation + *******************************************************************************/ +package org.simantics; + +import org.simantics.internal.Activator; + +/** + * @author Tuukka Lehtonen + */ +public class AutosavePreferences { + + /** + * The system property name that can be used to externally enable/disable + * the current database connection virtual graph auto-save feature. + * + * Set the value to "false" to globally disable virtual graph autosave. + * Otherwise the preference {@link #P_VG_AUTOSAVE_ENABLED} will govern the + * enabled-state of the feature. + */ + public static final String SYSTEM_PROPERTY_AUTOSAVE = "db.vg.autosave"; + + public static final String P_NODE = Activator.PLUGIN_ID; + + /** + * Preference for defining the enabled state of virtual graph autosave. + */ + public static final String P_VG_AUTOSAVE_ENABLED = "virtualgraph.autosave.enabled"; //$NON-NLS-1$ + + /** + * Preference for defining the virtual graph autosave period time in + * seconds. + */ + public static final String P_VG_AUTOSAVE_INTERVAL = "virtualgraph.autosave.interval"; //$NON-NLS-1$ + + public static final boolean DEFAULT_VG_AUTOSAVE_ENABLED = true; + public static final int DEFAULT_VG_AUTOSAVE_INTERVAL = 90; + +}