Update of /cvsroot/easystruts/net.sf.easystruts/src/org/easystruts/eclipse/editor/tiles
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6376/src/org/easystruts/eclipse/editor/tiles
Modified Files:
EasyStrutsTilesEditor.java
EasyStrutsEditorTilesContributor.java
Log Message:
Fixed a lot of compilation errors. Still ~ 400 of them (was 650 before). This requires the plugin "org.eclipse.update.ui.forms", which is not in 3.0 or 3.1 anymore. A solution is to take it from CVS (tag R2_1_3).
Index: EasyStrutsEditorTilesContributor.java
===================================================================
RCS file: /cvsroot/easystruts/net.sf.easystruts/src/org/easystruts/eclipse/editor/tiles/EasyStrutsEditorTilesContributor.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** EasyStrutsEditorTilesContributor.java 15 Apr 2005 04:25:33 -0000 1.1
--- EasyStrutsEditorTilesContributor.java 27 Apr 2005 05:46:57 -0000 1.2
***************
*** 62,66 ****
package org.easystruts.eclipse.editor.tiles;
! import org.eclipse.pde.internal.ui.editor.PDEEditorContributor;
/**
--- 62,67 ----
package org.easystruts.eclipse.editor.tiles;
! import org.eclipse.ui.IEditorPart;
! import org.eclipse.ui.part.MultiPageEditorActionBarContributor;
/**
***************
*** 69,76 ****
* @todo make it !
*/
! public class EasyStrutsEditorTilesContributor extends PDEEditorContributor {
public EasyStrutsEditorTilesContributor() {
! super("&Struts");
}
}
--- 70,87 ----
* @todo make it !
*/
! public class EasyStrutsEditorTilesContributor extends MultiPageEditorActionBarContributor {
public EasyStrutsEditorTilesContributor() {
! // TODO: understand why "&Struts" is needed
! //super("&Struts");
! super();
! }
!
! /* (non-Javadoc)
! * @see org.eclipse.ui.part.MultiPageEditorActionBarContributor#setActivePage(org.eclipse.ui.IEditorPart)
! */
! public void setActivePage(IEditorPart activeEditor) {
! // TODO implement for 3.0
!
}
}
Index: EasyStrutsTilesEditor.java
===================================================================
RCS file: /cvsroot/easystruts/net.sf.easystruts/src/org/easystruts/eclipse/editor/tiles/EasyStrutsTilesEditor.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** EasyStrutsTilesEditor.java 15 Apr 2005 04:25:33 -0000 1.1
--- EasyStrutsTilesEditor.java 27 Apr 2005 05:46:57 -0000 1.2
***************
*** 81,85 ****
import org.eclipse.core.runtime.Status;
import org.eclipse.jface.text.IDocument;
! import org.eclipse.pde.internal.core.IModelProvider;
import org.eclipse.pde.internal.ui.editor.IPDEEditorPage;
--- 81,85 ----
import org.eclipse.core.runtime.Status;
import org.eclipse.jface.text.IDocument;
! import org.eclipse.pde.core.IModelProvider;
import org.eclipse.pde.internal.ui.editor.IPDEEditorPage;
***************
*** 215,222 ****
* Return home page
*/
public IPDEEditorPage getHomePage() {
return getPage(EASYSTRUTS_PAGE);
}
!
/**
* Update the model
--- 215,223 ----
* Return home page
*/
+ /* Not needed any more in 3.0 ?
public IPDEEditorPage getHomePage() {
return getPage(EASYSTRUTS_PAGE);
}
! */
/**
* Update the model
|