Information about com.ibm.team.workitem.rcp.ui.workItemViewP
I thought that the extension point:
concern with the displaying the work item in the client RTC.
PLUGIN.xml :
Class file:
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?
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?
7 answers
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
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.
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
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?