Difference between revisions of "TabMailExtension"
From OpenKM Documentation
Line 1: | Line 1: | ||
− | |||
− | |||
== Methods == | == Methods == | ||
=== getTabText === | === getTabText === |
Revision as of 13:27, 2 December 2010
Methods
getTabText
Used by OpenKM to get the tab text.
set(GWTMail mail)
Any time there's some mail selected ( in browser ) is executed this method by OpenKM in order to refreshing mail tab panel information.
getExtensionUUID()
Return the unique extension id
Example
public class TabMailExample extends TabMailExtension {
VerticalPanel vPanel;
public TabMailExample() {
vPanel = new VerticalPanel();
vPanel.add(new HTML("hello world"));
initWidget(vPanel);
}
@Override
public String getTabText() {
return "New folder tab";
}
@Override
public void set(GWTMail mail) {
// TODO Auto-generated method stub
}
@Override
public void setVisibleButtons(boolean visible) {
// TODO Auto-generated method stub
}
@Override
public String getExtensionUUID() {
return String.valueOf("d95e01a0-d097-11df-bd3b-0800200c9a66");
}
}