Guest:
Register
|
Login
|
Member List
|
Search
|
Statistics
|
FAQ
Language
----------
Simplifed Chinese
Traditional Chinese
English
CnPack Forum
»
CnPack IDE 专家包(CnWizards)
» 建议增加类字段的【封装重构】功能
‹‹ Last Thread
|
Next Thread ››
Poll
Trade
Reward
Activity
Printable Version
|
Email to Friend
|
Subscription
|
Favorites
Subject: 建议增加类字段的【封装重构】功能
mywanqi
新警察
UID 51443
Digest Posts 0
Credits 5
Posts 1
点点分 5
Reading Access 10
Registered 2010-9-1
Status Offline
#1
Post at 2010-9-1 21:43
Profile
|
Blog
|
P.M.
建议增加类字段的【封装重构】功能
建议增加针对“字段”或者“属性”的封装重构功能,当前的多数IDE都能通过鼠标右键调用该功能,DELPHI7中没找到,CNPACK IDE中也未提供<br />
附图:见附件(截图来自NetBeans 6.8)
实现类似C#
public string strName
{
get{return this._strname; }
set{this._strname=valie;}
}
[
本帖最后由 mywanqi 于 2010-9-1 21:58 编辑
]
Image Attachment
: [字段封装]
无标题.jpg
(2010-9-1 21:43, 52.76 K)
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#2
Post at 2010-9-2 13:04
Profile
|
Blog
|
P.M.
ModelMaker Code Explorer专家中有此功能,实现详细。我们就没照着重复做了。
zjy
管理员
UID 2
Digest Posts
6
Credits 2385
Posts 1543
点点分 2385
Reading Access 102
Registered 2002-12-16
Location China
Status Offline
#3
Post at 2010-9-2 14:21
Profile
|
Site
|
Blog
|
P.M.
IDE有简单的支持
在类声明中定义 property XXX: XXX; 按 Ctrl+Shift+C,会自动生成域和写方法。
凑合着也能用了。
Zhou JingYu
CnPack Administrator
http://www.cnpack.org/
jAmEs_
灌水部部长
UID 886
Digest Posts 0
Credits 1134
Posts 600
点点分 1134
Reading Access 10
Registered 2005-6-5
Location 广东
Status Offline
#4
Post at 2010-9-2 16:34
Profile
|
Blog
|
P.M.
关键是ModelMaker Code Explorer要收费
,破解用过,有问题,不知道是本身的问题还是因为破解版的原因。
Eclipse的一些辅助功能确实比较不错,不如这个,还有提取接口,还有一个,就是列出能继承的方法,然后覆盖,这个也非常有用,要是D可以就好了。
Poll
Trade
Reward
Activity
CnPack Forum
CnPack English Forum
> CnWizards IDE Wizards
> CVSTracNT
> Announcements & Others
All times are GMT++8, the time now is 2024-11-25 15:39
Powered by
Discuz!
5.0.0
© 2001-2006
Comsenz Inc.
Processed in 0.008444 second(s), 9 queries , Gzip enabled
TOP
Clear Cookies
-
Contact Us
-
CnPack Website
-
Archiver
-
WAP
Member's CP Home
Edit Profile
Credits Transaction
Public User Groups
Buddy List
Main
Page Views
User Agents
Posts History
Top Forums
Top Threads
Post Ranking
Credit Ranking
Online Time
Team
Moderation Stats