Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "OTDT/NonAPI"
Line 9: | Line 9: | ||
Additionally, the following OT plugins access internals of the JDT/Core: | Additionally, the following OT plugins access internals of the JDT/Core: | ||
* [[Image:Plugin_obj.gif]] org.eclipse.objectteams.otdt | * [[Image:Plugin_obj.gif]] org.eclipse.objectteams.otdt | ||
− | ** [[Image:Team_obj.gif]] [http://dev.eclipse.org/viewcvs/index.cgi/trunk/plugins/org.eclipse.objectteams.otdt/src/org/eclipse/objectteams/otdt/core/hierarchy/OTTypeHierarchies.java?view=markup&root=TOOLS_OBJECTTEAMS&sortby=file | + | ** [[Image:Team_obj.gif]] [http://dev.eclipse.org/viewcvs/index.cgi/trunk/plugins/org.eclipse.objectteams.otdt/src/org/eclipse/objectteams/otdt/core/hierarchy/OTTypeHierarchies.java?view=markup&root=TOOLS_OBJECTTEAMS&sortby=file OTTypeHierarchies] -- This team adapts the TypeHierarchy mechanism to account for implicit inheritance |
− | + | ||
− | + | ||
* [[Image:Plugin_obj.gif]] org.eclipse.objectteams.otdt.apt | * [[Image:Plugin_obj.gif]] org.eclipse.objectteams.otdt.apt | ||
+ | ** [[Image:Team_obj.gif]] [http://dev.eclipse.org/viewcvs/index.cgi/trunk/plugins/org.eclipse.objectteams.otdt.apt/src/org/eclipse/objectteams/otdt/apt/VisitorsAdaptor.java?view=markup&root=TOOLS_OBJECTTEAMS&sortby=file VisitorsAdaptor] -- This team accesses internal classes for adapting annotation processing (APT) | ||
+ | * [[Image:Plugin_obj.gif]] org.eclipse.objectteams.otdt.compiler.adaptor | ||
** '''Multiple Team classes''' -- adaptations for the following purposes | ** '''Multiple Team classes''' -- adaptations for the following purposes | ||
*** ensure the incremental builder respects implicit role inheritance as a trigger for rebuilding affected classes | *** ensure the incremental builder respects implicit role inheritance as a trigger for rebuilding affected classes | ||
*** make information from aspectBindings available for checking imports and specifically base imports during compilation | *** make information from aspectBindings available for checking imports and specifically base imports during compilation | ||
+ | |||
Line 21: | Line 22: | ||
Accessed by: | Accessed by: | ||
* [[Image:Plugin_obj.gif]] org.eclipse.objectteams.otdt.apt | * [[Image:Plugin_obj.gif]] org.eclipse.objectteams.otdt.apt | ||
− | ** [[Image:Team_obj.gif]] [http://dev.eclipse.org/viewcvs/index.cgi/trunk/plugins/org.eclipse.objectteams.otdt.apt/src/org/eclipse/objectteams/otdt/apt/VisitorsAdaptor.java?view=markup&root=TOOLS_OBJECTTEAMS&sortby=file | + | ** [[Image:Team_obj.gif]] [http://dev.eclipse.org/viewcvs/index.cgi/trunk/plugins/org.eclipse.objectteams.otdt.apt/src/org/eclipse/objectteams/otdt/apt/VisitorsAdaptor.java?view=markup&root=TOOLS_OBJECTTEAMS&sortby=file VisitorsAdaptor] -- This team adapts the AnnotationDiscoveryVisitor so that it will finds annotations of method bindings (callin/callout) and their arguments, too. |
+ | ===org.eclipse.jdt.ui=== | ||
+ | Accessed by: | ||
+ | * [[Image:Plugin_obj.gif]] org.eclipse.objectteams.otdt.debug.adaptor | ||
+ | ** [[Image:Team_obj.gif]] [http://dev.eclipse.org/viewcvs/index.cgi/trunk/org.eclipse.objectteams.otdt.debug.adaptor/src/org/eclipse/objectteams/otdt/internal/debug/adaptor/PresentationAdaptor.java?view=markup&root=TOOLS_OBJECTTEAMS&sortby=file PresentationAdaptor] -- access JavaEditor for computing the start line of an element | ||
− | ===org.eclipse. | + | |
+ | ===org.eclipse.jdt.debug=== | ||
+ | Accessed by: | ||
+ | * [[Image:Plugin_obj.gif]] org.eclipse.objectteams.otdt.debug.adaptor | ||
+ | ** [[Image:Team_obj.gif]] [http://dev.eclipse.org/viewcvs/index.cgi/trunk/plugins/org.eclipse.objectteams.otdt.debug.adaptor/src/org/eclipse/objectteams/otdt/internal/debug/adaptor/PresentationAdaptor.java?view=markup&root=TOOLS_OBJECTTEAMS&sortby=file PresentationAdaptor] -- beautify stackframes relating to generated code | ||
+ | ** [[Image:Team_obj.gif]] [http://dev.eclipse.org/viewcvs/index.cgi/trunk/plugins/org.eclipse.objectteams.otdt.debug.adaptor/src/org/eclipse/objectteams/otdt/internal/debug/adaptor/SourceLookupAdaptor.java?view=markup&root=TOOLS_OBJECTTEAMS&sortby=file SourceLookupAdaptor] -- adapt source lookup for "Open Actual Type" action to reflect implicit role inheritance | ||
+ | |||
+ | ===org.eclipse.jdt.debug.ui=== | ||
+ | Accessed by: | ||
+ | * [[Image:Plugin_obj.gif]] org.eclipse.objectteams.otdt.debug.adaptor | ||
+ | ** [[Image:Team_obj.gif]] [http://dev.eclipse.org/viewcvs/index.cgi/trunk/plugins/org.eclipse.objectteams.otdt.debug.adaptor/src/org/eclipse/objectteams/otdt/internal/debug/adaptor/PresentationAdaptorActivator.java?view=markup&root=TOOLS_OBJECTTEAMS&sortby=file PresentationAdaptorActivator] -- beautify stackframes relating to generated code (manages activation of PresentationAdaptor) | ||
+ | ** [[Image:Team_obj.gif]] [http://dev.eclipse.org/viewcvs/index.cgi/trunk/plugins/org.eclipse.objectteams.otdt.debug.adaptor/src/org/eclipse/objectteams/otdt/internal/debug/adaptor/launching/DebugUIDialogAdaptor2.java?view=markup&root=TOOLS_OBJECTTEAMS&sortby=file DebugUIDialogAdaptor2] -- add new "Team Activation" tab to LocalJavaApplicationTabGroup | ||
+ | ** [[Image:Team_obj.gif]] [http://dev.eclipse.org/viewcvs/index.cgi/trunk/plugins/org.eclipse.objectteams.otdt.debug.adaptor/src/org/eclipse/objectteams/otdt/internal/debug/adaptor/launching/JDTDebugUILaunchingAdaptor.java?view=markup&root=TOOLS_OBJECTTEAMS&sortby=file JDTDebugUILaunchingAdaptor] -- add OT/J checkbox to JavaJRETab and JavaConnectTab | ||
+ | ** [[Image:Team_obj.gif]] [http://dev.eclipse.org/viewcvs/index.cgi/trunk/plugins/org.eclipse.objectteams.otdt.debug.ui/src/org/eclipse/objectteams/otdt/debug/ui/internal/actions/OTToggleBreakpointAdapter.java?view=markup&root=TOOLS_OBJECTTEAMS&sortby=file OTToggleBreakpointAdapter] -- replace ToggleBreakPointAdapter with a variant that handles implicit role inheritance and non-Java elements (callout/callin method binding) | ||
+ | ** also: access to two internal constants from DebugUIMessages | ||
+ | |||
+ | |||
+ | |||
+ | ===org.eclipse.debug.ui=== | ||
+ | Accessed by: | ||
+ | ** [[Image:Team_obj.gif]] [http://dev.eclipse.org/viewcvs/index.cgi/trunk/plugins/org.eclipse.objectteams.otdt.debug.adaptor/src/org/eclipse/objectteams/otdt/internal/debug/adaptor/launching/DebugUIDialogAdaptor.java?view=markup&root=TOOLS_OBJECTTEAMS&sortby=file DebugUIDialogAdaptor] -- facility for adding a new "Team Activation" tab to various launch configuration dialogs | ||
+ | |||
+ | |||
+ | ===org.eclipse.pde.core=== | ||
Accessed by: | Accessed by: | ||
* [[Image:Plugin_obj.gif]] org.eclipse.objectteams.otdt.compiler.adaptor | * [[Image:Plugin_obj.gif]] org.eclipse.objectteams.otdt.compiler.adaptor | ||
− | ** [[Image:Team_obj.gif]] [http://dev.eclipse.org/viewcvs/index.cgi/trunk/plugins/org.eclipse.objectteams.otdt.compiler.adaptor/src/org/eclipse/objectteams/otdt/internal/compiler/adaptor/PDEAdaptor.java?view=markup&root=TOOLS_OBJECTTEAMS&sortby=file | + | ** [[Image:Team_obj.gif]] [http://dev.eclipse.org/viewcvs/index.cgi/trunk/plugins/org.eclipse.objectteams.otdt.compiler.adaptor/src/org/eclipse/objectteams/otdt/internal/compiler/adaptor/PDEAdaptor.java?view=markup&root=TOOLS_OBJECTTEAMS&sortby=file PDEAdaptor] -- feed information about aspectBindings into the compiler for access checking |
+ | |||
+ | ===org.eclipse.pde.ui=== | ||
+ | Accessed by: | ||
+ | * [[Image:Plugin_obj.gif]] org.eclipse.objectteams.otdt.debug.adaptor | ||
+ | ** also: access to an internal constant from IPDEUIConstants | ||
===org.eclipse.core.resources=== | ===org.eclipse.core.resources=== | ||
Accessed by: | Accessed by: | ||
* [[Image:Plugin_obj.gif]] org.eclipse.objectteams.otdt.compiler.adaptor | * [[Image:Plugin_obj.gif]] org.eclipse.objectteams.otdt.compiler.adaptor | ||
− | ** [[Image:Team_obj.gif]] [http://dev.eclipse.org/viewcvs/index.cgi/trunk/plugins/org.eclipse.objectteams.otdt.compiler.adaptor/src/org/eclipse/objectteams/otdt/internal/compiler/adaptor/ResourceProjectAdaptor.java?view=markup&root=TOOLS_OBJECTTEAMS&sortby=file | + | ** [[Image:Team_obj.gif]] [http://dev.eclipse.org/viewcvs/index.cgi/trunk/plugins/org.eclipse.objectteams.otdt.compiler.adaptor/src/org/eclipse/objectteams/otdt/internal/compiler/adaptor/ResourceProjectAdaptor.java?view=markup&root=TOOLS_OBJECTTEAMS&sortby=file ResourceProjectAdaptor] -- decorate objects of type Project to store two more fields if the project is an OT/Equinox project. |
'''Status''': ''List of OT-plugins processed:'' | '''Status''': ''List of OT-plugins processed:'' | ||
Line 38: | Line 71: | ||
* org.eclipse.objectteams.otdt.apt | * org.eclipse.objectteams.otdt.apt | ||
* org.eclipse.objectteams.otdt.compiler.adaptor | * org.eclipse.objectteams.otdt.compiler.adaptor | ||
+ | * org.eclipse.objectteams.otdt.debug | ||
+ | |||
[[Category:Object Teams]] | [[Category:Object Teams]] | ||
[[Category:Object Teams Development]] | [[Category:Object Teams Development]] |
Revision as of 10:40, 25 November 2010
For the sake of a smooth and deep integration into the JDT the OTDT connects to other plugins using some non-API mechanisms. The extent and rationale is documented on this page.
Contents
Affected plugins
org.eclipse.jdt.core
The OTDT contains a variant of the jdt.core plugin as described here.
Additionally, the following OT plugins access internals of the JDT/Core:
- org.eclipse.objectteams.otdt
- OTTypeHierarchies -- This team adapts the TypeHierarchy mechanism to account for implicit inheritance
- org.eclipse.objectteams.otdt.apt
- VisitorsAdaptor -- This team accesses internal classes for adapting annotation processing (APT)
- org.eclipse.objectteams.otdt.compiler.adaptor
- Multiple Team classes -- adaptations for the following purposes
- ensure the incremental builder respects implicit role inheritance as a trigger for rebuilding affected classes
- make information from aspectBindings available for checking imports and specifically base imports during compilation
- Multiple Team classes -- adaptations for the following purposes
org.eclipse.jdt.core.apt
Accessed by:
- org.eclipse.objectteams.otdt.apt
- VisitorsAdaptor -- This team adapts the AnnotationDiscoveryVisitor so that it will finds annotations of method bindings (callin/callout) and their arguments, too.
org.eclipse.jdt.ui
Accessed by:
- org.eclipse.objectteams.otdt.debug.adaptor
- PresentationAdaptor -- access JavaEditor for computing the start line of an element
org.eclipse.jdt.debug
Accessed by:
- org.eclipse.objectteams.otdt.debug.adaptor
- PresentationAdaptor -- beautify stackframes relating to generated code
- SourceLookupAdaptor -- adapt source lookup for "Open Actual Type" action to reflect implicit role inheritance
org.eclipse.jdt.debug.ui
Accessed by:
- org.eclipse.objectteams.otdt.debug.adaptor
- PresentationAdaptorActivator -- beautify stackframes relating to generated code (manages activation of PresentationAdaptor)
- DebugUIDialogAdaptor2 -- add new "Team Activation" tab to LocalJavaApplicationTabGroup
- JDTDebugUILaunchingAdaptor -- add OT/J checkbox to JavaJRETab and JavaConnectTab
- OTToggleBreakpointAdapter -- replace ToggleBreakPointAdapter with a variant that handles implicit role inheritance and non-Java elements (callout/callin method binding)
- also: access to two internal constants from DebugUIMessages
org.eclipse.debug.ui
Accessed by:
- DebugUIDialogAdaptor -- facility for adding a new "Team Activation" tab to various launch configuration dialogs
org.eclipse.pde.core
Accessed by:
- org.eclipse.objectteams.otdt.compiler.adaptor
- PDEAdaptor -- feed information about aspectBindings into the compiler for access checking
org.eclipse.pde.ui
Accessed by:
- org.eclipse.objectteams.otdt.debug.adaptor
- also: access to an internal constant from IPDEUIConstants
org.eclipse.core.resources
Accessed by:
- org.eclipse.objectteams.otdt.compiler.adaptor
- ResourceProjectAdaptor -- decorate objects of type Project to store two more fields if the project is an OT/Equinox project.
Status: List of OT-plugins processed:
- org.eclipse.objectteams.otdt
- org.eclipse.objectteams.otdt.apt
- org.eclipse.objectteams.otdt.compiler.adaptor
- org.eclipse.objectteams.otdt.debug