File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 19
19
NSString *commandDescription;
20
20
21
21
NSMutableArray *parameters;
22
+ BOOL canBeFired;
22
23
}
24
+ @property (nonatomic ) BOOL canBeFired;
23
25
@property (nonatomic , retain , readonly ) PBGitRepository *repository;
24
26
@property (nonatomic , retain ) NSString *commandTitle;
25
27
@property (nonatomic , retain ) NSString *commandDescription;
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ @implementation PBCommand
18
18
@synthesize commandDescription;
19
19
@synthesize commandTitle;
20
20
@synthesize repository;
21
+ @synthesize canBeFired;
21
22
22
23
- (id ) initWithDisplayName : (NSString *) aDisplayName parameters : (NSArray *) params {
23
24
return [self initWithDisplayName: aDisplayName parameters: params repository: nil ];
@@ -33,6 +34,7 @@ - (id) initWithDisplayName:(NSString *) aDisplayName parameters:(NSArray *) para
33
34
self.commandTitle = @" " ;
34
35
self.commandDescription = @" " ;
35
36
self.repository = repo;
37
+ self.canBeFired = YES ;
36
38
}
37
39
return self;
38
40
}
You can’t perform that action at this time.
0 commit comments