Community
Participate
Working Groups
206 Given IPageSite extends IViewSite PropertySheetContentOutlinePage extends ContentOutlinePage I changed the return type of the method getSite in ContentOutlinePage from IViewSite to IPageSite. PropertySheetContentOutlinePage (in another project) contais a method which calls getSite. When I ran the code I got the following error. The error went away when I did a manual rebuid of PropertySheetContentOutlinePage's project Log: Mon Nov 05 09:35:27 EST 2001 2 org.eclipse.ui 2 Problems occurred when invoking code from plug-in: org.eclipse.ui. java.lang.NoSuchMethodError: org.eclipse.ui.part.Page: method getSite() Lorg/eclipse/ui/IViewSite; not found at org.eclipse.ui.examples.propertysheet.PropertySheetContentOutlinePage.init (PropertySheetContentOutlinePage.java:56) at org.eclipse.ui.part.PageBookView.initPage(PageBookView.java:268) at org.eclipse.ui.part.PageBookView.createPage(PageBookView.java:256) at org.eclipse.ui.part.PageBookView.partActivated(PageBookView.java:465) at org.eclipse.ui.part.PageBookView.showBootstrapPart (PageBookView.java:565) at org.eclipse.ui.part.PageBookView.createPartControl (PageBookView.java:293) at org.eclipse.ui.views.contentoutline.ContentOutline.createPartControl (ContentOutline.java:90) at org.eclipse.ui.internal.PartPane$2.run(PartPane.java:53) at org.eclipse.core.internal.runtime.InternalPlatform.run (InternalPlatform.java:812) at org.eclipse.core.runtime.Platform.run(Platform.java:395) at org.eclipse.ui.internal.PartPane.createChildControl(PartPane.java:51) at org.eclipse.ui.internal.PartPane.createControl(PartPane.java:93) at org.eclipse.ui.internal.ViewPane.createControl(ViewPane.java:107) at org.eclipse.ui.internal.PartSashContainer.createControl (PartSashContainer.java:163) at org.eclipse.ui.internal.PerspectivePresentation.activate (PerspectivePresentation.java:80) at org.eclipse.ui.internal.Perspective.onActivate(Perspective.java:500) at org.eclipse.ui.internal.WorkbenchPage.onActivate (WorkbenchPage.java:933) at org.eclipse.ui.internal.WorkbenchWindow$5.run (WorkbenchWindow.java:886) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:56) at org.eclipse.ui.internal.WorkbenchWindow.setActivePage (WorkbenchWindow.java:874) at org.eclipse.ui.internal.WorkbenchWindow.restoreState (WorkbenchWindow.java:787) at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:681) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:518) at org.eclipse.core.internal.runtime.InternalPlatform.run (InternalPlatform.java:812) at org.eclipse.core.runtime.Platform.run(Platform.java:395) at org.eclipse.ui.internal.Workbench.openPreviousWorkbenchState (Workbench.java:502) at org.eclipse.ui.internal.Workbench.openWindows(Workbench.java:559) at org.eclipse.ui.internal.Workbench.init(Workbench.java:412) at org.eclipse.ui.internal.Workbench.run(Workbench.java:706) at org.eclipse.core.internal.boot.InternalBootLoader.run (InternalBootLoader.java:820) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:285) at java.lang.reflect.Method.invoke(Native Method) at org.eclipse.core.launcher.Main.basicRun(Main.java:151) at org.eclipse.core.launcher.Main.run(Main.java:502) at org.eclipse.core.launcher.UIMain.main(UIMain.java:52)
Another duplicate of the image builder limitation with respect to cross project dependencies on class files. *** This bug has been marked as a duplicate of 5275 ***