X-Git-Url: http://www.entropy.ch/git/TestXSLT.git/blobdiff_plain/0e9e9d9bedf966c927b0d1faaa1e3271e26be7cd..d81cd245e0ba438a2de35f15a5f8b4e6c29e3010:/MyDocument.m diff --git a/MyDocument.m b/MyDocument.m index 8dd8eaa..1d3fff9 100644 --- a/MyDocument.m +++ b/MyDocument.m @@ -44,6 +44,7 @@ } + - (IBAction)selectTab:(id)sender { [self selectTabById:[sender tag]]; @@ -51,10 +52,6 @@ } - - - - - (IBAction)selectTabById:(int)tabId { NSString *tabName; @@ -78,13 +75,13 @@ tabName = @"resultTab"; break; - } [tabView selectTabViewItemWithIdentifier:tabName]; } + - (void)textViewDidChangeSelection:(NSNotification *)aNotification { [self updateUI]; } @@ -98,8 +95,6 @@ } - - - (void)updateUI { // NSLog(@"updateUI running..."); @@ -114,6 +109,7 @@ } + - (void)uiUpdateTimerTarget:(NSTimer *)timer { [self doUpdateUI]; @@ -122,8 +118,6 @@ } - - - (void)doUpdateUI { NSString *activeTabIdentifier = [[tabView selectedTabViewItem] identifier]; @@ -239,7 +233,6 @@ } - - (BOOL)canProcessNow { return [workset hasXmlCode] && [workset hasXsltCode];