use of com.extjs.gxt.ui.client.widget.layout.CenterLayout in project activityinfo by bedatadriven.
the class DataEntryPage method createNewInterfaceLink.
private Component createNewInterfaceLink() {
betaLinkPanel = new ContentPanel();
betaLinkPanel.setHeaderVisible(false);
betaLinkPanel.setLayout(new CenterLayout());
Anchor betaLink = new Anchor(I18N.CONSTANTS.tryNewDataEntryInterface());
betaLink.addClickHandler(clickEvent -> {
if (!clickEvent.isControlKeyDown()) {
navigateToNewNewInterface();
} else {
navigateToNewInterface();
}
});
betaLinkPanel.add(betaLink);
return betaLinkPanel;
}
Aggregations