@Override
public String getName() {
- return "Model Internal Documents";
+ return "Model Internal Documents"; //$NON-NLS-1$
}
@Override
DocumentTitlePage titlePage = lineWriter.newElement(DocumentTitlePage.class);
titlePage.writeTitle(graph, context);
Table table = lineWriter.newElement(Table.class);
- table.addColumn("Folder", 0.4);
- table.addColumn("Document", 0.6);
+ table.addColumn("Folder", 0.4); //$NON-NLS-1$
+ table.addColumn("Document", 0.6); //$NON-NLS-1$
//lineWriter.nextPage();
this.graph = graph;
private String getText(List<Resource> current, boolean indent) throws DatabaseException {
- String text = "";
+ String text = ""; //$NON-NLS-1$
if (indent)
for (int i = 0; i < current.size()-1; i++) {
- text += " ";
+ text += " "; //$NON-NLS-1$
}
text += NameUtils.getSafeLabel(graph, current.get(current.size()-1));
private class DocumentContentProvider implements RowContentProvider<List<Resource>> {
public void setText(Document writer, java.util.List<Resource> previous, java.util.List<Resource> current, java.util.List<Resource> next, TextItem[] row) throws Exception {
- String s = "";
+ String s = ""; //$NON-NLS-1$
Resource document = current.get(current.size()-1);
int rev = revisionIndex(document);
for (int i = 0; i < rev; i++)
- s += " ";
+ s += " "; //$NON-NLS-1$
row[1] = getDocumentItem(document);
row[1].setText(s + row[1].getText());
};