Package org.eclipse.epsilon.picto
Class ViewContent
- java.lang.Object
-
- org.eclipse.epsilon.picto.ViewContent
-
public class ViewContent extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
active
protected Set<URI>
baseUris
protected File
file
protected String
format
protected String
label
protected List<Layer>
layers
protected ViewContent
next
protected List<Patch>
patches
protected ViewContent
previous
protected String
text
protected static ViewContent
undefined
protected static List<ViewContentTransformer>
viewContentTransformers
-
Constructor Summary
Constructors Constructor Description ViewContent(String format, String text)
ViewContent(String format, String text, File file, List<Layer> layers, List<Patch> patches, Set<URI> baseUris)
ViewContent(String format, String text, ViewContent other)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ViewContent>
getAllPrevious()
Set<URI>
getBaseUris()
File
getFile()
ViewContent
getFinal(PictoView pictoView)
String
getFormat()
String
getLabel()
List<Layer>
getLayers()
ViewContent
getNext(PictoView pictoView)
List<Patch>
getPatches()
ViewContent
getPrevious()
ViewContent
getSourceContent(PictoView pictoView)
String
getText()
static List<ViewContentTransformer>
getViewContentTransformers()
boolean
isActive()
boolean
isImage()
void
setActive(boolean active)
protected void
setLabel()
void
setNext(ViewContent newContent)
void
setPrevious(ViewContent previous)
String
toString()
-
-
-
Field Detail
-
format
protected String format
-
text
protected String text
-
active
protected boolean active
-
label
protected String label
-
next
protected ViewContent next
-
previous
protected ViewContent previous
-
file
protected File file
-
undefined
protected static final ViewContent undefined
-
viewContentTransformers
protected static List<ViewContentTransformer> viewContentTransformers
-
-
Constructor Detail
-
ViewContent
public ViewContent(String format, String text, ViewContent other)
- Parameters:
format
-text
-other
-- Since:
- 2.2
-
-
Method Detail
-
getViewContentTransformers
public static List<ViewContentTransformer> getViewContentTransformers()
-
setLabel
protected void setLabel()
-
getFormat
public String getFormat()
-
getText
public String getText()
-
getFinal
public ViewContent getFinal(PictoView pictoView)
-
getNext
public ViewContent getNext(PictoView pictoView)
-
setPrevious
public void setPrevious(ViewContent previous)
-
getPrevious
public ViewContent getPrevious()
-
getAllPrevious
public List<ViewContent> getAllPrevious()
-
isActive
public boolean isActive()
-
setActive
public void setActive(boolean active)
-
getLabel
public String getLabel()
-
getFile
public File getFile()
-
setNext
public void setNext(ViewContent newContent)
-
getSourceContent
public ViewContent getSourceContent(PictoView pictoView)
-
isImage
public boolean isImage()
- Returns:
- Since:
- 2.2
-
-