bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bugs #9425] Cannot instantiate NSDocumentController


From: Gregory John Casamento
Subject: [bugs #9425] Cannot instantiate NSDocumentController
Date: Tue, 05 Oct 2004 00:06:44 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030821

This mail is an automated notification from the bugs tracker
 of the project: GNUstep.

/**************************************************************************/
[bugs #9425] Latest Modifications:

Changes by: 
                Gregory John Casamento <greg_casamento@yahoo.com>
'Date: 
                Tue 10/05/2004 at 03:59 (US/Eastern)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Invalid
              Status | Open                      | Closed


------------------ Additional Follow-up Comments ----------------------------
Currently IB doesn't support NSDocumentController since it is initialized by 
using the NSTypes entry in <AppName>Info.plist file which associates the 
documents with their document types.   When a subclass is necessary, it then 
allows you to instantiate it.  This subclass instance becomes the single 
document controller instance for the app.

This is not a bug,  NSDocumentController shall not be directly instantiable.  
Please let me know, if anyone has any convincing arguments to the contrary.

GJC






/**************************************************************************/
[bugs #9425] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=9425>
Project: GNUstep
Submitted by: 0
On: Tue 06/22/2004 at 18:54

Category:  Gorm
Severity:  5 - Average
Item Group:  Change Request
Resolution:  Invalid
Privacy:  Public
Assigned to:  gcasa
Status:  Closed


Summary:  Cannot instantiate NSDocumentController

Original Submission:  Using Gorm 0.7.7

Steps to reproduce:

1) Create new document
2) Switch to "Classes" view in main window.
3) Attempt to "Instantiate" NSDocumentController. The option will be 
greyed-out. 

Follow-up Comments
------------------


-------------------------------------------------------
Date: Tue 10/05/2004 at 03:59       By: Gregory John Casamento <gcasa>
Currently IB doesn't support NSDocumentController since it is initialized by 
using the NSTypes entry in <AppName>Info.plist file which associates the 
documents with their document types.   When a subclass is necessary, it then 
allows you to instantiate it.  This subclass instance becomes the single 
document controller instance for the app.

This is not a bug,  NSDocumentController shall not be directly instantiable.  
Please let me know, if anyone has any convincing arguments to the contrary.

GJC

-------------------------------------------------------
Date: Sat 07/31/2004 at 03:26       By: Gregory John Casamento <gcasa>
This is a change request, not a bug since IB doesn't allow it either.  GJC

-------------------------------------------------------
Date: Wed 06/23/2004 at 03:20       By: Gregory John Casamento <gcasa>
Currently, IB on MOSX does not allow direct instantiation of 
NSDocumentController, only NSDocumentController subclasses defined by the user. 
  The change was made in Gorm to disallow this for consistency with MOSX's IB.

I am reviewing this decision.  GJC  












For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=9425>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/







reply via email to

[Prev in Thread] Current Thread [Next in Thread]