- Label noTaskLbl = new Label(noTaskCmp, SWT.CENTER);
- noTaskLbl.setText("<i> <big> You have no pending Task. </big> </i>");
- CmsUtils.markup(noTaskLbl);
- noTaskLbl.setLayoutData(new GridData(SWT.CENTER, SWT.BOTTOM, true, true));
-
- final Link createTaskLk = new Link(noTaskCmp, SWT.CENTER);
- createTaskLk.setText("<a> Create a task </a>");
- createTaskLk.setLayoutData(new GridData(SWT.CENTER, SWT.TOP, true, true));
-
- createTaskLk.addSelectionListener(new SelectionAdapter() {
- private static final long serialVersionUID = -9028457805156989935L;
-
- @Override
- public void widgetSelected(SelectionEvent e) {
- String mainMixin = TrackerTypes.TRACKER_TASK;
- String pathCreated = ConnectWorkbenchUtils.createAndConfigureEntity(createTaskLk.getShell(),
- getSession(), getSystemAppService(), getSystemWorkbenchService(), mainMixin);
- if (EclipseUiUtils.notEmpty(pathCreated))
- forceRefresh(null);
- }
- });
+ // Label noTaskLbl = new Label(noTaskCmp, SWT.CENTER);
+ // noTaskLbl.setText("<i> <big> You have no pending Task. </big> </i>");
+ // CmsUtils.markup(noTaskLbl);
+ // noTaskLbl.setLayoutData(new GridData(SWT.CENTER, SWT.BOTTOM, true, true));