blob: 82828d34063b0fbb465a5c4d40c54baaf286784a [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2015 BSI Business Systems Integration AG.
* 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:
* BSI Business Systems Integration AG - initial API and implementation
******************************************************************************/
package org.eclipse.scout.sdk.core.s;
/**
* Defaults used for scout objects
*/
public interface ISdkProperties {
String SUFFIX_FORM_FIELD = "Field";
String SUFFIX_LOOKUP_CALL = "LookupCall";
String SUFFIX_FORM = "Form";
String SUFFIX_PAGE_WITH_TABLE = "TablePage";
String SUFFIX_PAGE_WITH_NODES = "NodePage";
String SUFFIX_DTO = "Data";
String SUFFIX_DTO_PROPERTY = "Property";
String SUFFIX_BUTTON = "Button";
String SUFFIX_TABLE_COLUMN = "Column";
String SUFFIX_OUTLINE_PAGE = "Page";
String SUFFIX_FORM_HANDLER = "Handler";
String SUFFIX_COMPOSITE_FIELD = "Box";
String SUFFIX_MENU = "Menu";
String SUFFIX_KEY_STROKE = "KeyStroke";
String SUFFIX_CODE = "Code";
String SUFFIX_COLUMN = "Column";
String SUFFIX_EXTENSION = "Extension";
String SUFFIX_CALENDAR_ITEM_PROVIDER = "Provider";
String SUFFIX_SERVICE = "Service";
String SUFFIX_PERMISSION = "Permission";
String SUFFIX_CODE_TYPE = "CodeType";
String SUFFIX_TEST = "Test";
String SUFFIX_WS_CLIENT = "WebServiceClient";
String SUFFIX_WS_PROVIDER = "WebService";
String SUFFIX_WS_URL_PROPERTY = "WebServiceUrlProperty";
String SUFFIX_WS_PORT_TYPE = "PortType";
String SUFFIX_WS_SERVICE = "Service";
String SUFFIX_WS_ENTRY_POINT = "WebServiceEntryPoint";
String SUFFIX_WS_ENTRY_POINT_DEFINITION = SUFFIX_WS_ENTRY_POINT + "Definition";
String PREFIX_ABSTRACT = "Abstract";
String INNER_TABLE_TYPE_NAME = "Table";
String INNER_TREE_TYPE_NAME = "Tree";
String INNER_CALENDAR_TYPE_NAME = "Calendar";
String CONTEXT_PROPERTY_JAVA_PROJECT = "JavaProject";
/**
* The default view order.
* <p>
* The value of this constant is "rather large, but not <i>that</i> large". For most projects it is the biggest of all
* orders. But it is not as big that precision is lost during calculations due to the IEEE floating point arithmetic.
* In particular, subtracting {@link #DEFAULT_ORDER_STEP} from this value must result in a different number (which,
* for example, would not be the case for {@link Double#MAX_VALUE}). As a rule of thumb, this number should be smaller
* than {@link Long#MAX_VALUE}.<br>
* Must match the default order number used in the Scout runtime. See
* org.eclipse.scout.rt.platform.IOrdered.DEFAULT_ORDER
*/
double DEFAULT_VIEW_ORDER = 98765432123456789d;
/**
* The default bean order if no @Order annotation is present (according to the Scout Runtime)
*/
double DEFAULT_BEAN_ORDER = 5000d;
/**
* Value to add to view orders for new elements.
*/
int VIEW_ORDER_ANNOTATION_VALUE_STEP = 1000;
/**
* Default source folder for generated sources
*/
String GENERATED_SOURCE_FOLDER_NAME = "src/generated/java";
}