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.
- lookup extension point id in plugin. in plugin.xml there element
<extension point="org.eclipse.ui.commands">
- "com.eclipse.ui.commands" extension point id. - lookup id in eclipse documentation - platform or java development tools. if id not in either document - post in comment here.
Comments
Post a Comment