Openapi-method LibraryTableUtil.getLibraryTable() returns non-openapi interface?

I am writing a plugin that gets the global libraries using:

LibraryTableEx libraryTable = LibraryTableUtil.getLibraryTable();

My problem is, that interface LibraryTableEx isn't included in openapi.jar but idea.jar, so I have to use idea.jar at plugin compile time.
Isn't getLibraryTable() supposed to return openapi interface LibraryTable and not LibraryTableEx?

Best regards,
Lars Johansen

NB: IDEA simply rocks too much!

0
2 comments

Lars Johansen wrote:

I am writing a plugin that gets the global libraries using:

LibraryTableEx libraryTable = LibraryTableUtil.getLibraryTable();

My problem is, that interface LibraryTableEx isn't included in openapi.jar
but idea.jar, so I have to use idea.jar at plugin compile time. Isn't
getLibraryTable() supposed to return openapi interface LibraryTable and
not LibraryTableEx?


You are right. Please post an SCR.

Friendly,
Dmitry

--
Dmitry Lomov
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"

0

Thank you for the swift answer!

/Lars

http://www.intellij.net/tracker/idea/viewSCR?publicId=29917


"Dmitry Lomov (JetBrains)" <Dmitry.Lomov@jetbrains.com> wrote in message
news:c0tb47$9d5$1@is.intellij.net...

Lars Johansen wrote:

>

I am writing a plugin that gets the global libraries using:

>

LibraryTableEx libraryTable = LibraryTableUtil.getLibraryTable();

>

My problem is, that interface LibraryTableEx isn't included in

openapi.jar

but idea.jar, so I have to use idea.jar at plugin compile time. Isn't
getLibraryTable() supposed to return openapi interface LibraryTable and
not LibraryTableEx?

>

You are right. Please post an SCR.

>

Friendly,
Dmitry

>

--
Dmitry Lomov
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"



0

Please sign in to leave a comment.