X-Git-Url: http://secure.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/wizards/html/InsertHTMLElementAction.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/wizards/html/InsertHTMLElementAction.java deleted file mode 100644 index 137b8dc..0000000 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/wizards/html/InsertHTMLElementAction.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * $Id: InsertHTMLElementAction.java,v 1.2 2005-05-06 00:57:33 stefanbjarni Exp $ - * Copyright Narushima Hironori. All rights reserved. - */ -package net.sourceforge.phpeclipse.wizards.html; - -import org.eclipse.jface.action.IAction; -import org.eclipse.jface.viewers.ISelection; -import org.eclipse.jface.wizard.WizardDialog; -import org.eclipse.swt.SWT; -import org.eclipse.ui.IEditorActionDelegate; -import org.eclipse.ui.IEditorPart; -import org.eclipse.ui.texteditor.ITextEditor; - - -/** - * InsertTagAction - */ -public class InsertHTMLElementAction implements IEditorActionDelegate { - - ITextEditor targetEditor = null; - - public InsertHTMLElementAction() { - } - - public void setActiveEditor(IAction action, IEditorPart targetEditor) { - if(targetEditor instanceof ITextEditor){ - this.targetEditor = (ITextEditor)targetEditor; - } - } - - public void run(IAction action) { - - WizardDialog wizDialog = - new WizardDialog( - targetEditor.getSite().getShell(), - new EditElementWizard(targetEditor, null) ){ - - protected int getShellStyle() { - return super.getShellStyle() | SWT.RESIZE; - } - }; - - wizDialog.open(); - } - - public void selectionChanged(IAction action, ISelection selection) { - } - -}