Package org.eclipse.epsilon.picto.source
Class EglPictoSource
- java.lang.Object
-
- org.eclipse.epsilon.picto.source.EglPictoSource
-
- All Implemented Interfaces:
PictoSource
- Direct Known Subclasses:
ExternalMetadataSource,FlexmiSource,SimpleSource
public abstract class EglPictoSource extends java.lang.Object implements PictoSource
-
-
Constructor Summary
Constructors Constructor Description EglPictoSource()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected ViewTreecreateEmptyViewTree()protected ParametercreateParameter(java.lang.String name, java.lang.Object value)voiddispose()protected java.lang.StringgetDefaultFormat()protected java.lang.StringgetDefaultIcon()protected abstract org.eclipse.core.resources.IFilegetFile(org.eclipse.ui.IEditorPart editorPart)org.eclipse.core.runtime.IPathgetPath(org.eclipse.ui.IEditorPart editorPart)protected abstract PictogetRenderingMetadata(org.eclipse.ui.IEditorPart editorPart)protected abstract org.eclipse.emf.ecore.resource.ResourcegetResource(org.eclipse.ui.IEditorPart editorPart)java.lang.ObjectgetValue(Parameter parameter)ViewTreegetViewTree(org.eclipse.ui.IEditorPart editor)protected IModelloadModel(Model model, java.io.File baseFile)booleansupports(org.eclipse.ui.IEditorPart editorPart)protected abstract booleansupportsEditorType(org.eclipse.ui.IEditorPart editorPart)protected org.eclipse.core.runtime.IPathwaitForPath(org.eclipse.ui.IEditorPart editorPart)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.epsilon.picto.source.PictoSource
showElement
-
-
-
-
Field Detail
-
models
protected java.util.Collection<IModel> models
-
-
Method Detail
-
getViewTree
public ViewTree getViewTree(org.eclipse.ui.IEditorPart editor) throws java.lang.Exception
- Specified by:
getViewTreein interfacePictoSource- Throws:
java.lang.Exception
-
createParameter
protected Parameter createParameter(java.lang.String name, java.lang.Object value)
-
waitForPath
protected org.eclipse.core.runtime.IPath waitForPath(org.eclipse.ui.IEditorPart editorPart)
-
createEmptyViewTree
protected ViewTree createEmptyViewTree()
-
dispose
public void dispose()
- Specified by:
disposein interfacePictoSource
-
loadModel
protected IModel loadModel(Model model, java.io.File baseFile) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getDefaultFormat
protected java.lang.String getDefaultFormat()
-
getDefaultIcon
protected java.lang.String getDefaultIcon()
-
supports
public boolean supports(org.eclipse.ui.IEditorPart editorPart)
- Specified by:
supportsin interfacePictoSource
-
getValue
public java.lang.Object getValue(Parameter parameter)
-
getRenderingMetadata
protected abstract Picto getRenderingMetadata(org.eclipse.ui.IEditorPart editorPart)
-
getResource
protected abstract org.eclipse.emf.ecore.resource.Resource getResource(org.eclipse.ui.IEditorPart editorPart)
-
getPath
public org.eclipse.core.runtime.IPath getPath(org.eclipse.ui.IEditorPart editorPart)
-
getFile
protected abstract org.eclipse.core.resources.IFile getFile(org.eclipse.ui.IEditorPart editorPart)
-
supportsEditorType
protected abstract boolean supportsEditorType(org.eclipse.ui.IEditorPart editorPart)
-
-