The scheduling of tasks is considered to be part of personal planning
which is managed by the user. The tasks framework does not have any
API for modifying the scheduling but you can use internals to change
the date:

  TasksUiPlugin.getTaskActivityManager().setScheduledFor((AbstractTask)
task, scheduledDate);

In order to hide pages from the Task Editor you can implement
AbstractTaskEditorPageFactory.getConflictingIds(). See
BugzillaTaskEditorPageFactory for an example:

 public String[] getConflictingIds(TaskEditorInput input) {
   return new String[] { ITasksUiConstants.ID_PAGE_PLANNING };
 }

Steffen


On Sun, Apr 12, 2009 at 11:33 PM, pankaj chaitram turkar
<[email protected]> wrote:
> Hi,
>
> I want to set "Scheduled For" attribute to due date of my assignment. How do
> I do that??? Also I want to hide whole "Planning" tab in task edditor. How
> do I do that???
>
> Thanks,
> Pankaj Turkar
>
> _______________________________________________
> mylyn-integrators mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/mylyn-integrators
>
>



-- 
Steffen Pingel
Committer, http://eclipse.org/mylyn
Senior Developer, http://tasktop.com
_______________________________________________
mylyn-integrators mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/mylyn-integrators

Reply via email to