*/
public HdlTemplateProposal createProposal() {
Region region = null;
Image image;
int relevance = 0;
TemplateWithIndent templateX = null;
DocumentTemplateContext context = null;
Template template = null;
image = VerilogPlugin.getPlugin().getImage(m_Element.GetImageName());
context = new DocumentTemplateContext(new VhdlGlobalContext(), m_Doc,
m_Offset, m_Length);
//set the region to cover the text begin replaced
region = new Region(m_Offset, m_Length);
template = new Template(
m_Element.getShortName(),
getDescription(),
VhdlGlobalContext.CONTEXT_TYPE,
getString(),
false);
templateX = new TemplateWithIndent(template, m_Doc.getIndentString(m_Offset));
return new HdlTemplateProposal(
templateX,
context,
region,