From: Jochen L. <lue...@us...> - 2004-08-28 11:19:06
|
Update of /cvsroot/e-p-i-c/org.epic.perleditor/src/org/epic/perleditor/editors In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16376/src/org/epic/perleditor/editors Modified Files: PerlActionContributor.java Log Message: Open Declaration added Index: PerlActionContributor.java =================================================================== RCS file: /cvsroot/e-p-i-c/org.epic.perleditor/src/org/epic/perleditor/editors/PerlActionContributor.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- PerlActionContributor.java 27 Aug 2004 04:52:45 -0000 1.7 +++ PerlActionContributor.java 28 Aug 2004 11:18:52 -0000 1.8 @@ -8,6 +8,7 @@ import org.epic.perleditor.actions.ExportHtmlSourceAction; import org.epic.perleditor.actions.FormatSourceAction; import org.epic.perleditor.actions.ValidateSourceAction; +import org.epic.perleditor.popupmenus.OpenDeclaration; /** @@ -18,6 +19,7 @@ protected FormatSourceAction formatSourceAction; protected ExportHtmlSourceAction htmExportAction; protected ValidateSourceAction validateSourceAction; + protected OpenDeclaration openDeclarationAction; /** * Default constructor. @@ -27,6 +29,7 @@ formatSourceAction = new FormatSourceAction(); htmExportAction = new ExportHtmlSourceAction(); validateSourceAction = new ValidateSourceAction(); + openDeclarationAction = new OpenDeclaration(); //formatSourceAction.setActionDefinitionId("org.epic.perledior.formatsource"); } @@ -65,10 +68,13 @@ bars.setGlobalActionHandler("org.epic.perleditor.FormatSource", formatSourceAction); bars.setGlobalActionHandler("org.epic.perleditor.HtmlExport", htmExportAction); bars.setGlobalActionHandler("org.epic.perleditor.ValidateSyntax", validateSourceAction); + bars.setGlobalActionHandler("org.epic.perleditor.popupmenus.OpenSubAction", openDeclarationAction); } else { bars.setGlobalActionHandler("org.epic.perleditor.FormatSource", null); bars.setGlobalActionHandler("org.epic.perleditor.HtmlExport", null); + bars.setGlobalActionHandler("org.epic.perleditor.ValidateSyntax", null); + bars.setGlobalActionHandler("org.epic.perleditor.popupmenus.OpenSubAction", null); } } |