It\'s my first time to develop an RCP application with Eclipse 3.8. My question may seem weird but it is really confusing for me. Where can I put the code for my application? If
what i've realized is, the generated classes in a RCP project folder are only to manage the lifecycle and appearance of the RCP application, that's it.
For eg, if you created a view (class that implements IViewPart interface) then u need to add that view to the RCP application using plugin.xml
file.
following is a short description of these classes (what basically they do)
Application.java
- starting point of application, similar to main(-) method. WorkbenchWindowAdvisor.java
- for window size, title, menubar, toolbar, status bar configuration and visibility.WorkbenchAdvisor.java
- identifies the initial perspective and which WorkbenchWindowAdvisor to use.Perspective.java
- arrangement of views and editors (like we have in Java Perspective, Debug Perspective in Eclipse IDE) ActionBarAdvisor.java
- for creating actions but the use of commands framework is encouraged (see page no.292 of Eclipse Rich Client Platform, Second Edition- by Jeff McAffer http://www.amazon.com/Eclipse-Rich-Client-Platform-Edition/dp/0321603788 )