CheckinEnvironment

Anyone know anything about the CheckinEnvironment interface at all?

I've added a ProjectComponet that implements this in my plugin, and see
that the component is being loaded, yet none of the methods seem to get
called at all.

Do I need to register my component with the version control system at all?

Mark

5 comments
Comment actions Permalink

This interface is used to create the CheckinProjectDialog or
CheckinFileDialog. If you are not using those while checking in the project
then this interface will not be used at all.

-Dash.

"Mark Derricutt" <mark@talios.com> wrote in message
news:pan.2004.04.05.04.04.03.5630@talios.com...

Anyone know anything about the CheckinEnvironment interface at all?

>

I've added a ProjectComponet that implements this in my plugin, and see
that the component is being loaded, yet none of the methods seem to get
called at all.

>

Do I need to register my component with the version control system at all?

>

Mark

>


0
Comment actions Permalink

On Mon, 05 Apr 2004 11:16:41 -0700, Debabrata Dash wrote:

This interface is used to create the CheckinProjectDialog or
CheckinFileDialog. If you are not using those while checking in the
project then this interface will not be used at all.


Well, I'm returning a ComponentOnRefreshable which inturn returns a Panel
from its getComponent() method, but when ever I commit a file, or the
project, I never see the panel get added.

There is a method in the interface which returns a VcsConfiguration which
I'm not sure what to do with, that doesn't seem to get called either thou.

0
Comment actions Permalink

What creation method for CheckinFile/ProjectDialog are you using?

--
Olesya Smirnova
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

"Mark Derricutt" <mark@talios.com> wrote in message
news:pan.2004.04.05.20.09.26.340702@talios.com...

On Mon, 05 Apr 2004 11:16:41 -0700, Debabrata Dash wrote:

>

This interface is used to create the CheckinProjectDialog or
CheckinFileDialog. If you are not using those while checking in the
project then this interface will not be used at all.

>

Well, I'm returning a ComponentOnRefreshable which inturn returns a Panel
from its getComponent() method, but when ever I commit a file, or the
project, I never see the panel get added.

>

There is a method in the interface which returns a VcsConfiguration which
I'm not sure what to do with, that doesn't seem to get called either thou.

>


0
Comment actions Permalink

On Wed, 21 Apr 2004 20:13:36 +0400, Olesya Smirnova (JetBrains) wrote:

What creation method for CheckinFile/ProjectDialog are you using?


In my plugin component:

public RefreshableOnComponent
createAdditionalOptionsPanelForCheckinProject(Refreshable refreshable)
{
LOGGER.info("Panel");
return new JiraCVSPanel();
}

And:

public class JiraCVSPanel implements RefreshableOnComponent {
.....
private JPanel mainPanel;

public JComponent getComponent() {
LOGGER.info("Panel");
return mainPanel;
}


( this is a form compiled/made with the IDEA GUI builder ).

Should I not be returning a JPanel or something?

Mark

0
Comment actions Permalink

Olesya Smirnova (JetBrains) wrote:

What creation method for CheckinFile/ProjectDialog are you using?


Olesya - any chance of posting some sample code for adding a frame/event
for the commit dialog? I posted a piece of code I was using ( copied
below ) the other day but never saw any followups...



In my plugin component:

public RefreshableOnComponent
createAdditionalOptionsPanelForCheckinProject(Refreshable refreshable)
{
LOGGER.info("Panel");
return new JiraCVSPanel();
}

And:

public class JiraCVSPanel implements RefreshableOnComponent {
.....
private JPanel mainPanel;

public JComponent getComponent() {
LOGGER.info("Panel");
return mainPanel;
}


Is there something I'm missing here?

--
Discouragement is a dissatisfaction with the past, a distaste for the
present, and a distrust of the future - Maree De Jong, CLCA.

Mark Derricutt --- mark@ talios.com --- http://www.talios.com

0

Please sign in to leave a comment.