List of usage examples for org.eclipse.jgit.awtui UIText get
public static UIText get()
From source file:kr.re.ec.grigit.graph.ui.GriGitGraphPane.java
License:Eclipse Distribution License
@Override public void setModel(final TableModel dataModel) { if (dataModel != null && !(dataModel instanceof CommitTableModel)) throw new ClassCastException(UIText.get().mustBeSpecialTableModel); super.setModel(dataModel); }
From source file:kr.re.ec.grigit.graph.ui.GriGitGraphPane.java
License:Eclipse Distribution License
private void configureHeader() { final JTableHeader th = getTableHeader(); final TableColumnModel cols = th.getColumnModel(); final TableColumn graph = cols.getColumn(0); final TableColumn author = cols.getColumn(1); final TableColumn date = cols.getColumn(2); graph.setHeaderValue(""); //$NON-NLS-1$ author.setHeaderValue(UIText.get().author); date.setHeaderValue(UIText.get().date); graph.setCellRenderer(new GraphCellRender()); author.setCellRenderer(new NameCellRender()); date.setCellRenderer(new DateCellRender()); }