import javax.jcr.Node;
import javax.jcr.RepositoryException;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
import org.argeo.cms.Localized;
import org.argeo.cms.ui.CmsTheme;
import org.argeo.cms.ui.CmsUiProvider;
/** Side pane listing various perspectives. */
public class DefaultLeadPane implements CmsUiProvider {
- private final static Log log = LogFactory.getLog(DefaultLeadPane.class);
+ // private final static Log log = LogFactory.getLog(DefaultLeadPane.class);
@Override
public Control createUi(Composite parent, Node node) throws RepositoryException {
if (!cmsView.isAnonymous()) {
// createButton(parent, SuiteMsg.documents.name(), SuiteMsg.documents, SuiteIcon.documents);
// createButton(parent, SuiteMsg.people.name(), SuiteMsg.people, SuiteIcon.people);
- createButton(parent, SuiteMsg.locations.name(), SuiteMsg.locations, SuiteIcon.location);
+// createButton(parent, SuiteMsg.locations.name(), SuiteMsg.locations, SuiteIcon.location);
}
return dashboardB;
}
CmsUiUtils.style(button, SuiteStyle.leadPane);
button.setImage(icon.getBigIcon(theme));
button.setLayoutData(new GridData(SWT.CENTER, SWT.BOTTOM, true, false));
- //button.setToolTipText(msg.lead());
- Label lbl = new Label(parent,SWT.NONE);
+ // button.setToolTipText(msg.lead());
+ Label lbl = new Label(parent, SWT.NONE);
CmsUiUtils.style(lbl, SuiteStyle.leadPane);
lbl.setText(msg.lead());
lbl.setLayoutData(new GridData(SWT.CENTER, SWT.TOP, true, false));