X-Git-Url: https://git.argeo.org/?p=gpl%2Fargeo-suite.git;a=blobdiff_plain;f=org.argeo.suite.ui%2Fsrc%2Forg%2Fargeo%2Fsuite%2Fui%2FDefaultLeadPane.java;h=1f371823aa1211c958d4ae27377b6041298cec5d;hp=6c6047492901242c8e1e1f5058aa87b42af521c5;hb=20dc399b50c00d9334211d95bc1519f512d6c296;hpb=a91a037c1d7d94a47e356918952a106b5071cf5c diff --git a/org.argeo.suite.ui/src/org/argeo/suite/ui/DefaultLeadPane.java b/org.argeo.suite.ui/src/org/argeo/suite/ui/DefaultLeadPane.java index 6c60474..1f37182 100644 --- a/org.argeo.suite.ui/src/org/argeo/suite/ui/DefaultLeadPane.java +++ b/org.argeo.suite.ui/src/org/argeo/suite/ui/DefaultLeadPane.java @@ -5,8 +5,6 @@ import java.util.Map; 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; @@ -23,7 +21,7 @@ import org.eclipse.swt.widgets.Label; /** 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 { @@ -39,7 +37,7 @@ public class DefaultLeadPane implements CmsUiProvider { 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; } @@ -50,8 +48,8 @@ public class DefaultLeadPane implements CmsUiProvider { 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));