Package org.openbp.core.model.item.type

Examples of org.openbp.core.model.item.type.DataTypeItem


      if (data.isDataFlavorSupported(ClientFlavors.COMPLEX_TYPE_ITEM))
      {
        // Drag of a data type onto a node param will store the name of the data type
        // in the expression of the node parameter.
        // This is a handy shortcut for the database actions that take a data type as parameter.
        DataTypeItem type = (DataTypeItem) data.getTransferData(ClientFlavors.COMPLEX_TYPE_ITEM);

        getDrawing().getEditor().startUndo("Assign Type Name");

        String typeName = getDrawing().getProcess().determineItemRef(type);
View Full Code Here


        try
        {
          // Try to determine the new data type and perform a default configuration
          // of the member according to its new type
          DataTypeItem dataType = (DataTypeItem) member.getParentDataType().resolveItemRef(DEFAULT_MEMBER_TYPE, ItemTypes.TYPE);
          dataType.performDefaultDataMemberConfiguration(member);
        }
        catch (Exception ex)
        {
          // Ignore any errors
        }
View Full Code Here

TOP

Related Classes of org.openbp.core.model.item.type.DataTypeItem

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.