This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 37190 - Add a command property, that will disable the command on non-locked files
Summary: Add a command property, that will disable the command on non-locked files
Status: RESOLVED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcsgeneric (show other bugs)
Version: 3.x
Hardware: All All
: P1 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-13 09:56 UTC by Martin Entlicher
Modified: 2003-12-11 14:27 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Entlicher 2003-11-13 09:56:38 UTC
Some version control system requires to have the
file locked in order to be able to check in the
file into the repository.

There is currently no mechanism for this, because
it's possible to only enable/disable commands by
it's status, not locker attribute.
Comment 1 Martin Entlicher 2003-11-13 09:58:10 UTC
Scheduling for 4.0. This is necessary for PVCS, VSS (possibly
ClearCase).
Comment 2 Martin Entlicher 2003-11-13 17:42:36 UTC
The basis implemented in vcscore module:

Checking in commands/CommandCustomizationSupport.java;
/cvs/vcscore/src/org/netbeans/modules/vcscore/commands/CommandCustomizationSupport.java,v 
<--  CommandCustomizationSupport.java
new revision: 1.15; previous revision: 1.14
done
Checking in commands/VcsCommand.java;
/cvs/vcscore/src/org/netbeans/modules/vcscore/commands/VcsCommand.java,v 
<--  VcsCommand.java
new revision: 1.36; previous revision: 1.35
done
Processing log script arguments...
More commits to come...
Checking in VcsFileSystem.java;
/cvs/vcscore/src/org/netbeans/modules/vcscore/VcsFileSystem.java,v 
<--  VcsFileSystem.java
new revision: 1.237; previous revision: 1.236
done

And an expert property is defined for it:
Checking in Bundle.properties;
/cvs/vcsgeneric/src/org/netbeans/modules/vcs/advanced/commands/Bundle.properties,v 
<--  Bundle.properties
new revision: 1.41; previous revision: 1.40
done
Checking in CommandNode.java;
/cvs/vcsgeneric/src/org/netbeans/modules/vcs/advanced/commands/CommandNode.java,v 
<--  CommandNode.java
new revision: 1.42; previous revision: 1.41
done