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
Please sign in to leave a comment.
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...
>
>
>
>
On Mon, 05 Apr 2004 11:16:41 -0700, Debabrata Dash wrote:
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.
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 Wed, 21 Apr 2004 20:13:36 +0400, Olesya Smirnova (JetBrains) wrote:
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
Olesya Smirnova (JetBrains) wrote:
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