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

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #9425: Cannot instantiate NSDocumentController

Submitted by:  None
Submitted on:  Tue 22 Jun 2004 06:54:17 PM UTC  
 
Category: GormSeverity: 3 - Normal
Item Group: Change RequestStatus: Invalid
Privacy: PublicAssigned to: Gregory John Casamento <gcasa>
Open/Closed: Closed

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

 

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 click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 4 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Tue 05 Oct 2004 03:59:35 AM UTCgcasaStatusNone=>Invalid
  Open/ClosedOpen=>Closed
Sat 31 Jul 2004 03:26:39 AM UTCgcasaItem GroupBug=>Change Request
Wed 23 Jun 2004 03:22:20 AM UTCgcasaAssigned toNone=>gcasa

Back to the top


Powered by Savane 3.1-cleanup1