org.eclipse.mylyn.wikitext.ui.commands
Class AbstractMarkupResourceHandler
java.lang.Object
AbstractHandler
org.eclipse.mylyn.wikitext.ui.commands.AbstractMarkupResourceHandler
- Direct Known Subclasses:
- ConvertMarkupToDocbook, ConvertMarkupToHtml
public abstract class AbstractMarkupResourceHandler
- extends AbstractHandler
An abstract base class for handlers that use the workbench selection to operate on resources
- Author:
- David Green
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
markupLanguage
protected MarkupLanguage markupLanguage
AbstractMarkupResourceHandler
public AbstractMarkupResourceHandler()
execute
public Object execute(ExecutionEvent event)
throws ExecutionException
- Throws:
ExecutionException
computeSelection
protected ISelection computeSelection(ExecutionEvent event)
- Parameters:
event
- - Since:
- 1.1
handleFile
protected abstract void handleFile(IFile file,
String name)
throws ExecutionException
- Throws:
ExecutionException
getMarkupLanguage
public MarkupLanguage getMarkupLanguage()
setMarkupLanguage
public void setMarkupLanguage(MarkupLanguage markupLanguage)
getSelection
public IStructuredSelection getSelection()
- Since:
- 1.1
setSelection
public void setSelection(IStructuredSelection selection)
- Since:
- 1.1
Copyright © 2007, 2009 David Green and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html