[jbosstools-issues] [JBoss JIRA] (JBIDE-11578) compile failed in jst.jsp when run against Juno TP

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Wed Apr 18 20:43:17 EDT 2012


    [ https://issues.jboss.org/browse/JBIDE-11578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12685494#comment-12685494 ] 

Alexey Kazakov commented on JBIDE-11578:
----------------------------------------

The following code whish uses Eclipse internal API was been added as part of the fix for JBIDE-2017

{code}
		this.serviceLocator = (ServiceLocator) ((IServiceLocatorCreator) multiPageEditor
				.getSite().getService(IServiceLocatorCreator.class))
				.createServiceLocator(multiPageEditor.getSite(), null,
						new IDisposable() {
							public void dispose() {
								final Control control = ((PartSite) getMultiPageEditor()
										.getSite()).getPane().getControl();
								if (control != null && !control.isDisposed()) {
									((PartSite) getMultiPageEditor().getSite())
											.getPane().doHide();
								}
							}
						});
{code}

Yahor, please take a look if it can be removed.
                
> compile failed in jst.jsp when run against Juno TP
> --------------------------------------------------
>
>                 Key: JBIDE-11578
>                 URL: https://issues.jboss.org/browse/JBIDE-11578
>             Project: Tools (JBoss Tools)
>          Issue Type: Sub-task
>          Components: Visual Page Editor core
>    Affects Versions: 3.3.0.Beta3
>            Reporter: Alexey Kazakov
>            Assignee: Yahor Radtsevich
>             Fix For: 3.3.0.Beta3
>
>
> org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/JSPMultiPageEditorSite.java (line 84)
> The method getPane() is undefined for the type PartSite

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list