mirror of
https://github.com/gnustep/apps-projectcenter.git
synced 2025-02-21 02:41:18 +00:00
some code improvements regarding the inspector
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@7820 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e5f22cafc2
commit
5c5a54d2d3
3 changed files with 35 additions and 119 deletions
|
@ -43,29 +43,7 @@
|
|||
|
||||
- (void)_initUI
|
||||
{
|
||||
// Always call super!!!
|
||||
[super _initUI];
|
||||
|
||||
projectAttributeInspectorView = [[NSBox alloc] init];
|
||||
[projectAttributeInspectorView setTitlePosition:NSAtTop];
|
||||
[projectAttributeInspectorView setBorderType:NSGrooveBorder];
|
||||
// [projectAttributeInspectorView addSubview:projectTypePopup];
|
||||
[projectAttributeInspectorView sizeToFit];
|
||||
[projectAttributeInspectorView setAutoresizingMask:NSViewWidthSizable];
|
||||
|
||||
projectProjectInspectorView = [[NSBox alloc] init];
|
||||
[projectProjectInspectorView setTitlePosition:NSAtTop];
|
||||
[projectProjectInspectorView setBorderType:NSGrooveBorder];
|
||||
// [projectProjectInspectorView addSubview:projectTypePopup];
|
||||
[projectProjectInspectorView sizeToFit];
|
||||
[projectProjectInspectorView setAutoresizingMask:NSViewWidthSizable];
|
||||
|
||||
projectFileInspectorView = [[NSBox alloc] init];
|
||||
[projectFileInspectorView setTitlePosition:NSAtTop];
|
||||
[projectFileInspectorView setBorderType:NSGrooveBorder];
|
||||
// [projectFileInspectorView addSubview:projectTypePopup];
|
||||
[projectFileInspectorView sizeToFit];
|
||||
[projectFileInspectorView setAutoresizingMask:NSViewWidthSizable];
|
||||
}
|
||||
|
||||
@end
|
||||
|
@ -100,10 +78,6 @@
|
|||
{
|
||||
[rootCategories release];
|
||||
|
||||
[projectAttributeInspectorView release];
|
||||
[projectProjectInspectorView release];
|
||||
[projectFileInspectorView release];
|
||||
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
|
|
|
@ -43,31 +43,7 @@
|
|||
|
||||
- (void)_initUI
|
||||
{
|
||||
// Always call super!!!
|
||||
[super _initUI];
|
||||
|
||||
projectAttributeInspectorView = [[NSBox alloc] init];
|
||||
[projectAttributeInspectorView setTitlePosition:NSAtTop];
|
||||
[projectAttributeInspectorView setBorderType:NSGrooveBorder];
|
||||
// [projectAttributeInspectorView addSubview:projectTypePopup];
|
||||
[projectAttributeInspectorView sizeToFit];
|
||||
[projectAttributeInspectorView setAutoresizingMask:NSViewWidthSizable];
|
||||
|
||||
projectProjectInspectorView = [[NSBox alloc] init];
|
||||
[projectProjectInspectorView setTitlePosition:NSAtTop];
|
||||
[projectProjectInspectorView setBorderType:NSGrooveBorder];
|
||||
// [projectProjectInspectorView addSubview:projectTypePopup];
|
||||
[projectProjectInspectorView sizeToFit];
|
||||
[projectProjectInspectorView setAutoresizingMask:NSViewWidthSizable];
|
||||
|
||||
projectFileInspectorView = [[NSBox alloc] init];
|
||||
[projectFileInspectorView setTitlePosition:NSAtTop];
|
||||
[projectFileInspectorView setBorderType:NSGrooveBorder];
|
||||
// [projectFileInspectorView addSubview:projectTypePopup];
|
||||
[projectFileInspectorView sizeToFit];
|
||||
[projectFileInspectorView setAutoresizingMask:NSViewWidthSizable];
|
||||
|
||||
_needsAdditionalReleasing = YES;
|
||||
}
|
||||
|
||||
@end
|
||||
|
@ -100,10 +76,6 @@
|
|||
{
|
||||
[rootCategories release];
|
||||
|
||||
[projectAttributeInspectorView release];
|
||||
[projectProjectInspectorView release];
|
||||
[projectFileInspectorView release];
|
||||
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
|
|
|
@ -43,31 +43,7 @@
|
|||
|
||||
- (void)_initUI
|
||||
{
|
||||
// Always call super!!!
|
||||
[super _initUI];
|
||||
|
||||
projectAttributeInspectorView = [[NSBox alloc] init];
|
||||
[projectAttributeInspectorView setTitlePosition:NSAtTop];
|
||||
[projectAttributeInspectorView setBorderType:NSGrooveBorder];
|
||||
// [projectAttributeInspectorView addSubview:projectTypePopup];
|
||||
[projectAttributeInspectorView sizeToFit];
|
||||
[projectAttributeInspectorView setAutoresizingMask:NSViewWidthSizable];
|
||||
|
||||
projectProjectInspectorView = [[NSBox alloc] init];
|
||||
[projectProjectInspectorView setTitlePosition:NSAtTop];
|
||||
[projectProjectInspectorView setBorderType:NSGrooveBorder];
|
||||
// [projectProjectInspectorView addSubview:projectTypePopup];
|
||||
[projectProjectInspectorView sizeToFit];
|
||||
[projectProjectInspectorView setAutoresizingMask:NSViewWidthSizable];
|
||||
|
||||
projectFileInspectorView = [[NSBox alloc] init];
|
||||
[projectFileInspectorView setTitlePosition:NSAtTop];
|
||||
[projectFileInspectorView setBorderType:NSGrooveBorder];
|
||||
// [projectFileInspectorView addSubview:projectTypePopup];
|
||||
[projectFileInspectorView sizeToFit];
|
||||
[projectFileInspectorView setAutoresizingMask:NSViewWidthSizable];
|
||||
|
||||
_needsAdditionalReleasing = YES;
|
||||
}
|
||||
|
||||
@end
|
||||
|
@ -101,12 +77,6 @@
|
|||
{
|
||||
[rootCategories release];
|
||||
|
||||
if (_needsAdditionalReleasing) {
|
||||
[projectAttributeInspectorView release];
|
||||
[projectProjectInspectorView release];
|
||||
[projectFileInspectorView release];
|
||||
}
|
||||
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue