Movatterモバイル変換


[0]ホーム

URL:


CN106055366A - Extension method for custom control based on Eclipse - Google Patents

Extension method for custom control based on Eclipse
Download PDF

Info

Publication number
CN106055366A
CN106055366ACN201610387600.7ACN201610387600ACN106055366ACN 106055366 ACN106055366 ACN 106055366ACN 201610387600 ACN201610387600 ACN 201610387600ACN 106055366 ACN106055366 ACN 106055366A
Authority
CN
China
Prior art keywords
self
defined control
resource information
xml
eclipse
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610387600.7A
Other languages
Chinese (zh)
Inventor
罗鹏
张建新
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yonyou Network Technology Co Ltd
Original Assignee
Yonyou Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yonyou Network Technology Co LtdfiledCriticalYonyou Network Technology Co Ltd
Priority to CN201610387600.7ApriorityCriticalpatent/CN106055366A/en
Publication of CN106055366ApublicationCriticalpatent/CN106055366A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

The invention discloses an extension method for a custom control based on Eclipse, including, integrating the extension mechanism of the custom control into the preferences of the eclipse; storing the configuration files and resource information of the custom control through xml; compressing the configuration files and resource information and encrypting the compressed package; decrypting and decompressing the compressed package and importing the configuration files and resource information stored in xml; solving the initialization problem of the control in different styles by importing the configuration files and resource information stored in xml. Through the method, the flexibility and the expandability are improved.

Description

Based on Eclipse self-defined control extended method
Technical field
The present invention relates to Mobile solution development field, in particular it relates to one is based on Eclipse self-defined control extension sideMethod.
Background technology
There is different operating system in Mobile Development field, style is not quite similar, only according to Mobile solution development platformMiddle basic control first is difficult to support the demand of Mobile solution exploitation, moreover has developer to develop in existing Mobile solutionGood control, in order to reduce development cost, integrated to them is a problem.Such as, in an App application, developer isHaving got well a self-defined control through exploitation, it includes android version and ios version, in implementing Mobile solution platform, ifIntegrated they arrive platform, if basic control can not meet now how this does by demand in platform under development, revise androidWith ios engineering.
Summary of the invention
Therefore the present invention needs the problem solved as follows:
1, self-defined control exploitation is due to the integration problem at different Mobile operating systems.
2, expanding packet definition and generation cryptography issue.
3, the model problem of self-defined control.
4, support many sets style question of self-defined control.
It is an object of the invention to, for the problems referred to above, propose a kind of based on Eclipse self-defined control extended method,To realize improving motility and the advantage of extensibility of designer.
For achieving the above object, the technical solution used in the present invention is:
A kind of based on Eclipse self-defined control extended method, including,
The extension mechanism of self-defined control is integrated in the first item of eclipse;
By configuration file and the resource information of xml storage self-defined control;
Compressed configuration file and resource information, and compressed package is encrypted;
Compressed package is decrypted and decompresses, thus the configuration file stored by xml and resource information import;
The configuration file and the resource information that are stored by the xml imported solve control initialization matter under different styles.
Preferably, described extension mechanism, including the configuration of self-defined control many sets style, the definition of self-defined control, fromThe importing of definition control and derivation.
Preferably, by the xml storage configuration file of self-defined control and resource information particularly as follows:
By the configuration information of xml storage self-defined control many sets style, by enactment document folder storage self-defined control manyThe resource file used in individual Mobile operating system and the program of operation, store the attribute extension of self-defined control by xml and openDynamic item information.
Preferably, compressed configuration file and resource information, and compressed package is encrypted particularly as follows:
By the zip compression algorithm in java, configuration file and resource information are compressed and mix AES.
Technical scheme has the advantages that
Technical solution of the present invention makes the plug-in unit as Eclipse--toolbar, not only can meet different control differentControl under style initializes, and supports the extension of developer's self-defined control, substantially increases the motility of designerAnd extensibility.Have the following characteristics that
1, the control of the self-defined exploitation of developer includes that android and ios control can be integrated in toolbar.
2, self-defined control supports simple controls and container control, meets extension demand.
3, under self-defined control supports each platform control extension include android, ios, web,Windowsphone etc..
Below by drawings and Examples, technical scheme is described in further detail.
Accompanying drawing explanation
Fig. 1 be described in the embodiment of the present invention based on Eclipse self-defined control extended method flow chart.
Detailed description of the invention
Below in conjunction with accompanying drawing, the preferred embodiments of the present invention are illustrated, it will be appreciated that preferred reality described hereinExecute example be merely to illustrate and explain the present invention, be not intended to limit the present invention.
A kind of based on Eclipse self-defined control extended method, including,
The extension mechanism of self-defined control is integrated in the first item of eclipse;
By configuration file and the resource information of xml storage self-defined control;
Compressed configuration file and resource information, and compressed package is encrypted;
Compressed package is decrypted and decompresses, thus the configuration file stored by xml and resource information import;
The configuration file and the resource information that are stored by the xml imported solve control initialization matter under different styles.
The present invention relates to owing to relating to mobile platform operating system diversity in Mobile solution platform development, style is notOne, and developer needs the extension control of each Mobile operating system the most integrated, propose unified based onEclipse, overlaps style by xml configuration more, and configuration self-defined control extends information, can the most integrated androidWith self-defined control such as ios.The integration of mobile mobile platform can be greatly improved, each version of exploitation before developerSelf-defined control can be integrated in Mobile solution development platform easily.
Concrete technical scheme is as shown in Figure 1:
(1) first this extension mechanism is integrated in the first item of eclipse, including the configuration, self-defined of control many sets styleThe definition of control, the importing of self-defined control and derivation.
(2) by the configuration information of xml storing multiple sets style, by particular file folder storage self-defined control in multiple shiftingsThe resource file used in dynamic operating system and the program of operation, make attribute extension and the startup item letter of control by oneself by xml storageBreath.
(3) by the zip compression algorithm in java, configuration file and resource information are compressed and mix selected encryptionAlgorithm, this is the process derived.
(4) by decipherment algorithm, compressed package is decompressed, this process being introduced into.
(5) control initialization matter under different styles is solved by the style of xml configuration many sets control.
Finally it is noted that the foregoing is only the preferred embodiments of the present invention, it is not limited to the present invention,Although being described in detail the present invention with reference to previous embodiment, for a person skilled in the art, it still may be usedSo that the technical scheme described in foregoing embodiments to be modified, or wherein portion of techniques feature is carried out equivalent.All within the spirit and principles in the present invention, any modification, equivalent substitution and improvement etc. made, should be included in the present invention'sWithin protection domain.

Claims (4)

CN201610387600.7A2016-06-032016-06-03Extension method for custom control based on EclipsePendingCN106055366A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201610387600.7ACN106055366A (en)2016-06-032016-06-03Extension method for custom control based on Eclipse

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201610387600.7ACN106055366A (en)2016-06-032016-06-03Extension method for custom control based on Eclipse

Publications (1)

Publication NumberPublication Date
CN106055366Atrue CN106055366A (en)2016-10-26

Family

ID=57172105

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201610387600.7APendingCN106055366A (en)2016-06-032016-06-03Extension method for custom control based on Eclipse

Country Status (1)

CountryLink
CN (1)CN106055366A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106817216A (en)*2016-11-292017-06-09北京锐安科技有限公司A kind of ZIP bag decompressing methods based on Zlib storehouses and aes algorithm

Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103544005A (en)*2013-09-102014-01-29Tcl集团股份有限公司Expansion developing method and device for Android custom control
CN105335206A (en)*2015-10-162016-02-17Tcl集团股份有限公司Customized system widget expansion method and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103544005A (en)*2013-09-102014-01-29Tcl集团股份有限公司Expansion developing method and device for Android custom control
CN105335206A (en)*2015-10-162016-02-17Tcl集团股份有限公司Customized system widget expansion method and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
乔巴: "基于移动平台扩展的自定义控件与自定义服务的研究", 《HTTP://UDN.YYUAP.COM/THREAD-34923-1-1.HTML》*
李赞 等: "《Windows程序设计-基于.NET平台》", 30 January 2016*

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106817216A (en)*2016-11-292017-06-09北京锐安科技有限公司A kind of ZIP bag decompressing methods based on Zlib storehouses and aes algorithm
CN106817216B (en)*2016-11-292022-02-22北京锐安科技有限公司ZIP (ZIP packet decompression) method based on ZLib library and AES (advanced encryption Standard) algorithm

Similar Documents

PublicationPublication DateTitle
CN110650010B (en)Method, device and equipment for generating and using private key in asymmetric key
CN105930695B (en)Protection method and device for software development kit
US9374220B2 (en)System and method for providing compressed encryption and decryption in homomorphic encryption based on integers
CN104298932B (en)A kind of call method and device of SO files
CN111262910B (en)Wireless equipment firmware protection method and system
CN105227565B (en)The method and apparatus that anti-reversing for Android system cracks shared object file
US10867017B2 (en)Apparatus and method of providing security and apparatus and method of executing security for common intermediate language
CN108710500A (en)Resource issuing method, update method and device
JP2009302887A (en)Information security method and information security device
CN107005402A (en)Access to content is provided
CN111385084A (en)Key management method and device for digital assets and computer readable storage medium
US7970133B2 (en)System and method for secure and flexible key schedule generation
CN104111832A (en)Android application program installation package packing method and system and unpacking method
JP2014171222A (en)Device for generating encrypted key and method for providing encrypted key to receiver
CN103853943A (en)Program protection method and device
KR20190112959A (en)Operating method for machine learning model using encrypted data and apparatus based on machine learning model
CN107257282A (en)A kind of full bag encryption method of code based on RC4 algorithms
EP3238365B1 (en)Cryptographic system and method
KR20170069337A (en)Method and apparatus for protecting application and program made by the method
CN102073827A (en)Method for ensuring security of set-top box application program
CN105574441A (en)Embedded firmware protection method and device
CN104657631B (en)The processing method and processing device of the channel information of application
CN106055366A (en)Extension method for custom control based on Eclipse
JP6292195B2 (en) Information processing apparatus and information processing method
CN107169370A (en)The encryption method and encryption device of executable file

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication
RJ01Rejection of invention patent application after publication

Application publication date:20161026


[8]ページ先頭

©2009-2025 Movatter.jp