@Override
public String getName() {
- return "Complete Structure";
+ return "Complete Structure"; //$NON-NLS-1$
}
@Override
writer.newElement(TableOfContents.class);
Table table = writer.newElement(Table.class,Document.TOC);
- table.addColumn("Name", 0.2);
- table.addColumn("Attribute", 0.2);
- table.addColumn("Value", 0.15);
- table.addColumn("Document", 0.2);
- table.addColumn("Comment", 0.25);
+ table.addColumn("Name", 0.2); //$NON-NLS-1$
+ table.addColumn("Attribute", 0.2); //$NON-NLS-1$
+ table.addColumn("Value", 0.15); //$NON-NLS-1$
+ table.addColumn("Document", 0.2); //$NON-NLS-1$
+ table.addColumn("Comment", 0.25); //$NON-NLS-1$
//lineWriter.nextPage();
}
if (obj != null) {
- String text = "";
+ String text = ""; //$NON-NLS-1$
List<Resource> path = SourceLinkUtil.getDiagramPath(graph, model, obj);
if (path == null) {
Resource r = path.get(i);
text += parentComparator.getText(r);
if (i < path.size()-2)
- text += "/";
+ text += "/"; //$NON-NLS-1$
}
} else {
for (int i = 0 ; i < path.size(); i++) {
Resource r = path.get(i);
text += parentComparator.getText(r);
if (i < path.size()-1)
- text += "/";
+ text += "/"; //$NON-NLS-1$
}
}
//row[0] = text;
toc.addTocElement(text, table);
} else {
//row[0] = "Hierarchy missing";
- table.setTitle("Hierarchy missing");
+ table.setTitle("Hierarchy missing"); //$NON-NLS-1$
}
}
}
text[2].setText(SourceLinkUtil.getValueString(value));
}
} else {
- text[1].setText("Error in property reference");
+ text[1].setText(Messages.CompleteStructureWriter_ErrorInPropertyRefrence);
}
}
Resource document = SourceLinkUtil.getReferredDocument(graph, source);