PCButton.m([initWitCoder]): add [_cell setImageDimsWhenDisabled:YES]

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@24382 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Sergii Stoian 2007-01-19 00:06:32 +00:00
parent 7fb3796a38
commit f24d40c2d3
6 changed files with 52 additions and 44 deletions

View file

@ -7,51 +7,51 @@ Feel free to propose changes to this list or make suggestions!
ProjectCenter 0.4 Owner/Status ProjectCenter 0.4 Owner/Status
----------------- ------------ ----------------- ------------
- Review and cleanup of PC project bundles/templates [done!] - Review and cleanup of PC project bundles/templates [done!]
- Finish Project Inspector [done!] - Finish Project Inspector [done!]
- Inspector UI using Gorm [done!] - Inspector UI using Gorm [done!]
- File creation (File->New in project) cleanup and finishing [done!] - File creation (File->New in project) cleanup and finishing [done!]
- Initial suprojects support [done!] - Initial suprojects support [done!]
- Finish support of external editors [done!] - Finish support of external editors [done!]
- Preferences enhancements and UI using Gorm [done!] - Preferences enhancements and UI using Gorm [done!]
- Remember project windows and panels in PC.project [done!] - Remember project windows and panels in PC.project [done!]
ProjectCenter 0.5 ProjectCenter 0.5
----------------- -----------------
- Create ProjectWindow GORM file [done!] - Create ProjectWindow GORM file [done!]
- Add "Framework" project type [done!] - Add "Framework" project type [done!]
- Add "Resource Set" project type [done!] - Add "Resource Set" project type [done!]
- Implement on demand loading of bundles [done!] - Implement on demand loading of bundles [done!]
- Localization support for projects [done!] - Localization support for projects [done!]
- Finish save/restore size of split views in Project Window [done!] - Finish save/restore size of split views in Project Window [done!]
- Save last used path separately for different file panels stoyan - Save last used path separately for different file panels stoyan
--- Project Editor: --- Project Editor:
- Implement on demand loading (editor for file type) [done!] - Implement on demand loading (editor for file type) [done!]
- Open some files read only (Supporting Files) [done!] - Open some files read only (Supporting Files) [done!]
- Implement code parser (get it from CodeEditor?) [done!] - Implement code parser (get it from CodeEditor?) [done!]
- Project Browser should show file structure. [done!] - Project Browser should show file structure. [done!]
- Click on Browser item should move cursor to line in file [done!] - Click on Browser item should move cursor to line in file [done!]
- Imlement pending adding/removal of files (history?) stoyan - Imlement pending adding/removal of files (history?) stoyan
--- Project Builder: --- Project Builder:
- Create panel and builder GORM files [done!] - Create panel and builder GORM files [done!]
- Implement root build directory handling [done!] - Implement root build directory handling [done!]
- Finish options handling stoyan - Finish options handling stoyan
- Parse gcc output [95% done!] - Parse gcc output [95% done!]
- Display warnings,errors,options etc. as clickable list [done!] - Display warnings,errors,options etc. as clickable list [done!]
- Finish FileNameIcon (draggable, files can be dragged to it) stoyan - Finish FileNameIcon (draggable, files can be dragged to it) stoyan
- Review all dialogs and situations when dialogs must be - Review all dialogs and situations when dialogs must be
popped up stoyan popped up stoyan
ProjectCenter 0.6 ProjectCenter 0.6
----------------- -----------------
- Rewrite Preferences (3rd party sections etc.) stoyan - Rewrite Preferences (3rd party sections etc.) stoyan
- Add "Palette" project type stoyan - Add "Palette" project type stoyan
- Add "Component" project type stoyan - Add "Component" project type stoyan
- Create custom Info panel stoyan - Create custom Info panel stoyan
- More options for file creation stoyan - More options for file creation stoyan
- Implement Editor indentation stoyan - Implement Editor indentation stoyan
- Better integration with other tools (Gorm) stoyan - Better integration with other tools (Gorm) stoyan
ProjectCenter 0.7 ProjectCenter 0.7

View file

@ -2,14 +2,15 @@
"## Comment" = "Do NOT change this file, Gorm maintains it"; "## Comment" = "Do NOT change this file, Gorm maintains it";
FirstResponder = { FirstResponder = {
Actions = ( Actions = (
"startInstall:", "showOptionsPanel:",
"showFindView:", "showFindView:",
"showProjectBuild:", "showProjectBuild:",
"showProjectInspector:", "showProjectInspector:",
"showProjectLaunch:", "showProjectLaunch:",
"showProjectLoadedFiles:", "showProjectLoadedFiles:",
"startBuild:", "startBuild:",
"startClean:" "startClean:",
"startInstall:"
); );
Super = NSObject; Super = NSObject;
}; };
@ -24,7 +25,8 @@
Actions = ( Actions = (
"startInstall:", "startInstall:",
"startBuild:", "startBuild:",
"startClean:" "startClean:",
"showOptionsPanel:"
); );
Outlets = ( Outlets = (
buildButton, buildButton,

View file

@ -40,6 +40,7 @@
// self = [super initWithFrame:frameRect]; // self = [super initWithFrame:frameRect];
self = [super initWithCoder:coder]; self = [super initWithCoder:coder];
[_cell setGradientType:NSGradientConvexWeak]; [_cell setGradientType:NSGradientConvexWeak];
[_cell setImageDimsWhenDisabled:YES];
[self setImagePosition:NSImageOnly]; [self setImagePosition:NSImageOnly];
[self setFont:[NSFont systemFontOfSize:10.0]]; [self setFont:[NSFont systemFontOfSize:10.0]];
[self setRefusesFirstResponder:YES]; [self setRefusesFirstResponder:YES];

View file

@ -129,13 +129,6 @@ if (__value != __object) \
#define TARGET_MAKE_CLEAN @"MakeClean" #define TARGET_MAKE_CLEAN @"MakeClean"
#define TARGET_MAKE_RPM @"MakeRPM" #define TARGET_MAKE_RPM @"MakeRPM"
#define BUILD_TAG 0
#define LAUNCH_TAG 1
#define EDITOR_TAG 2
#define FILES_TAG 3
#define FIND_TAG 4
#define INSPECTOR_TAG 5
//============================================================================= //=============================================================================
// ==== Not used yet // ==== Not used yet
//============================================================================= //=============================================================================
@ -164,6 +157,8 @@ typedef int PCProjInfoBits;
#include <Foundation/Foundation.h> #include <Foundation/Foundation.h>
static NSString * const PCLastEditing = @"LAST_EDITING";
static NSString * const PCClasses = @"CLASS_FILES"; static NSString * const PCClasses = @"CLASS_FILES";
static NSString * const PCHeaders = @"HEADER_FILES"; static NSString * const PCHeaders = @"HEADER_FILES";
static NSString * const PCOtherSources = @"OTHER_SOURCES"; static NSString * const PCOtherSources = @"OTHER_SOURCES";
@ -186,7 +181,6 @@ static NSString * const PCPreprocessorOptions = @"CPPOPTIONS";
static NSString * const PCCreationDate = @"CREATION_DATE"; static NSString * const PCCreationDate = @"CREATION_DATE";
static NSString * const PCInstallDir = @"INSTALLDIR"; static NSString * const PCInstallDir = @"INSTALLDIR";
static NSString * const PCLinkerOptions = @"LINKEROPTIONS"; static NSString * const PCLinkerOptions = @"LINKEROPTIONS";
static NSString * const PCLastEditing = @"LAST_EDITING";
static NSString * const PCObjCCompilerOptions = @"OBJC_COMPILEROPTIONS"; static NSString * const PCObjCCompilerOptions = @"OBJC_COMPILEROPTIONS";
static NSString * const PCPrincipalClass = @"PRINCIPAL_CLASS"; static NSString * const PCPrincipalClass = @"PRINCIPAL_CLASS";
static NSString * const PCAuthors = @"PROJECT_AUTHORS"; static NSString * const PCAuthors = @"PROJECT_AUTHORS";
@ -206,6 +200,15 @@ static NSString * const PCURL = @"PROJECT_URL";
static NSString * const PCSearchHeaders = @"SEARCH_HEADER_DIRS"; static NSString * const PCSearchHeaders = @"SEARCH_HEADER_DIRS";
static NSString * const PCSearchLibs = @"SEARCH_LIB_DIRS"; static NSString * const PCSearchLibs = @"SEARCH_LIB_DIRS";
// Project Builder options
static NSString * const PCBuilderOptions = @"BUILDER_OPTIONS";
static NSString * const PCBuilderTarget = @"BUILDER_TARGET";
static NSString * const PCBuilderArguments = @"BUILDER_ARGS";
static NSString * const PCBuilderDebug = @"BUILDER_DEBUG";
static NSString * const PCBuilderProfile = @"BUILDER_PROFILE";
static NSString * const PCBuilderVerboseMake = @"BUILDER_VERBOSE_MAKE";
static NSString * const PCBuilderSharedLibs = @"BUILDER_SHARED_LIBS";
// Application specific // Application specific
static NSString * const PCAppIcon = @"APPLICATIONICON"; static NSString * const PCAppIcon = @"APPLICATIONICON";
static NSString * const PCMainInterfaceFile = @"MAININTERFACE"; static NSString * const PCMainInterfaceFile = @"MAININTERFACE";
@ -226,7 +229,7 @@ static NSString * const PCToolIcon = @"TOOLICON";
static NSString * const PCPackageName = @"PACKAGE_NAME"; static NSString * const PCPackageName = @"PACKAGE_NAME";
static NSString * const PCLibraryVar = @"LIBRARY_VAR"; static NSString * const PCLibraryVar = @"LIBRARY_VAR";
// Will be removed // Will be removed (compatibility)
static NSString * const PCProjectBuilderClass = @"PROJECT_BUILDER"; static NSString * const PCProjectBuilderClass = @"PROJECT_BUILDER";
#endif // _PCDEFINES_H_ #endif // _PCDEFINES_H_

View file

@ -108,6 +108,8 @@
|| [[fileName pathExtension] isEqualToString:@"project"] == YES) || [[fileName pathExtension] isEqualToString:@"project"] == YES)
{ {
[projectManager openProjectAt:fileName]; [projectManager openProjectAt:fileName];
[[[projectManager activeProject] projectWindow]
makeKeyAndOrderFront:self];
} }
else else
{ {