Free Online Articles Directory
17.11.2008 Sign In Register Hello Guest
Email:
Password:
Remember Me 
forgot your password?


Eclipse Plugin Development - a Bird’s Eye View

Author: Debadatta Mishra Author Ranking Blue | Posted: 08-08-2008 | Comments: 2 | Views: 224 | Rating:  (109) Article Popularity - Blue (?) Got a Question? Ask.
Sign Up Now!

Eclipse plugin development A bird’s eye view

                                                                                                     By Debadatta Mishra,

                                                           

Introduction

Eclipse platform made a new era in the history of java development. It provided a new and broader horizon and new dimension to the developers for easy, swift and economic development. Besides it fosters the sprit of enthusiastic learning for the developers.

In the true sense of the term Eclipse is an integrated application of several core projects built inside it. Eclipse provides core and generic framework and services upon which you can accomplish your java development and you can build your own eclipse like custom or customized applications. Besides it provides several tools which make ease for rapid application development. Besides I can say that it is such a platform or environment where you can plug your application as plugin and play with your application. However it contains so many features that beggar descriptions. You can find all the features from the eclipse site or you can go to help menu of your eclipse editor which provides detailed descriptions. It is only because of its pluggable features, it has gained momentum in the industry. Many industries adopt it as a standard and the better approach for the development. Eclipse plugin framework has brought a revolutionary change in the look and feel and provides most exciting graphical approach as compared to traditional swing applications. This framework has proved its worth for the current changes in the development and testing. In the field of top notch competition, we envisage several changes in the field of development and testing in the industry. Now a days the platform of development has been changed radically in the industries. Now client's requirements have become much more matured and strict. Many clients are reluctant to expose their existing functionality and legacy systems to the industry. They want new applications which should be pluggable for their existing systems. They want better UI approach and more intelligent works in their applications. Besides, organisations want rapid cost effective development. That is why many organisations are laying down several approaches in the hiring processes. So it is up to you how you can cope with the current technologies and organisational policies. I have a suggestion to all of you that please leave the habit of spoon feeding. There was a time when every organisations provide training to the new and novice developers. Now this trend has been changed dramatically and has come to a limited aspect in the industry. I request you to realize your subject of your learning rather than understanding it. Try to make self learning at your home (the best place for your development) and be a smart developer and help the development community with your new ideas and thoughts.

             In this article I will present some glimpse of eclipse concepts which are specific to plugin development. I will make you familiar with very few commonly used terms in eclipse plugin development. From the very inception the novice developers may find it difficult to get started with plugin development, but it is true that once you get accustomed to the coding style for plugin development, you may be enthusiastic and you can develop anything to satisfy the aesthetic desire of your clients and mangers . I am not going to give you the complete overview, architecture and details of eclipse plugin development. I will provide an approach so that you can make self learning at your home. The following terms and jargons are used in course plugin development. It is difficult to provide all the terms, I will provide you the terms in brief and I will update accordingly.

 Workbench:-

A workbench is a visible environment which contains several user interface manifestations. In a very layman term we can say that workbench is the view or a typical window when your application gets started. It is just like a railway track where you can build your vehicles to run over it. More specifically a workbench comprises the following major UI components. The components are "perspectives","views" and "editor". You can also reiterate that it the UI portion of the eclipse. It simply provides a broader infrastructure for your plugins for swift and economic development.

 Perspectives:-

A perspective encapsulates several views and editors inside the workbench window. In a layman term it is the railway compartment/s which of which has several views. Since railway compartments are of different type like airconditioned, non-airconditioned or deluxe type, similarly perspectives may be of different type specific to your functionality. For example to make web-service interaction, it may be a webservice perspective, for database perspective, it may be your DBPerspective. One or more perspectives can be built based upon your requirements and functionality. Besides it provides the initial layout of your views and decorations. Please remember that your perspective should achieve the core functionality defined by you. This feature provides a better approach to achieve the specific task. Just as a traveler moves from one compartment to another for his/her suitability, a user can switch between various perspectives.

 View:-

A view presupposes a visual component inside the perspective and inside the workbench. In a common man term it is the room inside your railway compartment. In a view you can place your components according to your suitability. A view can be of different type for example outline view, property view, work-in progress view , tree structure view etc. Each view should be created to achieve the generic goal of your application.

Editor:-

An editor is an area for editing. In a common man term, I can say that it is the seat or its related stuffs in a railway compartment where you can push and pop your article. As you define your sitting area to place beverages bottle, you can create an area to push your luggage and specific area to place your laptops, similarly an editor can be created to write a functionally structured email specific to your application and requirements or editor may be defined to write an .XML file, plain text file or a document editor. The basic purpose is to edit the text contents. An editor may be common to one or more perspectives.

Workspace:-

A workspace is the central repository of data files for an application. The workspace contains user data and some internal configuration files. Basically the workspace contains the directories and files related to your application project. This workspace is created automatically when the workbench gets started. In case of plugin development, the creation of workspace is customized.

 

Toolbar:-

A toolbar is a horizontal bar visible just beneath the workbench menu bar. It is similar to that of Microsoft MS Word. The basic purpose of this toolbar is to provide quick view of the items.

 

Wizard:-

A wizard is a typical dialog box which provides a set of sequential execution and provides guidance to the user. If you are developing an application as a plugin under eclipse, you can create your own wizard. More specifically the wizard page is just like a UI of a software installer.

 

Widget:-

In eclipse platform each UI control can be considered as widget. Each widget is defined for a specific task and functionality. So eclipse underlying framework or API is called as standard widget toolkit (SWT).

 

SWT:-

It stands for Standard Widget Toolkit but not Standard Window Toolkit. It is an API which provides basic apis and native implementations specific to your underlying OS.

 

JFace:-

It is a middle level UI framework which provides flexibility to create complex UI and it works with SWT.

  

            I hope that you have enjoyed this article. Please refer to my next article where I will provide one basic example to make your hands on plugin development.

 

Caution

 My article is only meant for learning and it does not bear any commercial significance .I request you not to integrate in your actual development of the organization. I want to

help the freshers, novice developers or those who are new this plugin development environment. In the yester years I have realized several problems relating to development in the organizations. The reasons of problems may be infinite; however I do not want to discuss this. However we have to be smart and try to cope with the current environment. I will provide you some ways of solutions to the commonly occurring problems relating to plugin development. In my forthcoming articles I may provide various source codes which are only for your understanding. Please do not attach, copy or integrate the code in your applications. In case of any problems I will not be held accountable.

 

Question to audience

 I hope that you may have gone through and enjoyed my small article. Please provide me your most valuable feedback so that I will realize it. The last but not the least I leave a small question to you for which you can send me in email id debadattamishra@aol.com .

 

Is eclipse platform independent?

 

Conclusion

 Please provide me your valuable feedback at debadattamishra@aol.com . If you find any error or errata, please report to me as soon as possible. In my next article, I will help you how to create a dialog box and you can place your UI components safely.

 

 

Rate this Article: Current: 3.5 / 5 stars - 2 vote(s).

Article Source: http://www.articlesbase.com/programming-articles/eclipse-plugin-development-a-birds-eye-view-514715.html

Print this Article Print article   Email to a Friend Send to friend   Publish this Article on your Website Publish this Article   Send Author Feedback Author feedback  
Debadatta MishraAbout the Author:

Debadatt Mishra - An agreesive java developer with a difference

Submitting articles has become one of the most popular means to drive traffic to your website and promote yourself and your business. Join us today - It's Free!

Article Comments

Comment on this article Comment on this article
Your Name
Your Email:
Comment Body
Enter Validation Code: Captcha

0
1. Hemnat (11:25, 05.11.2008)
Its really a good article, but i want to go beyond this. I need to develope a fully feldge plugin like an application. Debadattamishra, I can explain you, can i contact you?
0
2. Hemnat (11:25, 05.11.2008)
Its really a good article, but i want to go beyond this. I need to develope a fully feldge plugin like an application. Debadattamishra, I can explain you, can i contact you?

Related Articles

Akvis Coloriage: Colorize your Memories
By: akvisteam | 15/12/2006 | Software
AKVIS LLC presents the new version of AKVIS Coloriage v.4.0 for automatic photo colorization. Now it allows colorizing B&W photos in the colors you wish regardless of the original brightness of the photo.

How To Display Adsense On Wordpress With Adsense Plugins
By: Gobala Krishnan | 04/01/2007 | Internet
While Wordpress itself is a robust and complete blogging system, to really maximize the software and make money from Google Adsense you'll need to install and use a couple of Adsense "plugins". Most of the plugins can be found by doing a search on Google, and installation is simple and straightforward....

Php Post Nuke is Considered the Complete Hosting Solutions----why?
By: Fat Jack | 11/08/2007 | Software
Online presence is a must whether you want to gain visibility in your business circuit or make your presence felt in the social circle. Whatever may be your website needs---PHP Post Nuke offers you the complete package for dealing with all aspects of a dynamic, growing, content rich online community. The article offers an in depth analysis of how Post Nuke software solution can cater to multiple aspects of a large community forum, an e-commerce site or a small family website.

Blogging to the Bank 2.0 - a Full Review
By: Jasmine Chee | 02/10/2007 | Internet
Are you earning at least $34 000 every month from your blogs? If you are not, then you should take a look at latest Blogging to the Bank 2.0. This ebook will teach you practically every thing you should do to enable your blogs to earn you so much money every month. So in this article, you will be see an outline of what you are expected to get in Blogging to the Bank 2.0 and much more. So continue reading to know more...

How to Make Money From Blogging?
By: Jasmine Chee | 04/10/2007 | Internet
Are you interested in making money from blogging? If you are, then you must read this because you will find out the simplest methods to make money from blogging.

Do You Need Technical Expertises to Run a Website?
By: red010b37 | 19/08/2008 | Blogging
Once the realm of geeks with pocket protectors and an entry to Mensa, websites have become much more accessible and usable for non technical people over the last few years.

Custom Content Management Systems Can Make Your Site Stand Out
By: RJ Licata | 01/11/2008 | Web Design
Customizing your content management system can allow you to add special features and functions to your website. Using add-ons and plug-ins you can customize a CMS to perform in a way that best suits your business or personal site, making your visitor's experience an enjoyable and informative one.

How to Make Your Browser Love You
By: Sandra Prior | 29/07/2008 | Software
Browsers can be heartlessly cruel. They promise you the World Wide Web, then deliver you to Wynberg Not Found. They reveal a bit of an image here, and a hint of a sound file there, but will they go the whole multimedia way? Not until you’ve wined them and dined them and showered them with plug-ins, and by then you can’t remember what you wanted.

Got a Question? Ask.

Ask the community a question about this article:

Frequently Asked Questions

Are there any Mac os9 versions of plugins ...
By: Rik | 03-10-2008
Are there any Mac os9 versions of plugins available such as the spectral design magneto out there. I am running cubase 5.1 classic version and would like to get hold of these. Are there any archives out there?

Is there a plugin or two for the program Easy 3D ...
By: Tironspider | 21-07-2008
Is there a plugin or two for the program Easy 3D Creations? I have the  same question for Nusoft/ Water Allusions?

Mistake in your OpenID plugin
By: nathanrdotca | 24-04-2007
You have a small mistake in your OpenID Delegate plugin: According to MyOpenID's help page (https://www.myopenid.com/help) the correct setting for "OpenID Server URL" is http://www.myopenid.com/server

My question is about Windows Media Player 11--Why ...
By: stryderbill | 10-12-2006
My question is about Windows Media Player 11--Why aren't there any plugins for Sony products?  I cannot download music onto my Sony Digital Voice Recorder mdl ICD-SX.  Is there any one out there who has any suggestions.  Also, the instructions for the device should be package into a book, it is that long and not helpful!

Q&A Powered by:
Powered by Yedda 

Latest Programming Articles

Mvc Design Pattern
By: TuVinhSoft .,JSC | 14/11/2008
Model-view-controller (MVC) is an architectural pattern used in software engineering. In complex computer applications that present a large amount of data to the user, a developer often wishes to separate data (model) and user interface (View) concerns, so that changes to the user interface will not affect data handling, and that the data can be reorganized without changing the user interface.

Advantages of Low Cost Contract Programmers in Freelance Programming
By: Joanna Gadel | 12/11/2008
It observed that web industry is getting tougher thus the necessity of freelance contract programmer is required for developing more effective website with flexible features. This article states the fruitful advantages of freelance programmers in contract programming.

A Guide to Cnc Kits
By: Martin Applebaum | 09/11/2008
CNC kits are a way in which to construct your CNC machine. This article will provide some information on these machines.

A Guide to Cnc Tube Bending Machines
By: Martin Applebaum | 08/11/2008
Are you familiar with a CNC tube bending machine? This article will shed some light on the main function and components of this machine.

Ways to Hire Dedicated Php Programmers
By: Jucick | 08/11/2008
It’s not at all easy to hire dedicated PHP programmers unless you know where and how to find them. Whether you need to fix, update or enhance your website you naturally want the job done quick and right.

Top 4 Reasons Why Addressing Web Accessibility is Important
By: Matt Cave | 05/11/2008
There are very high chances that web accessibility is more important to the performance of your web site than you realize. Article takes a look at the top 4 reasons why it would be important to address the issue of web accessibility.

Xlphoto Printing, the Best Choice for Banner Printing and Poster Printing
By: Vikram Kumar | 01/11/2008
Suppose, you have visited a tourist spot or a hill station; over there, you have witnessed some of the mesmerizing locations of serene nature.

Simple & Complete Gridview Functionality(dotnet 2.0) by Syed Shees Abidi
By: Shees Abidi | 31/10/2008
My this article covers GridView functionality in a Complte,Simple & Precise way in ASP.NET(2.0),C#,SQLServer 2005.This article provides a single GridView which is capable of ~Displaying Data ~Updating it ~Deleting the existing records from database based on a Confirmation Message and ~Inserting a new record(which is beyond the implicit usage of GridView). NOTE: The application requires three simple stored proc. named empins,empupd,empdel for updation insertion and deletion respectively

More from Debadatta Mishra

Encryption Using Rsa Algorithm in Java
By: Debadatta Mishra | 23/08/2008 | Programming
This article provides a solution for RSA encryption and decryption in java, which is limited to 117 bytes.

Symmetric Cryptography in Java
By: Debadatta Mishra | 23/08/2008 | Programming
This article gives an insight into the symmetric cryptography in java. It basically provides you the use of DES algorithm.

Asymmetric Cryptography in Java
By: Debadatta Mishra | 04/06/2008 | Information Technology
An example for asymmetric cryptography in java

Object Persistence in Java
By: Debadatta Mishra | 16/05/2008 | Information Technology
An article on the persistence of plain old java object in the file system. I provide an approach to the freshers to store the entire java object. I have highlighted on XML Persistence as well as serialization.

Article Categories





Give Feedback

Sign up for our email newsletter

Receive updates, enter your email below