首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > This plug-in the functionality of code templates.

This plug-in the functionality of code templates.

  • 资源大小:15.89 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签:

资 源 简 介

This plug-in enhances the functionality of code templates: ${clipboard} template variable - replaced by the contents of the clipboard. ${prompt(input|file|directory|enumeration, value [, value]*)} This plug-in also supports extension-point promptProviders. Here is an example: : : Here is the implementation: ``` package templatetools; import java.util.List; import org.eclipse.jface.dialogs.InputDialog; import org.eclipse.ui.PlatformUI; public class InputPrompt implements IPrompt { @SuppressWarnings("unchecked") public String getValue(String name, List params) { InputDialog inputDialog = new InputD
VIP VIP
0.181555s