|
Mylyn WikiText | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAbstractTaskEditorExtension
org.eclipse.mylyn.wikitext.tasks.ui.editor.MarkupTaskEditorExtension<MarkupLanguageType>
public class MarkupTaskEditorExtension<MarkupLanguageType extends MarkupLanguage>
A task editor extension that uses a markup language to parse content. Provides a markup-aware source editor, and a source viewer that displays markup in its intended formatted form.
Nested Class Summary | |
---|---|
protected static class |
MarkupTaskEditorExtension.TaskMarkupSourceViewerConfiguration
|
protected static class |
MarkupTaskEditorExtension.TaskMarkupViewerConfiguration
|
Constructor Summary | |
---|---|
MarkupTaskEditorExtension()
|
Method Summary | |
---|---|
protected void |
configureDefaultInternalLinkPattern(TaskRepository taskRepository,
MarkupLanguageType markupLanguage)
Overriding methods should set the internal hyperlink pattern of
the given markup language based on some default rules applied to the task repository URL. |
protected void |
configureMarkupLanguage(TaskRepository taskRepository,
MarkupLanguageType markupLanguage)
Configures the markup language with settings from the task repository. |
SourceViewer |
createEditor(TaskRepository taskRepository,
Composite parent,
int style)
Deprecated. |
SourceViewer |
createEditor(TaskRepository taskRepository,
Composite parent,
int style,
IAdaptable context)
|
protected MarkupLanguageConfiguration |
createMarkupLanguageConfiguration(TaskRepository taskRepository)
|
protected MarkupTaskEditorExtension.TaskMarkupSourceViewerConfiguration |
createSourceViewerConfiguration(TaskRepository taskRepository,
SourceViewer viewer)
|
protected MarkupTaskEditorExtension.TaskMarkupSourceViewerConfiguration |
createSourceViewerConfiguration(TaskRepository taskRepository,
SourceViewer viewer,
IAdaptable context)
|
SourceViewer |
createViewer(TaskRepository taskRepository,
Composite parent,
int style)
Deprecated. |
SourceViewer |
createViewer(TaskRepository taskRepository,
Composite parent,
int style,
IAdaptable context)
|
protected MarkupTaskEditorExtension.TaskMarkupViewerConfiguration |
createViewerConfiguration(TaskRepository taskRepository,
MarkupViewer markupViewer)
|
protected MarkupTaskEditorExtension.TaskMarkupViewerConfiguration |
createViewerConfiguration(TaskRepository taskRepository,
MarkupViewer markupViewer,
IAdaptable context)
|
String |
getEditorContextId()
|
MarkupLanguageType |
getMarkupLanguage()
|
void |
setMarkupLanguage(MarkupLanguageType markupLanguage)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MarkupTaskEditorExtension()
Method Detail |
---|
public MarkupLanguageType getMarkupLanguage()
public void setMarkupLanguage(MarkupLanguageType markupLanguage)
public String getEditorContextId()
@Deprecated public SourceViewer createViewer(TaskRepository taskRepository, Composite parent, int style)
public SourceViewer createViewer(TaskRepository taskRepository, Composite parent, int style, IAdaptable context)
protected MarkupLanguageConfiguration createMarkupLanguageConfiguration(TaskRepository taskRepository)
protected MarkupTaskEditorExtension.TaskMarkupViewerConfiguration createViewerConfiguration(TaskRepository taskRepository, MarkupViewer markupViewer)
protected MarkupTaskEditorExtension.TaskMarkupViewerConfiguration createViewerConfiguration(TaskRepository taskRepository, MarkupViewer markupViewer, IAdaptable context)
protected MarkupTaskEditorExtension.TaskMarkupSourceViewerConfiguration createSourceViewerConfiguration(TaskRepository taskRepository, SourceViewer viewer)
protected MarkupTaskEditorExtension.TaskMarkupSourceViewerConfiguration createSourceViewerConfiguration(TaskRepository taskRepository, SourceViewer viewer, IAdaptable context)
@Deprecated public SourceViewer createEditor(TaskRepository taskRepository, Composite parent, int style)
public SourceViewer createEditor(TaskRepository taskRepository, Composite parent, int style, IAdaptable context)
protected void configureMarkupLanguage(TaskRepository taskRepository, MarkupLanguageType markupLanguage)
super.configureMarkupLanguage(taskRepository,markupLanguage)
.
taskRepository
- the repository from which settings should be usedmarkupLanguage
- the markup language to configureconfigureDefaultInternalLinkPattern(TaskRepository, MarkupLanguage)
protected void configureDefaultInternalLinkPattern(TaskRepository taskRepository, MarkupLanguageType markupLanguage)
internal hyperlink pattern
of
the given markup language based on some default rules applied to the task repository URL. The default
implementation does nothing.
taskRepository
- the task repository from which settings may be obtainedmarkupLanguage
- the markup language to configure
|
Mylyn WikiText | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |