123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- '''This file is part of AToMPM - A Tool for Multi-Paradigm Modelling
- Copyright 2011 by the AToMPM team and licensed under the LGPL
- See COPYING.lesser and README.md in the root of this project for full details'''
- class TConstants :
- #possible completion statuses
- NOT_APPLICABLE = 'NotApplicable'
- SUCCEEDED = 'Success'
- FAILED = 'Failure'
- ''' hergin :: motif-integration :: start '''
- EXCEPTION = 'Exception'
- RULE_EXCEPTION_MSG = 'EXCEPTION :: rule exception on '
- MODE_DEBUG = 'debug'
- MODE_RELEASE = 'release'
- ''' hergin :: motif-integration :: end '''
- #inter-rule delay in PLAY mode
- INTER_RULE_DELAY = 0.05
- #the delay between verifications that all changelogs pertaining to the last executed rule have been handled
- WAIT_ON_CHLOG_DELAY = 0.02
- #console output for various rule/transformation completion cases
- RULE_SUCCESS_MSG = 'rule succeeded'
- ''' hergin :: motif-integration :: modify fail message '''
- RULE_FAILURE_MSG = 'rule failed'
- RULE_NOT_APPLICABLE_MSG = 'WARNING :: rule was not applicable'
- TRANSFORMATION_DONE = 'transformation(s) terminated with status :: '
- TRANSFORMATION_STOPPED = 'transformation stopped'
- REMOTE_APPLICATION_FAILURE = 'ERROR :: rule effects could not be applied :: '
- NO_NEXT_RULE = 'ERROR :: failed to choose next rule :: '
- #console output for various debugging messages
- DEBUGGING_ON = 'transformation debugging has been enabled'
- DEBUGGING_OFF = 'transformation debugging has been disabled'
- DEBUGGING_HALT = 'WARNING :: popping up transformation debugging window,'+ \
- ' resume transformation with "play" or "step" buttons'+ \
- ' from current window'
- #supported designer code languages
- JAVASCRIPT = 'JAVASCRIPT'
- PYTHON = 'PYTHON'
- #metamodel paths
- RULEMM = '/Formalisms/__Transformations__/TransformationRule/'+ \
- 'TransformationRule'
- TRANSFMM = '/Formalisms/__Transformations__/Transformation/Transformation'
- ''' hergin :: motif-integration '''
- MOTIFMM = '/Formalisms/__Transformations__/Transformation/MoTif'
- TCOREMM = '/Formalisms/__Transformations__/Transformation/T-Core'
|