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

 
 

bug #9425: Cannot instantiate NSDocumentController

Submitted by:  None
Submitted on:  Tue 22 Jun 2004 06:54:17 PM UTC  
 
Category:  Gorm Severity:  3 - Normal
Item Group:  Change Request Status:  Invalid
Privacy:  Public Assigned to:  Gregory John Casamento <gcasa>
Open/Closed:  Closed

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.
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

 

Do you think this task is very important?
If so, you can add your encouragement to it.
This task has 0 encouragements so far.

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.6