Package com._1c.g5.v8.dt.qw.ui.utils
Class TemplateTreeItem
- java.lang.Object
-
- com._1c.g5.v8.dt.qw.ui.utils.TemplateTreeItem
-
public class TemplateTreeItem extends Object
Templates deserializer
-
-
Constructor Summary
Constructors Constructor Description TemplateTreeItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deserialize(PersistableObjectTreeItem parent, IListInStream inStream)
Deserialize objectint
getAppendToMenu()
Menu item numberString
getDestStr()
The string to replace the source stringint
getGroup()
Is element group?String
getName()
Get element nameString
getSourceStr()
Get source stringvoid
setAppendToMenu(boolean value)
Sets that item should be in menuvoid
setDestStr(String destStr)
Sets dest string presentationvoid
setIsGroup(boolean value)
Sets propery groupvoid
setName(String name)
Sets element namevoid
setSourceStr(String sourceStr)
Sets source string presentation
-
-
-
Method Detail
-
deserialize
public void deserialize(PersistableObjectTreeItem parent, IListInStream inStream)
Deserialize object- Parameters:
parent
- parent nodeinStream
- input stream
-
getName
public String getName()
Get element name- Returns:
- element name, never
null
-
getGroup
public int getGroup()
Is element group?- Returns:
- if group return true, else - false
-
getAppendToMenu
public int getAppendToMenu()
Menu item number- Returns:
- menu item number
-
getSourceStr
public String getSourceStr()
Get source string- Returns:
- source
-
getDestStr
public String getDestStr()
The string to replace the source string- Returns:
- destination
-
setName
public void setName(String name)
Sets element name- Parameters:
name
- name of the element, cannot benull
-
setIsGroup
public void setIsGroup(boolean value)
Sets propery group- Parameters:
value
-true
if item is group,false
otherwise
-
setAppendToMenu
public void setAppendToMenu(boolean value)
Sets that item should be in menu- Parameters:
value
-true
if item should be in menu,false
otherwise
-
setSourceStr
public void setSourceStr(String sourceStr)
Sets source string presentation- Parameters:
sourceStr
- source presentation, cannot benull
-
setDestStr
public void setDestStr(String destStr)
Sets dest string presentation- Parameters:
destStr
- dest presentation, cannot benull
-
-