Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Information about com.ibm.team.workitem.rcp.ui.workItemViewP

I thought that the extension point:

com.ibm.team.workitem.rcp.ui.workItemViewPages 


concern with the displaying the work item in the client RTC.

PLUGIN.xml :


<extension
point="com.ibm.team.workitem.rcp.ui.workItemViewPages">
<page
class="com.ibm.team.workitem.ide.ui.prova.Page1"
pageId="com.ibm.team.workitem.explorer.page.initial"
targetId="com.ibm.team.workitem.ide.ui.prova.page1">
</page>
</extension>








Class file:


package com.ibm.team.workitem.ide.ui.prova;

import.....

public class Page1 extends Page {
Shell _shell;
public Page1() {
// TODO Stub di costruttore generato automaticamente
}

@Override
public void init(IPageSite pageSite) {
_shell = pageSite.getShell();
super.init(pageSite);
MessageDialog.openInformation(_shell, "", "information" );

}

....

}



I tried to write the following code, with the hope to open a dialog message when a work item is opened. It don't work.
Someone knows how to do this?

0 votes



7 answers

Permanent link
com.ibm.team.workitem.rcp.ui.workItemViewPages
I tried to write the following code, with the hope to open a dialog
message when a work item is opened. It don't work.
Someone knows how to do this?

This extension point is internal and is used for the initial views of the
work item explorer.

Can you describe what your scenario is? Opening a dialog along with the
opening editor sounds unusual to me.

--
Regards,
Patrick
Jazz Work Item Team

0 votes


Permanent link
com.ibm.team.workitem.rcp.ui.workItemViewPages
I tried to write the following code, with the hope to open a dialog
message when a work item is opened. It don't work.
Someone knows how to do this?

This extension point is internal and is used for the initial views of the
work item explorer.

Can you describe what your scenario is? Opening a dialog along with the
opening editor sounds unusual to me.

--
Regards,
Patrick
Jazz Work Item Team


I used the scenario of Dialog only to make a concrete example of the extension point that I would like to trap. I'd like to catch the moment when a user, in Rational Team Concert, opens the editor to create or view a work item, to execute a code of my plug-ins that I have alredy developed.

0 votes


Permanent link
It 'impossible to achieve what is required?

0 votes


Permanent link
It 'impossible to achieve what is required?

up

0 votes


Permanent link
It 'impossible to achieve what is required?

We have no hooks to participate in the opening of the work item editor.

Depending on what you are actually trying to do, adding a listener to the
work item working copy registry might be an option.

If it is really about participating in the opening of a work item editor,
you could implement and configure a custom attribute presentation (which
could be hidden) that contains your code.

--
Regards,
Patrick
Jazz Work Item Team

0 votes


Permanent link
It 'impossible to achieve what is required?

We have no hooks to participate in the opening of the work item editor.

Depending on what you are actually trying to do, adding a listener to the
work item working copy registry might be an option.

If it is really about participating in the opening of a work item editor,
you could implement and configure a custom attribute presentation (which
could be hidden) that contains your code.

--
Regards,
Patrick
Jazz Work Item Team


How i can insert my code in hidden attribute?

0 votes


Permanent link
How i can insert my code in hidden attribute?

Please see:
https://jazz.net/wiki/bin/view/Main/ContributingAttributePresentations
http://jazz.net/library/article/130

--
Regards,
Patrick
Jazz Work Item Team

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,943

Question asked: Sep 11 '09, 11:59 a.m.

Question was seen: 7,446 times

Last updated: Sep 11 '09, 11:59 a.m.

Confirmation Cancel Confirm