Package org.eclipse.epsilon.picto.source
Class SimpleSource
- java.lang.Object
-
- org.eclipse.epsilon.picto.source.EglPictoSource
-
- org.eclipse.epsilon.picto.source.SimpleSource
-
- All Implemented Interfaces:
PictoSource
- Direct Known Subclasses:
StandalonePictoSource
,VerbatimSource
public abstract class SimpleSource extends EglPictoSource
-
-
Field Summary
-
Fields inherited from class org.eclipse.epsilon.picto.source.EglPictoSource
models
-
-
Constructor Summary
Constructors Constructor Description SimpleSource()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected org.eclipse.core.resources.IFile
getFile(org.eclipse.ui.IEditorPart editorPart)
protected abstract java.lang.String
getFileExtension()
protected abstract java.lang.String
getFormat()
protected Picto
getRenderingMetadata(org.eclipse.ui.IEditorPart editorPart)
protected org.eclipse.emf.ecore.resource.Resource
getResource(org.eclipse.ui.IEditorPart editorPart)
void
showElement(java.lang.String id, java.lang.String uri, org.eclipse.ui.IEditorPart editor)
protected boolean
supportsEditorType(org.eclipse.ui.IEditorPart editorPart)
-
Methods inherited from class org.eclipse.epsilon.picto.source.EglPictoSource
createEmptyViewTree, createParameter, dispose, getDefaultFormat, getDefaultIcon, getPath, getValue, getViewTree, loadModel, supports, waitForPath
-
-
-
-
Method Detail
-
getFormat
protected abstract java.lang.String getFormat()
-
getFileExtension
protected abstract java.lang.String getFileExtension()
-
getRenderingMetadata
protected Picto getRenderingMetadata(org.eclipse.ui.IEditorPart editorPart)
- Specified by:
getRenderingMetadata
in classEglPictoSource
-
getResource
protected org.eclipse.emf.ecore.resource.Resource getResource(org.eclipse.ui.IEditorPart editorPart)
- Specified by:
getResource
in classEglPictoSource
-
supportsEditorType
protected boolean supportsEditorType(org.eclipse.ui.IEditorPart editorPart)
- Specified by:
supportsEditorType
in classEglPictoSource
-
getFile
protected org.eclipse.core.resources.IFile getFile(org.eclipse.ui.IEditorPart editorPart)
- Specified by:
getFile
in classEglPictoSource
-
showElement
public void showElement(java.lang.String id, java.lang.String uri, org.eclipse.ui.IEditorPart editor)
-
-