]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.modeling/src/org/simantics/modeling/preferences/SubscriptionPreferences.java
Simple migration step implementation that runs a specified SCL script
[simantics/platform.git] / bundles / org.simantics.modeling / src / org / simantics / modeling / preferences / SubscriptionPreferences.java
1 /*******************************************************************************
2  * Copyright (c) 2007, 2011 Association for Decentralized Information Management in
3  * Industry THTH ry.
4  * All rights reserved. This program and the accompanying materials
5  * are made available under the terms of the Eclipse Public License v1.0
6  * which accompanies this distribution, and is available at
7  * http://www.eclipse.org/legal/epl-v10.html
8  *
9  * Contributors:
10  *     VTT Technical Research Centre of Finland - initial API and implementation
11  *******************************************************************************/
12 package org.simantics.modeling.preferences;
13
14 public class SubscriptionPreferences {
15
16         public static final String P_NODE                                                = "org.simantics.modeling";
17
18         // Subscription Item
19     public static final String P_SUBSCRIPTION_DEADBAND       = "subscriptionitem.deadband";            //$NON-NLS-1$
20     public static final String P_SUBSCRIPTION_INTERVAL       = "subscriptionitem.interval";            //$NON-NLS-1$
21
22     public static final String P_SUBSCRIPTION_DEFAULT       = "subscriptionitem.subscription";            //$NON-NLS-1$
23     public static final String P_SUBSCRIPTION_GAIN       = "subscriptionitem.gain";            //$NON-NLS-1$
24     public static final String P_SUBSCRIPTION_BIAS       = "subscriptionitem.bias";            //$NON-NLS-1$
25     public static final String P_SUBSCRIPTION_UNIT       = "subscriptionitem.unit";            //$NON-NLS-1$
26     
27     public static final double DEFAULT_SUBSCRIPTION_INTERVAL = 0.0;
28     public static final double DEFAULT_SUBSCRIPTION_DEADBAND = 0.;
29     public static final double DEFAULT_SUBSCRIPTION_BIAS = 0.0;
30     public static final double DEFAULT_SUBSCRIPTION_GAIN = 1.0;
31
32 }