Example usage for com.google.gwt.gen2.table.client ScrollTable ScrollTable

List of usage examples for com.google.gwt.gen2.table.client ScrollTable ScrollTable

Introduction

In this page you can find the example usage for com.google.gwt.gen2.table.client ScrollTable ScrollTable.

Prototype

public ScrollTable(FixedWidthGrid dataTable, FixedWidthFlexTable headerTable, ScrollTableImages images) 

Source Link

Document

Construct a new ScrollTable .

Usage

From source file:com.ikon.frontend.client.widget.notify.RoleScrollTable.java

License:Open Source License

/**
 * RoleScrollTable/*from   w w w .  j  a  va  2s.  co  m*/
 * 
 * @param isAssigned
 */
public RoleScrollTable(boolean isRolesToNofity) {
    this.isRolesToNofity = isRolesToNofity;

    ScrollTableImages scrollTableImages = new ScrollTableImages() {
        public AbstractImagePrototype scrollTableAscending() {
            return new AbstractImagePrototype() {
                public void applyTo(Image image) {
                    image.setUrl("img/sort_asc.gif");
                }

                public Image createImage() {
                    return new Image("img/sort_asc.gif");
                }

                public String getHTML() {
                    return "<img border=\"0\" src=\"img/sort_asc.gif\"/>";
                }
            };
        }

        public AbstractImagePrototype scrollTableDescending() {
            return new AbstractImagePrototype() {
                public void applyTo(Image image) {
                    image.setUrl("img/sort_desc.gif");
                }

                public Image createImage() {
                    return new Image("img/sort_desc.gif");
                }

                public String getHTML() {
                    return "<img border=\"0\" src=\"img/sort_desc.gif\"/>";
                }
            };
        }

        public AbstractImagePrototype scrollTableFillWidth() {
            return new AbstractImagePrototype() {
                public void applyTo(Image image) {
                    image.setUrl("img/fill_width.gif");
                }

                public Image createImage() {
                    return new Image("img/fill_width.gif");
                }

                public String getHTML() {
                    return "<img border=\"0\" src=\"img/fill_width.gif\"/>";
                }
            };
        }
    };

    headerTable = new FixedWidthFlexTable();
    dataTable = new FixedWidthGrid();

    table = new ScrollTable(dataTable, headerTable, scrollTableImages);
    table.setCellSpacing(0);
    table.setCellPadding(0);
    table.setSize("175", "140");

    // Level 1 headers
    if (isRolesToNofity) {
        headerTable.setHTML(0, 0, Main.i18n("fileupload.label.roles.to.notify"));
    } else {
        headerTable.setHTML(0, 0, Main.i18n("fileupload.label.roles"));
    }

    table.setColumnWidth(0, 167);

    // Table data
    dataTable.setSelectionPolicy(SelectionGrid.SelectionPolicy.ONE_ROW);

    table.setScrollPolicy(ScrollPolicy.BOTH);

    initWidget(table);
}

From source file:com.ikon.frontend.client.widget.notify.UserScrollTable.java

License:Open Source License

/**
 * UserScrollTable//w  w  w  . j  a  va  2  s.  c o  m
 * 
 * @param isUserToNofity
 */
public UserScrollTable(boolean isUserToNofity) {
    this.isUserToNofity = isUserToNofity;

    ScrollTableImages scrollTableImages = new ScrollTableImages() {
        public AbstractImagePrototype scrollTableAscending() {
            return new AbstractImagePrototype() {
                public void applyTo(Image image) {
                    image.setUrl("img/sort_asc.gif");
                }

                public Image createImage() {
                    return new Image("img/sort_asc.gif");
                }

                public String getHTML() {
                    return "<img border=\"0\" src=\"img/sort_asc.gif\"/>";
                }
            };
        }

        public AbstractImagePrototype scrollTableDescending() {
            return new AbstractImagePrototype() {
                public void applyTo(Image image) {
                    image.setUrl("img/sort_desc.gif");
                }

                public Image createImage() {
                    return new Image("img/sort_desc.gif");
                }

                public String getHTML() {
                    return "<img border=\"0\" src=\"img/sort_desc.gif\"/>";
                }
            };
        }

        public AbstractImagePrototype scrollTableFillWidth() {
            return new AbstractImagePrototype() {
                public void applyTo(Image image) {
                    image.setUrl("img/fill_width.gif");
                }

                public Image createImage() {
                    return new Image("img/fill_width.gif");
                }

                public String getHTML() {
                    return "<img border=\"0\" src=\"img/fill_width.gif\"/>";
                }
            };
        }
    };

    headerTable = new FixedWidthFlexTable();
    dataTable = new FixedWidthGrid();

    table = new ScrollTable(dataTable, headerTable, scrollTableImages);
    table.setCellSpacing(0);
    table.setCellPadding(0);
    table.setSize("175", "140");

    // Level 1 headers
    if (isUserToNofity) {
        headerTable.setHTML(0, 0, Main.i18n("fileupload.label.users.to.notify"));
    } else {
        headerTable.setHTML(0, 0, Main.i18n("fileupload.label.users"));
    }

    headerTable.setHTML(0, 1, "");

    table.setColumnWidth(0, 167);
    table.setColumnWidth(1, 0);

    // Table data
    dataTable.setSelectionPolicy(SelectionGrid.SelectionPolicy.ONE_ROW);

    table.setScrollPolicy(ScrollPolicy.BOTH);

    initWidget(table);
}

From source file:com.ikon.frontend.client.widget.properties.SecurityScrollTable.java

License:Open Source License

/**
 * SecurityScrollTable/*from   w w  w.  j  a v a 2 s .  c  om*/
 */
public SecurityScrollTable() {
    ScrollTableImages scrollTableImages = new ScrollTableImages() {
        public AbstractImagePrototype scrollTableAscending() {
            return new AbstractImagePrototype() {
                public void applyTo(Image image) {
                    image.setUrl("img/sort_asc.gif");
                }

                public Image createImage() {
                    return new Image("img/sort_asc.gif");
                }

                public String getHTML() {
                    return "<img border=\"0\" src=\"img/sort_asc.gif\"/>";
                }
            };
        }

        public AbstractImagePrototype scrollTableDescending() {
            return new AbstractImagePrototype() {
                public void applyTo(Image image) {
                    image.setUrl("img/sort_desc.gif");
                }

                public Image createImage() {
                    return new Image("img/sort_desc.gif");
                }

                public String getHTML() {
                    return "<img border=\"0\" src=\"img/sort_desc.gif\"/>";
                }
            };
        }

        public AbstractImagePrototype scrollTableFillWidth() {
            return new AbstractImagePrototype() {
                public void applyTo(Image image) {
                    image.setUrl("img/fill_width.gif");
                }

                public Image createImage() {
                    return new Image("img/fill_width.gif");
                }

                public String getHTML() {
                    return "<img border=\"0\" src=\"img/fill_width.gif\"/>";
                }
            };
        }
    };

    headerTable = new FixedWidthFlexTable();
    dataTable = new FixedWidthGrid();

    table = new ScrollTable(dataTable, headerTable, scrollTableImages);
    table.setCellSpacing(0);
    table.setCellPadding(2);
    table.setSize("540", "140");

    button = new Button(Main.i18n("button.update"), this);
    button.setStyleName("okm-ChangeButton");

    initSecurity();

    initWidget(table);
}

From source file:com.ikon.frontend.client.widget.properties.VersionScrollTable.java

License:Open Source License

/**
 * Version//from  w  ww  .  j  av a 2 s . c o m
 */
public VersionScrollTable() {
    versions = new ArrayList<String>();
    buttonView = new ArrayList<Button>();
    buttonRestore = new ArrayList<Button>();

    purge = new Button(Main.i18n("version.purge.document"), this);
    purge.setStyleName("okm-DeleteButton");
    purge.setEnabled(false);

    ScrollTableImages scrollTableImages = new ScrollTableImages() {
        public AbstractImagePrototype scrollTableAscending() {
            return new AbstractImagePrototype() {
                public void applyTo(Image image) {
                    image.setUrl("img/sort_asc.gif");
                }

                public Image createImage() {
                    return new Image("img/sort_asc.gif");
                }

                public String getHTML() {
                    return "<img border=\"0\" src=\"img/sort_asc.gif\"/>";
                }
            };
        }

        public AbstractImagePrototype scrollTableDescending() {
            return new AbstractImagePrototype() {
                public void applyTo(Image image) {
                    image.setUrl("img/sort_desc.gif");
                }

                public Image createImage() {
                    return new Image("img/sort_desc.gif");
                }

                public String getHTML() {
                    return "<img border=\"0\" src=\"img/sort_desc.gif\"/>";
                }
            };
        }

        public AbstractImagePrototype scrollTableFillWidth() {
            return new AbstractImagePrototype() {
                public void applyTo(Image image) {
                    image.setUrl("img/fill_width.gif");
                }

                public Image createImage() {
                    return new Image("img/fill_width.gif");
                }

                public String getHTML() {
                    return "<img border=\"0\" src=\"img/fill_width.gif\"/>";
                }
            };
        }
    };

    headerTable = new FixedWidthFlexTable();
    dataTable = new FixedWidthGrid();

    table = new ScrollTable(dataTable, headerTable, scrollTableImages);
    table.setCellSpacing(0);
    table.setCellPadding(2);
    table.setSize("540", "140");
    table.setColumnWidth(0, 70);
    table.setColumnWidth(1, 150);
    table.setColumnWidth(2, 150);
    table.setColumnWidth(3, 100);
    table.setColumnWidth(4, 100);
    table.setColumnWidth(5, 150);

    table.setPreferredColumnWidth(0, 70);
    table.setPreferredColumnWidth(1, 150);

    table.setColumnSortable(5, false);

    // Level 1 headers
    headerTable.setHTML(0, 0, Main.i18n("version.name"));
    headerTable.setHTML(0, 1, Main.i18n("version.created"));
    headerTable.setHTML(0, 2, Main.i18n("version.author"));
    headerTable.setHTML(0, 3, Main.i18n("version.size"));
    headerTable.setHTML(0, 4, "&nbsp;");
    headerTable.setWidget(0, 5, purge);
    headerTable.setHTML(0, 6, Main.i18n("version.comment"));

    headerTable.getCellFormatter().setHorizontalAlignment(0, 5, HasAlignment.ALIGN_CENTER);
    headerTable.getCellFormatter().setVerticalAlignment(0, 5, HasAlignment.ALIGN_MIDDLE);

    // Table data
    dataTable.setSelectionPolicy(SelectionGrid.SelectionPolicy.ONE_ROW);
    table.setResizePolicy(ResizePolicy.UNCONSTRAINED);
    table.setScrollPolicy(ScrollPolicy.BOTH);

    headerTable.addStyleName("okm-DisableSelect");
    dataTable.addStyleName("okm-DisableSelect");

    initWidget(table);
}

From source file:com.ikon.frontend.client.widget.security.RoleScrollTable.java

License:Open Source License

/**
 * RoleScrollTable/* www  .j  av  a2  s .c  o m*/
 * 
 * @param isAssigned
 */
public RoleScrollTable(boolean isAssigned) {
    this.isAssigned = isAssigned;

    ScrollTableImages scrollTableImages = new ScrollTableImages() {
        public AbstractImagePrototype scrollTableAscending() {
            return new AbstractImagePrototype() {
                public void applyTo(Image image) {
                    image.setUrl("img/sort_asc.gif");
                }

                public Image createImage() {
                    return new Image("img/sort_asc.gif");
                }

                public String getHTML() {
                    return "<img border=\"0\" src=\"img/sort_asc.gif\"/>";
                }
            };
        }

        public AbstractImagePrototype scrollTableDescending() {
            return new AbstractImagePrototype() {
                public void applyTo(Image image) {
                    image.setUrl("img/sort_desc.gif");
                }

                public Image createImage() {
                    return new Image("img/sort_desc.gif");
                }

                public String getHTML() {
                    return "<img border=\"0\" src=\"img/sort_desc.gif\"/>";
                }
            };
        }

        public AbstractImagePrototype scrollTableFillWidth() {
            return new AbstractImagePrototype() {
                public void applyTo(Image image) {
                    image.setUrl("img/fill_width.gif");
                }

                public Image createImage() {
                    return new Image("img/fill_width.gif");
                }

                public String getHTML() {
                    return "<img border=\"0\" src=\"img/fill_width.gif\"/>";
                }
            };
        }
    };

    headerTable = new FixedWidthFlexTable();
    dataTable = new FixedWidthGrid();

    table = new ScrollTable(dataTable, headerTable, scrollTableImages);
    table.setCellSpacing(0);
    table.setCellPadding(2);

    // Table data
    dataTable.setSelectionPolicy(SelectionGrid.SelectionPolicy.ONE_ROW);
    table.setResizePolicy(ResizePolicy.UNCONSTRAINED);
    table.setScrollPolicy(ScrollPolicy.BOTH);

    initSecurity();

    initWidget(table);
}

From source file:com.ikon.frontend.client.widget.security.UserScrollTable.java

License:Open Source License

/**
 * UserScrollTable/*from  w w  w.j a v a  2 s  .com*/
 * 
 * @param isAssigned
 */
public UserScrollTable(boolean isAssigned) {
    this.isAssigned = isAssigned;

    ScrollTableImages scrollTableImages = new ScrollTableImages() {
        public AbstractImagePrototype scrollTableAscending() {
            return new AbstractImagePrototype() {
                public void applyTo(Image image) {
                    image.setUrl("img/sort_asc.gif");
                }

                public Image createImage() {
                    return new Image("img/sort_asc.gif");
                }

                public String getHTML() {
                    return "<img border=\"0\" src=\"img/sort_asc.gif\"/>";
                }
            };
        }

        public AbstractImagePrototype scrollTableDescending() {
            return new AbstractImagePrototype() {
                public void applyTo(Image image) {
                    image.setUrl("img/sort_desc.gif");
                }

                public Image createImage() {
                    return new Image("img/sort_desc.gif");
                }

                public String getHTML() {
                    return "<img border=\"0\" src=\"img/sort_desc.gif\"/>";
                }
            };
        }

        public AbstractImagePrototype scrollTableFillWidth() {
            return new AbstractImagePrototype() {
                public void applyTo(Image image) {
                    image.setUrl("img/fill_width.gif");
                }

                public Image createImage() {
                    return new Image("img/fill_width.gif");
                }

                public String getHTML() {
                    return "<img border=\"0\" src=\"img/fill_width.gif\"/>";
                }
            };
        }
    };

    headerTable = new FixedWidthFlexTable();
    dataTable = new FixedWidthGrid();

    table = new ScrollTable(dataTable, headerTable, scrollTableImages);
    table.setCellSpacing(0);
    table.setCellPadding(2);

    // Table data
    dataTable.setSelectionPolicy(SelectionGrid.SelectionPolicy.ONE_ROW);
    table.setResizePolicy(ResizePolicy.UNCONSTRAINED);
    table.setScrollPolicy(ScrollPolicy.BOTH);

    initSecurity();

    initWidget(table);
}

From source file:com.openkm.extension.frontend.client.widget.openmeetings.invite.RoleScrollTable.java

License:Open Source License

/**
 * RoleScrollTable/*from  ww w .j av  a 2s  .  c  o  m*/
 * 
 * @param isAssigned
 */
public RoleScrollTable(boolean isRolesToInvite) {
    this.isRolesToInvite = isRolesToInvite;

    ScrollTableImages scrollTableImages = new ScrollTableImages() {
        public AbstractImagePrototype scrollTableAscending() {
            return new AbstractImagePrototype() {
                public void applyTo(Image image) {
                    image.setUrl("img/sort_asc.gif");
                }

                public Image createImage() {
                    return new Image("img/sort_asc.gif");
                }

                public String getHTML() {
                    return "<img border=\"0\" src=\"img/sort_asc.gif\"/>";
                }
            };
        }

        public AbstractImagePrototype scrollTableDescending() {
            return new AbstractImagePrototype() {
                public void applyTo(Image image) {
                    image.setUrl("img/sort_desc.gif");
                }

                public Image createImage() {
                    return new Image("img/sort_desc.gif");
                }

                public String getHTML() {
                    return "<img border=\"0\" src=\"img/sort_desc.gif\"/>";
                }
            };
        }

        public AbstractImagePrototype scrollTableFillWidth() {
            return new AbstractImagePrototype() {
                public void applyTo(Image image) {
                    image.setUrl("img/fill_width.gif");
                }

                public Image createImage() {
                    return new Image("img/fill_width.gif");
                }

                public String getHTML() {
                    return "<img border=\"0\" src=\"img/fill_width.gif\"/>";
                }
            };
        }
    };

    headerTable = new FixedWidthFlexTable();
    dataTable = new FixedWidthGrid();

    table = new ScrollTable(dataTable, headerTable, scrollTableImages);
    table.setCellSpacing(0);
    table.setCellPadding(0);
    table.setSize("175", "140");

    // Level 1 headers
    if (isRolesToInvite) {
        headerTable.setHTML(0, 0, GeneralComunicator.i18nExtension("openmeetings.invitate.groups.to.invitate"));
    } else {
        headerTable.setHTML(0, 0, GeneralComunicator.i18nExtension("openmeetings.invitate.groups"));
    }

    table.setColumnWidth(0, 167);

    // Table data
    dataTable.setSelectionPolicy(SelectionGrid.SelectionPolicy.ONE_ROW);

    table.setScrollPolicy(ScrollPolicy.BOTH);

    initWidget(table);
}

From source file:com.openkm.extension.frontend.client.widget.openmeetings.invite.UserScrollTable.java

License:Open Source License

/**
 * UserScrollTable//from w w w . j av  a2s  .  co m
 * 
 * @param isUserToInvite
 */
public UserScrollTable(boolean isUserToInvite) {
    this.isUserToInvite = isUserToInvite;

    ScrollTableImages scrollTableImages = new ScrollTableImages() {
        public AbstractImagePrototype scrollTableAscending() {
            return new AbstractImagePrototype() {
                public void applyTo(Image image) {
                    image.setUrl("img/sort_asc.gif");
                }

                public Image createImage() {
                    return new Image("img/sort_asc.gif");
                }

                public String getHTML() {
                    return "<img border=\"0\" src=\"img/sort_asc.gif\"/>";
                }
            };
        }

        public AbstractImagePrototype scrollTableDescending() {
            return new AbstractImagePrototype() {
                public void applyTo(Image image) {
                    image.setUrl("img/sort_desc.gif");
                }

                public Image createImage() {
                    return new Image("img/sort_desc.gif");
                }

                public String getHTML() {
                    return "<img border=\"0\" src=\"img/sort_desc.gif\"/>";
                }
            };
        }

        public AbstractImagePrototype scrollTableFillWidth() {
            return new AbstractImagePrototype() {
                public void applyTo(Image image) {
                    image.setUrl("img/fill_width.gif");
                }

                public Image createImage() {
                    return new Image("img/fill_width.gif");
                }

                public String getHTML() {
                    return "<img border=\"0\" src=\"img/fill_width.gif\"/>";
                }
            };
        }
    };

    headerTable = new FixedWidthFlexTable();
    dataTable = new FixedWidthGrid();

    table = new ScrollTable(dataTable, headerTable, scrollTableImages);
    table.setCellSpacing(0);
    table.setCellPadding(0);
    table.setSize("175", "140");

    // Level 1 headers
    if (isUserToInvite) {
        headerTable.setHTML(0, 0, GeneralComunicator.i18nExtension("openmeetings.invitate.users.to.invitate"));
    } else {
        headerTable.setHTML(0, 0, GeneralComunicator.i18nExtension("openmeetings.invitate.users"));
    }
    headerTable.setHTML(0, 1, "");
    headerTable.getCellFormatter().setVisible(0, 1, false);

    table.setColumnWidth(0, 167);

    // Table data
    dataTable.setSelectionPolicy(SelectionGrid.SelectionPolicy.ONE_ROW);

    table.setScrollPolicy(ScrollPolicy.BOTH);

    initWidget(table);
}

From source file:com.openkm.extension.frontend.client.widget.workflow.WorkflowDetailTable.java

License:Open Source License

/**
 * WorkflowTable/* w  w  w .ja v  a2  s .  com*/
 * 
 * @param isAssigned
 */
public WorkflowDetailTable() {
    ScrollTableImages scrollTableImages = new ScrollTableImages() {
        public AbstractImagePrototype scrollTableAscending() {
            return new AbstractImagePrototype() {
                public void applyTo(Image image) {
                    image.setUrl("img/sort_asc.gif");
                }

                public Image createImage() {
                    return new Image("img/sort_asc.gif");
                }

                public String getHTML() {
                    return "<img border=\"0\" src=\"img/sort_asc.gif\"/>";
                }
            };
        }

        public AbstractImagePrototype scrollTableDescending() {
            return new AbstractImagePrototype() {
                public void applyTo(Image image) {
                    image.setUrl("img/sort_desc.gif");
                }

                public Image createImage() {
                    return new Image("img/sort_desc.gif");
                }

                public String getHTML() {
                    return "<img border=\"0\" src=\"img/sort_desc.gif\"/>";
                }
            };
        }

        public AbstractImagePrototype scrollTableFillWidth() {
            return new AbstractImagePrototype() {
                public void applyTo(Image image) {
                    image.setUrl("img/fill_width.gif");
                }

                public Image createImage() {
                    return new Image("img/fill_width.gif");
                }

                public String getHTML() {
                    return "<img border=\"0\" src=\"img/fill_width.gif\"/>";
                }
            };
        }
    };

    headerTable = new FixedWidthFlexTable();
    dataTable = new FixedWidthGrid();

    table = new ScrollTable(dataTable, headerTable, scrollTableImages);
    table.setCellSpacing(0);
    table.setCellPadding(2);
    table.setColumnWidth(0, 50);
    table.setColumnWidth(3, 150);

    // Level 1 headers
    table.setSize("50", "50");
    headerTable.setHTML(0, 0, "<b>" + GeneralComunicator.i18nExtension("workflow.detail.id") + "</b>");
    headerTable.setHTML(0, 1, "<b>" + GeneralComunicator.i18nExtension("workflow.detail.name") + "</b>");
    headerTable.setHTML(0, 2, "<b>" + GeneralComunicator.i18nExtension("workflow.detail.token") + "</b>");
    headerTable.setHTML(0, 3, "<b>" + GeneralComunicator.i18nExtension("workflow.detail.date") + "</b>");
    headerTable.setHTML(0, 4, "<b>" + GeneralComunicator.i18nExtension("workflow.detail.type") + "</b>");
    headerTable.setHTML(0, 5, "<b>" + GeneralComunicator.i18nExtension("workflow.detail.info") + "</b>");

    // Table data
    dataTable.setSelectionPolicy(SelectionGrid.SelectionPolicy.ONE_ROW);
    table.setResizePolicy(ResizePolicy.UNCONSTRAINED);
    table.setScrollPolicy(ScrollPolicy.BOTH);

    initWidget(table);
}

From source file:com.openkm.extension.frontend.client.widget.workflow.WorkflowTable.java

License:Open Source License

/**
 * WorkflowTable//  w ww  .  j  a  v  a  2  s  .c o  m
 * 
 * @param isAssigned
 */
public WorkflowTable(WorkflowController controller) {
    this.controller = controller;
    ScrollTableImages scrollTableImages = new ScrollTableImages() {
        public AbstractImagePrototype scrollTableAscending() {
            return new AbstractImagePrototype() {
                public void applyTo(Image image) {
                    image.setUrl("img/sort_asc.gif");
                }

                public Image createImage() {
                    return new Image("img/sort_asc.gif");
                }

                public String getHTML() {
                    return "<img border=\"0\" src=\"img/sort_asc.gif\"/>";
                }
            };
        }

        public AbstractImagePrototype scrollTableDescending() {
            return new AbstractImagePrototype() {
                public void applyTo(Image image) {
                    image.setUrl("img/sort_desc.gif");
                }

                public Image createImage() {
                    return new Image("img/sort_desc.gif");
                }

                public String getHTML() {
                    return "<img border=\"0\" src=\"img/sort_desc.gif\"/>";
                }
            };
        }

        public AbstractImagePrototype scrollTableFillWidth() {
            return new AbstractImagePrototype() {
                public void applyTo(Image image) {
                    image.setUrl("img/fill_width.gif");
                }

                public Image createImage() {
                    return new Image("img/fill_width.gif");
                }

                public String getHTML() {
                    return "<img border=\"0\" src=\"img/fill_width.gif\"/>";
                }
            };
        }
    };

    headerTable = new FixedWidthFlexTable();
    dataTable = new FixedWidthGrid();

    table = new ScrollTable(dataTable, headerTable, scrollTableImages);
    table.setCellSpacing(0);
    table.setCellPadding(2);
    table.setColumnWidth(0, 50);
    table.setColumnWidth(1, 50);
    table.setPreferredColumnWidth(2, 120);
    table.setColumnWidth(3, 150);
    table.setColumnWidth(3, 150);

    // Level 1 headers
    table.setSize("50", "50");
    headerTable.setHTML(0, 0, "<b>" + GeneralComunicator.i18nExtension("workflow.id") + "</b>");
    headerTable.setHTML(0, 1, "<b>" + GeneralComunicator.i18nExtension("workflow.version") + "</b>");
    headerTable.setHTML(0, 2, "<b>" + GeneralComunicator.i18nExtension("workflow.name") + "</b>");
    headerTable.setHTML(0, 3, "<b>" + GeneralComunicator.i18nExtension("workflow.start.date") + "</b>");
    headerTable.setHTML(0, 4, "<b>" + GeneralComunicator.i18nExtension("workflow.end.date") + "</b>");
    headerTable.setHTML(0, 5, "");

    // Table data
    dataTable.setSelectionPolicy(SelectionGrid.SelectionPolicy.ONE_ROW);
    table.setResizePolicy(ResizePolicy.UNCONSTRAINED);
    table.setScrollPolicy(ScrollPolicy.BOTH);

    initWidget(table);
}