public List<PropertyDescriptor> getDeclaredPropertyDescriptors() { return Arrays.asList( new PropertyDescriptor(PROP_DATE, MidpTypes.TYPEID_LONG, PropertyValue.createNull (), true, true, MidpVersionable.MIDP), new PropertyDescriptor(PROP_TIME_ZONE, MidpTypes.TYPEID_JAVA_LANG_STRING, PropertyValue.createNull(), true, true, MidpVersionable.MIDP), new PropertyDescriptor(PROP_INPUT_MODE, MidpTypes.TYPEID_INT, PropertyValue.createNull (), false, true, MidpVersionable.MIDP) ); }
public List<PropertyDescriptor> getDeclaredPropertyDescriptors() { return Arrays.asList ( new PropertyDescriptor(PROP_RESOURCE_PATH, MidpTypes.TYPEID_JAVA_LANG_STRING, PropertyValue.createNull(), false, true, MidpVersionable.MIDP) ); }
public List<PropertyDescriptor> getDeclaredPropertyDescriptors () { return Arrays.asList ( new PropertyDescriptor (PROP_ACCESS_CODE, MidpTypes.TYPEID_JAVA_CODE, PropertyValue.createNull (), false, false, Versionable.FOREVER) ); }
public List<PropertyDescriptor> getDeclaredPropertyDescriptors () { return Arrays.asList( new PropertyDescriptor (CommandEventSourceCD.PROP_DISPLAYABLE, DisplayableCD.TYPEID, PropertyValue.createNull (), false, false, Versionable.FOREVER), new PropertyDescriptor (CommandEventSourceCD.PROP_COMMAND, CommandCD.TYPEID, PropertyValue.createNull (), false, false, Versionable.FOREVER) ); }
public List<PropertyDescriptor> getDeclaredPropertyDescriptors () { return Arrays.asList ( new PropertyDescriptor (PROP_METHOD_NAME, MidpTypes.TYPEID_JAVA_LANG_STRING, PropertyValue.createNull (), false, false, Versionable.FOREVER) ); }
public List<PropertyDescriptor> getDeclaredPropertyDescriptors () { return Arrays.asList( new PropertyDescriptor (PROP_METHOD_POINT, MethodPointCD.TYPEID, PropertyValue.createNull (), false, false, Versionable.FOREVER) ); }
@Override public List<PropertyDescriptor> getDeclaredPropertyDescriptors() { return Arrays.asList( new PropertyDescriptor(PROP_READ_ONLY, MidpTypes.TYPEID_BOOLEAN, PropertyValue.createNull(), false, false, MidpVersionable.MIDP_2) ); }
public List<PropertyDescriptor> getDeclaredPropertyDescriptors () { return Arrays.asList( new PropertyDescriptor (CallPointEventHandlerCD.PROP_CALL_POINT, CallPointCD.TYPEID, PropertyValue.createNull (), false, false, MidpVersionable.MIDP) ); }
public List<PropertyDescriptor> getDeclaredPropertyDescriptors () { return Arrays.asList ( new PropertyDescriptor (PROP_OPTION, MidpTypes.TYPEID_JAVA_CODE, PropertyValue.createNull (), false, false, Versionable.FOREVER) ); }
public List<PropertyDescriptor> getDeclaredPropertyDescriptors() { return Arrays.asList( new PropertyDescriptor(PROP_START, MobileDeviceStartEventSourceCD.TYPEID, PropertyValue.createNull(), false, false, Versionable.FOREVER), new PropertyDescriptor(PROP_RESUME, MobileDeviceResumeEventSourceCD.TYPEID, PropertyValue.createNull(), false, false, Versionable.FOREVER) ); }
public List<PropertyDescriptor> getDeclaredPropertyDescriptors() { return Arrays.asList( new PropertyDescriptor(PROP_STRING, MidpTypes.TYPEID_JAVA_LANG_STRING, PropertyValue.createNull(), false, true, MidpVersionable.MIDP), new PropertyDescriptor(PROP_IMAGE, ImageCD.TYPEID, PropertyValue.createNull(), true, true, MidpVersionable.MIDP), new PropertyDescriptor(PROP_SELECTED, MidpTypes.TYPEID_BOOLEAN, MidpTypes.createBooleanValue(false), false, true, MidpVersionable.MIDP), new PropertyDescriptor(PROP_FONT, FontCD.TYPEID, PropertyValue.createNull(), true, true, MidpVersionable.MIDP_2) ); }
public List<PropertyDescriptor> getDeclaredPropertyDescriptors() { return Arrays.asList( new PropertyDescriptor(PROP_STRING, MidpTypes.TYPEID_JAVA_LANG_STRING, PropertyValue.createNull(), true, true, MidpVersionable.MIDP), new PropertyDescriptor(PROP_MAX_SIZE, MidpTypes.TYPEID_INT, PropertyValue.createNull (), false, true, MidpVersionable.MIDP), new PropertyDescriptor(PROP_CONSTRAINTS, MidpTypes.TYPEID_INT, MidpTypes.createIntegerValue (TextFieldCD.VALUE_ANY), false, true, MidpVersionable.MIDP), new PropertyDescriptor(PROP_INITIAL_INPUT_MODE, MidpTypes.TYPEID_JAVA_LANG_STRING, PropertyValue.createNull(), true, true, MidpVersionable.MIDP_2) ); }
public List<PropertyDescriptor> getDeclaredPropertyDescriptors () { return Arrays.asList ( new PropertyDescriptor (PROP_LABEL, MidpTypes.TYPEID_JAVA_LANG_STRING, PropertyValue.createNull(), false, true, MidpVersionable.MIDP), new PropertyDescriptor (PROP_LONG_LABEL, MidpTypes.TYPEID_JAVA_LANG_STRING, PropertyValue.createNull (), true, true, MidpVersionable.MIDP_2), new PropertyDescriptor (PROP_TYPE, MidpTypes.TYPEID_INT, PropertyValue.createNull (), false, true, MidpVersionable.MIDP), new PropertyDescriptor (PROP_PRIORITY, MidpTypes.TYPEID_INT, MidpTypes.createIntegerValue(0), false, true, MidpVersionable.MIDP), new PropertyDescriptor (PROP_ORDINARY, MidpTypes.TYPEID_BOOLEAN, MidpTypes.createBooleanValue(true), false, false, Versionable.FOREVER) ); }
public List<PropertyDescriptor> getDeclaredPropertyDescriptors() { return Arrays.asList( new PropertyDescriptor (PROP_USED_BY_ALERT, MidpTypes.TYPEID_BOOLEAN, MidpTypes.createBooleanValue (false), false, false, Versionable.FOREVER), // HINT - used for modelling Alert.indicator new PropertyDescriptor (PROP_INTERACTIVE, MidpTypes.TYPEID_BOOLEAN, MidpTypes.createBooleanValue (false), false, true, MidpVersionable.MIDP), new PropertyDescriptor (PROP_VALUE, MidpTypes.TYPEID_INT, PropertyValue.createNull (), false, true, MidpVersionable.MIDP), new PropertyDescriptor (PROP_MAX_VALUE, MidpTypes.TYPEID_INT, PropertyValue.createNull (), false, true, MidpVersionable.MIDP) ); }
public List<PropertyDescriptor> getDeclaredPropertyDescriptors() { return Arrays.asList( new PropertyDescriptor(PROP_ITEMS, ItemCD.TYPEID.getArrayType(), PropertyValue.createEmptyArray(ItemCD.TYPEID), true, true, MidpVersionable.MIDP), new PropertyDescriptor(PROP_ITEM_STATE_LISTENER, ItemStateListenerCD.TYPEID, PropertyValue.createNull(), true, true, MidpVersionable.MIDP) ); }
public static void updateEventHandlerWithAlert(DesignComponent eventHandler, DesignComponent alert) { if (alert != null) { eventHandler.writeProperty(SwitchDisplayableEventHandlerCD.PROP_ALERT, PropertyValue.createComponentReference(alert)); } else { eventHandler.writeProperty(SwitchDisplayableEventHandlerCD.PROP_ALERT, PropertyValue.createNull()); } }
public List<PropertyDescriptor> getDeclaredPropertyDescriptors () { return Arrays.asList ( new PropertyDescriptor (PROP_OPERAND, MidpTypes.TYPEID_JAVA_CODE, PropertyValue.createNull (), false, false, Versionable.FOREVER), new PropertyDescriptor (PROP_CASES, SwitchCaseEventSourceCD.TYPEID.getArrayType (), PropertyValue.createEmptyArray (SwitchCaseEventSourceCD.TYPEID), false, false, Versionable.FOREVER) ); }
public List<PropertyDescriptor> getDeclaredPropertyDescriptors() { return Arrays.asList( new PropertyDescriptor(PROP_ELEMENTS, ListElementEventSourceCD.TYPEID.getArrayType(), PropertyValue.createEmptyArray(ListElementEventSourceCD.TYPEID), false, true, MidpVersionable.MIDP), new PropertyDescriptor(PROP_LIST_TYPE, MidpTypes.TYPEID_INT, MidpTypes.createIntegerValue (ChoiceSupport.VALUE_IMPLICIT), false, true, MidpVersionable.MIDP), new PropertyDescriptor(PROP_FIT_POLICY, MidpTypes.TYPEID_INT, MidpTypes.createIntegerValue (ChoiceSupport.VALUE_TEXT_WRAP_DEFAULT), false, true, MidpVersionable.MIDP_2), new PropertyDescriptor(PROP_SELECT_COMMAND, CommandEventSourceCD.TYPEID, PropertyValue.createNull(), true, true, MidpVersionable.MIDP_2), new PropertyDescriptor(PROP_INDEX_BASED_SWITCH, MidpTypes.TYPEID_BOOLEAN, MidpTypes.createBooleanValue (false), false, false, Versionable.FOREVER) ); }
protected void delete () { DesignComponent component = getComponent (); if (MidpTypes.getBoolean (component.readProperty (PROP_USED_BY_ALERT))) { component.getParentComponent ().writeProperty (AlertCD.PROP_INDICATOR, PropertyValue.createNull ()); component.writeProperty (PROP_USED_BY_ALERT, MidpTypes.createBooleanValue (false)); } } },
@Override public void postInitialize (DesignComponent component) { component.writeProperty (CommandCD.PROP_LABEL, MidpTypes.createStringValue ("")); // NOI18N component.writeProperty (CommandCD.PROP_TYPE, MidpTypes.createIntegerValue (CommandCD.VALUE_SCREEN)); component.writeProperty (CommandCD.PROP_PRIORITY, MidpTypes.createIntegerValue (0)); component.writeProperty (CommandCD.PROP_ORDINARY, MidpTypes.createBooleanValue (false)); component.writeProperty (ClassCD.PROP_INSTANCE_NAME, PropertyValue.createNull ()); }