bugGNUstep - Bugs: bug #9425, Cannot instantiate...

Group
 
 

bug #9425: Cannot instantiate NSDocumentController

Submitter:  None
Submitted:  Tue 22 Jun 2004 06:54:17 PM UTC
   
 
Category:  Gorm Severity:  3 - Normal
Item Group:  Change Request Status:  Invalid
Privacy:  Public Assigned to:  gcasa
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 05 Oct 2004 03:59:35 AM UTC, comment #3: 

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

Gregory John Casamento <gcasa>
Group administrator
Sat 31 Jul 2004 03:26:39 AM UTC, comment #2: 

This is a change request, not a bug since IB doesn't allow it either.  GJC

Gregory John Casamento <gcasa>
Group administrator
Wed 23 Jun 2004 03:20:38 AM UTC, comment #1: 

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

Gregory John Casamento <gcasa>
Group administrator
Tue 22 Jun 2004 06:54:17 PM UTC, 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.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 4 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-10-05 gcasa StatusNone Invalid
    Open/ClosedOpen Closed
2004-07-31 gcasa Item GroupBug Change Request
2004-06-23 gcasa Assigned toNone gcasa

Back to the top

Powered by Savane 3.13-02a9.
Corresponding source code