|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.core.commands.common.EventManager
org.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.EditorPart
org.eclipse.ui.texteditor.AbstractTextEditor
org.eclipse.ui.texteditor.StatusTextEditor
org.eclipse.ui.texteditor.AbstractDecoratedTextEditor
org.eclipse.ui.editors.text.TextEditor
com.aptana.ide.editors.untitled.BaseTextEditor
com.aptana.ide.editors.unified.UnifiedEditor
com.aptana.ide.editor.html.HTMLSourceEditor
public class HTMLSourceEditor
HTMLSourceEditor
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.aptana.ide.editors.untitled.BaseTextEditor |
|---|
BaseTextEditor.FileDialogFilterInfo |
| Nested classes/interfaces inherited from class org.eclipse.ui.texteditor.AbstractTextEditor |
|---|
org.eclipse.ui.texteditor.AbstractTextEditor.AbstractSelectionChangedListener, org.eclipse.ui.texteditor.AbstractTextEditor.ColumnSupport, org.eclipse.ui.texteditor.AbstractTextEditor.IdMapEntry, org.eclipse.ui.texteditor.AbstractTextEditor.LineEndAction, org.eclipse.ui.texteditor.AbstractTextEditor.LineStartAction, org.eclipse.ui.texteditor.AbstractTextEditor.TextEditorSavable |
| Nested classes/interfaces inherited from interface org.eclipse.ui.texteditor.ITextEditorExtension3 |
|---|
org.eclipse.ui.texteditor.ITextEditorExtension3.InsertMode |
| Field Summary | |
|---|---|
protected HTMLContributor |
contributor
|
| Fields inherited from class com.aptana.ide.editors.unified.UnifiedEditor |
|---|
_autoActivateCodeAssist, ADD_BOOKMARK, ADD_TASK, ctrlDown, fileServiceChangeListeners, outlinePage |
| Fields inherited from class org.eclipse.ui.editors.text.TextEditor |
|---|
fEncodingSupport |
| Fields inherited from class org.eclipse.ui.texteditor.AbstractDecoratedTextEditor |
|---|
fAnnotationAccess, fIsUpdatingMarkerViews, fLineNumberRulerColumn, fOverviewRuler, fSourceViewerDecorationSupport |
| Fields inherited from class org.eclipse.ui.texteditor.AbstractTextEditor |
|---|
ACTION_MAP, DEFAULT_EDITOR_CONTEXT_MENU_ID, DEFAULT_RULER_CONTEXT_MENU_ID, fErrorLabel, PREFERENCE_COLOR_BACKGROUND, PREFERENCE_COLOR_BACKGROUND_SYSTEM_DEFAULT, PREFERENCE_COLOR_FIND_SCOPE, PREFERENCE_COLOR_FOREGROUND, PREFERENCE_COLOR_FOREGROUND_SYSTEM_DEFAULT, PREFERENCE_COLOR_SELECTION_BACKGROUND, PREFERENCE_COLOR_SELECTION_BACKGROUND_SYSTEM_DEFAULT, PREFERENCE_COLOR_SELECTION_FOREGROUND, PREFERENCE_COLOR_SELECTION_FOREGROUND_SYSTEM_DEFAULT, PREFERENCE_FONT, PREFERENCE_HYPERLINK_KEY_MODIFIER, PREFERENCE_HYPERLINK_KEY_MODIFIER_MASK, PREFERENCE_HYPERLINKS_ENABLED, PREFERENCE_NAVIGATION_SMART_HOME_END, PREFERENCE_RULER_CONTRIBUTIONS, PREFERENCE_SHOW_WHITESPACE_CHARACTERS, PREFERENCE_TEXT_DRAG_AND_DROP_ENABLED, PREFERENCE_USE_CUSTOM_CARETS, PREFERENCE_WIDE_CARET, TAG_SELECTION_LENGTH, TAG_SELECTION_OFFSET, VERTICAL_RULER_WIDTH |
| Fields inherited from interface org.eclipse.ui.IEditorPart |
|---|
PROP_DIRTY, PROP_INPUT |
| Fields inherited from interface org.eclipse.ui.IWorkbenchPart |
|---|
PROP_TITLE |
| Fields inherited from interface org.eclipse.ui.IEditorPart |
|---|
PROP_DIRTY, PROP_INPUT |
| Fields inherited from interface org.eclipse.ui.IWorkbenchPart |
|---|
PROP_TITLE |
| Fields inherited from interface org.eclipse.ui.texteditor.ITextEditorExtension3 |
|---|
INSERT, SMART_INSERT |
| Constructor Summary | |
|---|---|
HTMLSourceEditor()
HTMLSourceEditor |
|
| Method Summary | |
|---|---|
boolean |
canMarkOccurrences(Lexeme lexeme)
Can this lexeme be highlighted for matching occurrences ? |
protected void |
createActions()
|
org.eclipse.ui.texteditor.IDocumentProvider |
createDocumentProvider()
Creates the docment provider |
protected IUnifiedEditorContributor |
createLocalContributor()
createLocalContributor |
void |
dispose()
|
protected void |
editorContextMenuAboutToShow(org.eclipse.jface.action.IMenuManager menu)
|
java.lang.String |
getDefaultFileExtension()
getDefaultFileExtension |
protected BaseTextEditor.FileDialogFilterInfo |
getFileDialogFilterInformation(java.lang.String fileName)
Returns name and extension filters for display in file dialog |
IFileServiceFactory |
getFileServiceFactory()
getFileServiceFactory |
java.io.File |
getTempFile()
Returns a java.io.File object of a temporary file for preview. |
java.lang.String |
getTempFileLocation(java.io.File file,
java.lang.String name)
The location of the temp file |
protected void |
handlePreferenceStoreChanged(org.eclipse.jface.util.PropertyChangeEvent event)
|
boolean |
isFileEditorInput()
isFileEditorInput |
protected boolean |
isNewInput(org.eclipse.ui.IEditorInput input)
isNewInput |
protected void |
markOccurences(LexemeList lexemeList,
Lexeme selectedLexeme)
Overridden parent method to handle highlighting of both start and end tag when either is selected If/when we have common based class for tag based languages (html, xml etc.), this method should be moved there. |
protected void |
updateFileInfo(org.eclipse.ui.IEditorInput input,
DocumentSourceProvider provider,
org.eclipse.jface.text.IDocument document)
Updates the file information |
| Methods inherited from class com.aptana.ide.editors.untitled.BaseTextEditor |
|---|
getDefaultSaveAsFile, getFileExtension, getParentDirectoryHint, performSave, performSaveAs, setParentDirectoryHint |
| Methods inherited from class org.eclipse.ui.editors.text.TextEditor |
|---|
getStatusBanner, getStatusHeader, getStatusMessage, initializeEditor, installEncodingSupport, isSaveAsAllowed, updatePropertyDependentActions |
| Methods inherited from class org.eclipse.ui.texteditor.AbstractDecoratedTextEditor |
|---|
collectContextMenuPreferencePages, collectRulerMenuPreferencePages, createAnnotationAccess, createAnnotationRulerColumn, createChangeHover, createChangeRulerColumn, createColumnSupport, createCompositeRuler, createLineNumberRulerColumn, createOverviewRuler, createStatusControl, createVerticalRuler, disposeDocumentProvider, getAnnotationAccess, getAnnotationPreferenceLookup, getAnnotationPreferences, getDocumentProvider, getOverviewRuler, getSharedColors, getSourceViewerDecorationSupport, getUndoRedoOperationApprover, gotoAnnotation, gotoMarker, hideOverviewRuler, initializeLineNumberRulerColumn, isChangeInformationShowing, isEditable, isErrorStatus, isLineNumberRulerVisible, isNavigationTarget, isOverviewRulerVisible, isOverwriteModeEnabled, isPrefQuickDiffAlwaysOn, isTabsToSpacesConversionEnabled, setDocumentProvider, showChangeInformation, showOverviewRuler, showRevisionInformation, updateMarkerViews, validateEditorInputState |
| Methods inherited from class org.eclipse.ui.texteditor.StatusTextEditor |
|---|
doRevertToSaved, handleEditorInputChanged, handleElementContentReplaced, sanityCheckState, updatePartControl, updateStatusField |
| Methods inherited from class org.eclipse.ui.texteditor.AbstractTextEditor |
|---|
addAction, addAction, addGroup, addRulerContextMenuListener, adjustHighlightRange, affectsTextPresentation, canHandleMove, close, configureInsertMode, containsSavedState, createEmptyNavigationLocation, createNavigationActions, createNavigationLocation, createUndoRedoActions, doGetSelection, doRestoreState, doSave, doSaveAs, doSetSelection, editorSaved, enableOverwriteMode, enableSanityChecking, enableStateValidation, findAnnotation, firePropertyChange, getAction, getActiveSaveables, getContextMenuListener, getCoverage, getCursorListener, getCursorPosition, getEditorContextMenuId, getFontPropertyPreferenceKey, getHelpContextId, getHighlightRange, getInsertMode, getLegalInsertModes, getPreferenceStore, getProgressMonitor, getRangeIndicator, getRulerContextMenuId, getRulerMouseListener, getSaveables, getSelectionChangedListener, getSelectionProvider, getSourceViewer, getSourceViewerConfiguration, getStatusField, getStatusLineManager, getVerticalRuler, handleExceptionOnSave, handleInsertModeChanged, initializeDragAndDrop, initializeViewerColors, installTabsToSpacesConverter, installTextDragAndDrop, internalInit, isDirty, isEditorInputIncludedInContextMenu, isEditorInputModifiable, isEditorInputReadOnly, isInInsertMode, isVisible, markAsContentDependentAction, markAsPropertyDependentAction, markAsSelectionDependentAction, markAsStateDependentAction, markInNavigationHistory, modelOffset2WidgetOffset, openSaveErrorDialog, performRevert, rememberSelection, removeActionActivationCode, removeRulerContextMenuListener, resetHighlightRange, restoreSelection, restoreState, safelySanityCheckState, saveState, selectAndReveal, selectAndReveal, setAction, setActionActivationCode, setCompatibilityMode, setDocumentProvider, setEditorContextMenuId, setFocus, setHelpContextId, setHighlightRange, setInput, setInputWithNotify, setInsertMode, setKeyBindingScopes, setPreferenceStore, setRangeIndicator, setRulerContextMenuId, setSourceViewerConfiguration, setStatusField, setStatusLineErrorMessage, setStatusLineMessage, showHighlightRangeOnly, showsHighlightRangeOnly, uninstallTabsToSpacesConverter, uninstallTextDragAndDrop, updateContentDependentActions, updateContributedRulerColumns, updateIndentPrefixes, updateSelectionDependentActions, updateState, updateStateDependentActions, updateStatusFields, validateState, widgetOffset2ModelOffset |
| Methods inherited from class org.eclipse.ui.part.EditorPart |
|---|
checkSite, getEditorInput, getEditorSite, getTitleToolTip, isSaveOnCloseNeeded, setContentDescription, setInitializationData, setPartName |
| Methods inherited from class org.eclipse.ui.part.WorkbenchPart |
|---|
addPartPropertyListener, addPropertyListener, firePartPropertyChanged, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, removePartPropertyListener, removePropertyListener, setPartProperty, setSite, setTitle, setTitleImage, setTitleToolTip, showBusy |
| Methods inherited from class org.eclipse.core.commands.common.EventManager |
|---|
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.aptana.ide.editors.unified.IUnifiedEditor |
|---|
close, getDocumentProvider, getEditorInput, getParentDirectoryHint, getSite, selectAndReveal, setParentDirectoryHint |
| Methods inherited from interface org.eclipse.ui.IEditorPart |
|---|
getEditorInput, getEditorSite |
| Methods inherited from interface org.eclipse.ui.IWorkbenchPart |
|---|
addPropertyListener, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener |
| Methods inherited from interface org.eclipse.ui.ISaveablePart |
|---|
isSaveOnCloseNeeded |
| Methods inherited from interface org.eclipse.ui.IEditorPart |
|---|
getEditorInput, getEditorSite |
| Methods inherited from interface org.eclipse.ui.IWorkbenchPart |
|---|
addPropertyListener, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener |
| Methods inherited from interface org.eclipse.ui.ISaveablePart |
|---|
isSaveOnCloseNeeded |
| Field Detail |
|---|
protected HTMLContributor contributor
| Constructor Detail |
|---|
public HTMLSourceEditor()
| Method Detail |
|---|
protected void createActions()
createActions in class UnifiedEditorUnifiedEditor.createActions()protected void editorContextMenuAboutToShow(org.eclipse.jface.action.IMenuManager menu)
editorContextMenuAboutToShow in class UnifiedEditorUnifiedEditor.editorContextMenuAboutToShow(org.eclipse.jface.action.IMenuManager)protected IUnifiedEditorContributor createLocalContributor()
UnifiedEditor
createLocalContributor in class UnifiedEditorUnifiedEditor.createLocalContributor()public IFileServiceFactory getFileServiceFactory()
UnifiedEditor
getFileServiceFactory in class UnifiedEditorUnifiedEditor.getFileServiceFactory()public java.io.File getTempFile()
public java.lang.String getTempFileLocation(java.io.File file,
java.lang.String name)
file - name -
public boolean isFileEditorInput()
public java.lang.String getDefaultFileExtension()
UnifiedEditor
getDefaultFileExtension in interface IUnifiedEditorgetDefaultFileExtension in class UnifiedEditorUnifiedEditor.getDefaultFileExtension()public void dispose()
dispose in interface org.eclipse.ui.IWorkbenchPartdispose in class UnifiedEditorIWorkbenchPart.dispose()protected boolean isNewInput(org.eclipse.ui.IEditorInput input)
isNewInput in class UnifiedEditorinput -
protected void updateFileInfo(org.eclipse.ui.IEditorInput input,
DocumentSourceProvider provider,
org.eclipse.jface.text.IDocument document)
updateFileInfo in class UnifiedEditorinput - provider - document - public org.eclipse.ui.texteditor.IDocumentProvider createDocumentProvider()
UnifiedEditor
createDocumentProvider in class UnifiedEditorUnifiedEditor.createDocumentProvider()public boolean canMarkOccurrences(Lexeme lexeme)
canMarkOccurrences in class UnifiedEditorlexeme -
protected void markOccurences(LexemeList lexemeList,
Lexeme selectedLexeme)
markOccurences in class UnifiedEditorUnifiedEditor.markOccurences(com.aptana.ide.lexer.LexemeList,
com.aptana.ide.lexer.Lexeme)protected BaseTextEditor.FileDialogFilterInfo getFileDialogFilterInformation(java.lang.String fileName)
getFileDialogFilterInformation in class BaseTextEditorfileName -
protected void handlePreferenceStoreChanged(org.eclipse.jface.util.PropertyChangeEvent event)
handlePreferenceStoreChanged in class UnifiedEditorUnifiedEditor.handlePreferenceStoreChanged(org.eclipse.jface.util.PropertyChangeEvent)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||