* First Sample Plugin
1. Eclipse Menu > File > New > Plug-in Project
- Plug-in Project
-- Project Name : foo.foo.foo
-- Next
- Context
-- ID
-- Vesion **
-- Name
-- Next
- Templates
-- Select "Plug-in with an editor"
-- Next
- Main View Settings
-- View Class Name
2. Affirm
- view src
-- Activator.java
-- SampleView.java
- view MANIFEST.MF
3. Building a Product
- Project Property > Export > Plug-in Development > Deployable plug-ins and fragments
-- Destination
--- Check Archive file : ****
-- Options
--- Check Export source : include source in exported plug-ins
--- Save as Ant Script : ****
-- Finish
4. Installing and Running the above Product
-4.1 Shutdown eclipse
-4.2 cp file.jar in zip to C:\application\eclipse\*\plugins
-4.3 Restart eclipse
5. Show Sample View
- Eclipse Menu > Window > Show View > Others > Sample Category > Sample View
* Reference
0 件のコメント:
コメントを投稿