IDEA 7.0.3 idea.jar(working with 'ex' packages)

Hi, I wonder how to substitute classes which are located in package that contains 'ex'. Is it possible to change for e.g. com.intellij.openapi.wm.ex.ToolWindowManagerEx to another class, I mean for e.g that:
if I have: ToolWindowManagerEx manager = ToolWindowManagerEx.getInstanceEx(project);
manager.addToolWindowManagerListener(listener);

then can I avoid usage of ToolWindowManagerEx and implement the same functionality(I mean to add listener)... If yes then what class is the best for usage? Has anyone had the same problems? And is it possible to exclude usage of 'ex' packages (I'm on the right way or not)?

Edited by: ALincoln on May 14, 2008 12:42 AM

1 comment
Comment actions Permalink

Hello ALincoln,

No, we don't have multiple copies of the same class in different packages
of the product. If some functionality is available only in the class in "ex"
package, there is no way to use it other than by adding idea.jar as a dependency.

Hi, I wonder how to substitute classes which are located in package
that contain 'ex'. Is it possible to change for e.g.
com.intellij.openapi.wm.ex.ToolWindowManagerEx to another class, I
mean for e.g that:
if I have: ToolWindowManagerEx manager =
ToolWindowManagerEx.getInstanceEx(project);
manager.addToolWindowManagerListener(listener);
then can I avoid usage of ToolWindowManagerEx and implement the same
functionality(I mean to add listener)... If yes then what class is the
best for usage? Has anyone had the same problems? And is it possible
to exclude usage of 'ex' packages (I'm on the right way or not)?

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Please sign in to leave a comment.