Re: [Dev] [Data mapper] Declare project constants in a Util class
Hi, Aren't we use 'messages.properties' file for declare all constant in a project? Is it only for keep dialog box and wizard messages ? Thanks, Lali On Wed, Apr 23, 2014 at 12:41 PM, Susinda Perera susi...@wso2.com wrote: +1, Move it to a common place so it would be easy for all of us to code and maintain. On Wed, Apr 23, 2014 at 12:21 PM, Gayan Yalpathwala gay...@wso2.comwrote: Hi, I am thinking of moving all datamapper visual editor project constants to dataMapper.diagram.custom.util.Editorutils class. Currently, some extensions, prefixes and suffixes are scattered around the code base and hope this will help making them reusable. Any thoughts? Thanks, -- *Gayan Kaushalya Yalpathwala* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 71 8682704 http://asia14.wso2con.com/ http://asia14.wso2con.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Susinda Perera* Software Engineer Mobile:(+94)716049075 WSO2 Inc. http://wso2.com/ Tel : 94 11 214 5345 Fax :94 11 2145300 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Lali Sudaththa Devamanthri* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 71 895 4922 http://www.wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Data mapper] Declare project constants in a Util class
Hi Lali, We use messages.properties file for localization purposes. Here we include only messages that should be conveyed to the user which can later be translated to a different language. So I don't think this is not a good location to store project constants. Thanks, On Thu, Apr 24, 2014 at 12:30 PM, Lali Devamanthri l...@wso2.com wrote: Hi, Aren't we use 'messages.properties' file for declare all constant in a project? Is it only for keep dialog box and wizard messages ? Thanks, Lali On Wed, Apr 23, 2014 at 12:41 PM, Susinda Perera susi...@wso2.com wrote: +1, Move it to a common place so it would be easy for all of us to code and maintain. On Wed, Apr 23, 2014 at 12:21 PM, Gayan Yalpathwala gay...@wso2.comwrote: Hi, I am thinking of moving all datamapper visual editor project constants to dataMapper.diagram.custom.util.Editorutils class. Currently, some extensions, prefixes and suffixes are scattered around the code base and hope this will help making them reusable. Any thoughts? Thanks, -- *Gayan Kaushalya Yalpathwala* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 71 8682704 http://asia14.wso2con.com/ http://asia14.wso2con.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Susinda Perera* Software Engineer Mobile:(+94)716049075 WSO2 Inc. http://wso2.com/ Tel : 94 11 214 5345 Fax :94 11 2145300 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Lali Sudaththa Devamanthri* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 71 895 4922 http://www.wso2.com -- *Gayan Kaushalya Yalpathwala* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 71 8682704 http://asia14.wso2con.com/ http://asia14.wso2con.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [Data mapper] Declare project constants in a Util class
Hi, I am thinking of moving all datamapper visual editor project constants to dataMapper.diagram.custom.util.Editorutils class. Currently, some extensions, prefixes and suffixes are scattered around the code base and hope this will help making them reusable. Any thoughts? Thanks, -- *Gayan Kaushalya Yalpathwala* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 71 8682704 http://asia14.wso2con.com/ http://asia14.wso2con.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Data mapper] Declare project constants in a Util class
+1, Move it to a common place so it would be easy for all of us to code and maintain. On Wed, Apr 23, 2014 at 12:21 PM, Gayan Yalpathwala gay...@wso2.com wrote: Hi, I am thinking of moving all datamapper visual editor project constants to dataMapper.diagram.custom.util.Editorutils class. Currently, some extensions, prefixes and suffixes are scattered around the code base and hope this will help making them reusable. Any thoughts? Thanks, -- *Gayan Kaushalya Yalpathwala* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 71 8682704 http://asia14.wso2con.com/ http://asia14.wso2con.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Susinda Perera* Software Engineer Mobile:(+94)716049075 WSO2 Inc. http://wso2.com/ Tel : 94 11 214 5345 Fax :94 11 2145300 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev