eclipse插件WhyAndHow
2006-10-17 15:59
483 查看
天气预报插件
本文一切代码基于 Eclipse SDK Version: 3.1.1, 参考Eclipse 3.0 简介和插件开发示例
一 打开菜单 File -> New-> Other ->Plug-in Project,输入项目名称,next出现对话框,只要在插件名处输入"muplugin",next 以后选择 "Hello,World"的插件模板你可以直接新建一个名为myplugin的最简单的插件,但其实我们的天气预报并不比它复杂多少,建完改插件以后的效果如下图。
二 使用菜单 run - run as - eclipse application ,在一个全新的Eclipse窗口中,通过点击菜单 sample menu 的sample Action或者工具栏中的圆形Eclipse 图标,你将看到如下效果的对话框。
本文一切代码基于 Eclipse SDK Version: 3.1.1, 参考Eclipse 3.0 简介和插件开发示例
一 打开菜单 File -> New-> Other ->Plug-in Project,输入项目名称,next出现对话框,只要在插件名处输入"muplugin",next 以后选择 "Hello,World"的插件模板你可以直接新建一个名为myplugin的最简单的插件,但其实我们的天气预报并不比它复杂多少,建完改插件以后的效果如下图。
二 使用菜单 run - run as - eclipse application ,在一个全新的Eclipse窗口中,通过点击菜单 sample menu 的sample Action或者工具栏中的圆形Eclipse 图标,你将看到如下效果的对话框。
相关文章推荐
- eclipse中使用maven插件的时候,运行run as maven build的时候报错 -Dmaven.multiModuleProjectDirectory system propery is not set. Check $M2_HOME environment variable and mvn script match.
- How to create a project from existing source in Eclipse and then find it?
- 32-bit Assembler is Easy, why and how to develop using the assembler; start learning to program in Assembly now!
- Oozie — What Why and How
- eclipse中使用Maven插件报错:-Dmaven.multiModuleProjectDirectory system property is not set. Check $M2_HOME environment variable and mvn script match.
- Why Ceph and how to use Ceph?
- Why and How to Use Netlink Socket
- How to configure a C/C++ project with Eclipse and CMake
- eclipse安装新插件长时间卡在calculating requirements and dependencies解决办法
- Eclipse安装插件长时间停留在calculating requirements and dependencies
- How to install java and eclipse on linux
- Linux Why and How to use NetLink
- Eclipse标准版安装Web and JavaEE插件
- Why your Android NDK breakpoints might fail and how to fix them
- Eclipse安装插件长时间停留在calculating requirements and dependencies
- Why doesn't RecyclerView have onItemClickListener()? and How RecyclerView is different from Listview
- How to decompile class file in Java and Eclipse - Javap command example(转)
- [转]Why Android isn’t ready for TDD, and how I tried anyway
- Kernel Korner - Why and How to Use Netlink Socket
- Why Ceph and how to use Ceph?