|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jst.pagedesigner.converter.HiddenTagConverter
public class HiddenTagConverter
This is for those tags that don't convert to HTML. So they will not display anything in preview, and will display a small icon in designer.
Constructor Summary | |
---|---|
HiddenTagConverter(org.w3c.dom.Element host,
org.eclipse.jface.viewers.ILabelProvider labelProvider)
|
Method Summary | |
---|---|
void |
convertRefresh(java.lang.Object context)
refresh the internal state of this ITagConverter. |
void |
dispose()
API contract needed here |
java.util.List |
getChildModeList()
|
ConvertPosition |
getChildVisualPosition(org.w3c.dom.Node childModel)
For child nodes that need further convert, return their position in the converted DOM tree. |
org.w3c.dom.Element |
getHostElement()
|
int |
getMode()
|
java.util.List |
getNonVisualChildren()
|
org.w3c.dom.Element |
getResultElement()
|
org.eclipse.swt.graphics.Image |
getVisualImage()
if isVisualByHTML() return false, then this method should return an image to be displayed in designer. |
boolean |
isMultiLevel()
When the convert result in multi-level element. |
boolean |
isVisualByHTML()
for some tags, they don't convert to HTML. |
boolean |
isWidget()
|
void |
setDestDocument(org.eclipse.wst.xml.core.internal.provisional.document.IDOMDocument document)
Set the target document where the converted node should belong to. |
void |
setMode(int mode)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HiddenTagConverter(org.w3c.dom.Element host, org.eclipse.jface.viewers.ILabelProvider labelProvider)
Method Detail |
---|
public void setDestDocument(org.eclipse.wst.xml.core.internal.provisional.document.IDOMDocument document)
ITagConverter
setDestDocument
in interface ITagConverter
public void convertRefresh(java.lang.Object context)
ITagConverter
convertRefresh
in interface ITagConverter
public org.w3c.dom.Element getHostElement()
getHostElement
in interface ITagConverter
public boolean isVisualByHTML()
ITagConverter
getVisualImage()
for displaying
in the designer.
isVisualByHTML
in interface ITagConverter
public org.eclipse.swt.graphics.Image getVisualImage()
ITagConverter
getVisualImage
in interface ITagConverter
public org.w3c.dom.Element getResultElement()
getResultElement
in interface ITagConverter
public java.util.List getChildModeList()
getChildModeList
in interface ITagConverter
public ConvertPosition getChildVisualPosition(org.w3c.dom.Node childModel)
ITagConverter
getChildVisualPosition
in interface ITagConverter
public boolean isMultiLevel()
ITagConverter
getHostElement()
isMultiLevel
in interface ITagConverter
public boolean isWidget()
isWidget
in interface ITagConverter
public void dispose()
ITagConverter
dispose
in interface ITagConverter
public void setMode(int mode)
setMode
in interface ITagConverter
public int getMode()
public java.util.List getNonVisualChildren()
getNonVisualChildren
in interface ITagConverter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |