Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

eclipse - Whats the difference between Command Parameters and Menu Contribution Parameters -


i can see parameters can defined commands defined using commands extension point. can not define value these command parameters.

i can define parameters under command element in menus extension point when defining menu contributions. can define value parameter here.

are command parameters in command different parameters in menu contributions? if different how different?

the plugin org.eclipse.ui.command, let declare parameters commands. when add parameter command, have set , id, type , list of possible values parameter implementing iparametervalues.

after that, can add command menu item parameters , values.

for example, imagine have command id org.rcp.commands.new. , it's defined parameter name "type" , posible values (file, project , folder). you'll able add 3 menu item commandid = "org.rcp.commands.new" each parameter

sample of plugin.xml

...

find more info in link: http://blog.eclipse-tips.com/2008/12/commands-part-3-parameters-for-commands.html


Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -