Hi guys,
Using Jruby engine (Scriptenginemanager) i got classcast exception
Problen senario is given below
1.JrubyEngine is in different plugin
2.MYown class and .rb files is in different plugin
3.MYown class has some business login and try to execute "Myown" class
from .rb.
When i execute .rb file from JrubyEngine it simply execute "MyOwn" class
in this i am tring to show eclipse view from "Viewid" throug java code.
IViewPart symbolView
=PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().showView("com.ydc.ganesha.ui.debugSymbolView","Secondary",
WorkbenchPage.VIEW_ACTIVATE);
but when i tried to cast that IVewPart in "Myview" class ,this class is
implemented by IVewpart so it throws Class cast exception.
excepotion is "Myview can not be cast to Myview "
Is there any solution for this issue.
on 2012-04-09 08:33
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.