How do Eclipse plugins work? -


specifically, know happens when eclipse loads plugin.

to explain i'm looking for: trying decipher plugin reformats java code make nicer comparisons (found here).

the main class gets things going apparently class javacontentviewercreator implements iviewercreator. came conclusion because it's class mentioned in plugin.xml file.

javacontentviewercreator requires 2 parameters 1 method has; composite object, , compareconfiguration object. passing javacontentviewercreator these parameters? being called from?

mainly, calling javacontentviewercreator , triggers plugin execute other classes?

i'd know how plugins started (where's starting point) , how trace rest of there.

all answers, other "read book" (which am), appreciated.

  1. lookup extension point id in plugin. in plugin.xml there element <extension point="org.eclipse.ui.commands"> - "com.eclipse.ui.commands" extension point id.
  2. lookup id in eclipse documentation - platform or java development tools. if id not in either document - post in comment here.

Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

java - Using an Integer ArrayList in Android -