|
||||||||||
| 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,
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()
|
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(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,
ILabelProvider labelProvider)
host - labelProvider - | Method Detail |
|---|
public void setDestDocument(IDOMDocument document)
ITagConverter
setDestDocument in interface ITagConverterpublic void convertRefresh(java.lang.Object context)
ITagConverter
convertRefresh in interface ITagConverterpublic org.w3c.dom.Element getHostElement()
getHostElement in interface ITagConverterpublic boolean isVisualByHTML()
ITagConvertergetVisualImage() for displaying
in the designer.
isVisualByHTML in interface ITagConverterpublic Image getVisualImage()
ITagConverter
getVisualImage in interface ITagConverterpublic org.w3c.dom.Element getResultElement()
getResultElement in interface ITagConverterpublic java.util.List getChildModeList()
getChildModeList in interface ITagConverterpublic ConvertPosition getChildVisualPosition(org.w3c.dom.Node childModel)
ITagConverter
getChildVisualPosition in interface ITagConverterpublic boolean isMultiLevel()
ITagConvertergetHostElement()
isMultiLevel in interface ITagConverterpublic boolean isWidget()
isWidget in interface ITagConverterpublic void dispose()
ITagConverter
dispose in interface ITagConverterpublic void setMode(int mode)
setMode in interface ITagConverterpublic 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 | |||||||||