Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mylyn » [Own Connector] How to create a new Task/Bug?
[Own Connector] How to create a new Task/Bug? [message #598617] Sat, 08 August 2009 13:49 Go to next message
Thomas SZADEL is currently offline Thomas SZADELFriend
Messages: 36
Registered: July 2009
Member
Hi all,

I don't get how to create a new task (this is an own Connector)...

I have used the NewTaskWizard in the Connector UI and implemented the AbstractTaskDataHandler#initializeTaskData method, but when created, my new bug goes to the "Unsubmitted" Category...
And when I open it, my own editor page (with my bug attributes) doesn't appear (only Private & Context are shown) :cry:

Any idea?

Thanks!!
Re: [Resolved] How to create a new Task/Bug? [message #598635 is a reply to message #598617] Sun, 09 August 2009 11:07 Go to previous message
Thomas SZADEL is currently offline Thomas SZADELFriend
Messages: 36
Registered: July 2009
Member
Ok... I found 8) I forgot to do the else case in the AbstractTaskEditorPageFactory...


@Override
public boolean canCreatePageFor(final TaskEditorInput input) {
// Task inside the Qc repository
if (input.getTask().getConnectorKind().equals(IQcConstants.CONN ECTOR_KIND)) {
return true;
}
// For new task
else if (TasksUiUtil.isOutgoingNewTask(input.getTask(), IQcConstants.CONNECTOR_KIND)) {
return true;
}
return false;
}
Previous Topic:Obtaining the leaf objects from the active context
Next Topic:Context not empty on new task creation
Goto Forum:
  


Current Time: Fri Apr 26 16:14:01 GMT 2024

Powered by FUDForum. Page generated in 0.03208 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top