Dave Wetzel
671dac2c7b
EOInterface/* numberOfRowsInTableView returns NSInteger now
...
EOModeler/EOModelerDocument.m: do not insert a model into EditingContext.
EOModeler/EOModelerEditor.m: avoid crash
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30245 72102866-910b-0410-8b05-ffd578937521
2010-04-27 01:49:42 +00:00
Matt Rice
4a7738a050
* DBModeler/ModelerAttributeEditor.m
...
(-displaygroupDidChangeSelection:): Activate self on selection change.
* DBModeler/MainModelEditor.m (-_activateSelection): Move method to
EOModeler.
(viewSelectedObject): Remove method.
(outlineViewSelectionDidChange:): Call -activateSelection.
* EOModeler/EOModelerEditor.m: Add activateSelection extension/method.
* EOModeler/EOModelerEditor.h: Ditto.
* EOModeler/EOModelerDocument.m (-addAttribute):
(-addRelationship): Add some Fixme's. Call -activateSelection on the
editor.
(-delete:): Revert the selection back to the viewed object, and
activate the new selection.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@28035 72102866-910b-0410-8b05-ffd578937521
2009-03-03 23:46:44 +00:00
Matt Rice
ad8dedbf6c
* EOAccess/EORelationship.m (-referencesProperty:): Check if property
...
is the relationships destination entity.
* EOModeler/EOModelerDocument (-delete:): Call referencesToProperty:
on all model objects.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@28011 72102866-910b-0410-8b05-ffd578937521
2009-03-01 10:08:12 +00:00
Matt Rice
df5e05ebad
* DBModeler/Resources/Menu-{Cocoa,GNUstep}.gsmarkup: Remove a TODO
...
for an old unused hack.
* EOModeler/EOModelerDocument.m: Add some comments about the new hack.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26518 72102866-910b-0410-8b05-ffd578937521
2008-05-13 07:15:20 +00:00
Matt Rice
c56229c608
Modeler/EOModelerDocument.m: Add return statements to suppress
...
warnings.
* EOModeler/EOMInspectorController.m: Use -removeFromSuperview instead
of -removeSubview.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26510 72102866-910b-0410-8b05-ffd578937521
2008-05-09 22:50:00 +00:00
Matt Rice
e25743246b
EOModeler/*.[h,m]: Fix includes for OS X.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26509 72102866-910b-0410-8b05-ffd578937521
2008-05-09 20:32:12 +00:00
David Ayers
9720ac993d
* COPYING.LIB: Update to LGPL 3.
...
* DB2Modeler/COPYING: Update to GPL 3.
* *.*: Update copyright notices.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@25326 72102866-910b-0410-8b05-ffd578937521
2007-07-12 06:39:22 +00:00
David Ayers
fb1d4774d5
* EOInterface/EODisplayGroup.m (-deleteObjectAtIndex:):
...
* EOModeler/EOModelerDocument.m (-adaptor, -saveToPath:):
Return with NS_VALUERETURN from within exception handling block.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@25123 72102866-910b-0410-8b05-ffd578937521
2007-05-05 10:34:42 +00:00
Matt Rice
92fcc10447
* Update Email address for Matt Rice.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@24318 72102866-910b-0410-8b05-ffd578937521
2007-01-05 16:17:04 +00:00
Matt Rice
821b403f4e
* EOModeler/EOModelerDocument.m (-saveToPath:): Handle saving with a
...
.eomodel extension.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@24245 72102866-910b-0410-8b05-ffd578937521
2006-12-26 13:49:50 +00:00
Matt Rice
c7840e1ec0
* EOModeler/EOModelerDocument.m (-windowWillClose:): If document
...
owns the current editor, reset the seletion path, and unset the
current editor.
* EOModeler/EOModelerInspectorController.m (-selectionChanged:):
handle an empty selection path.
* EOModeler/EOModelerApp.m: Remove usage of
EOModel -setCreatesMutableObjects:.
* EOModeler/EOModelerEditor.m
(EOModelerCompoundEditor -setSelectionPath:): Fix if statement which
always returned yes.
* DBModeler/MainModelEditor.m: Add more information to comment.
* EOModeler/EOModelerApp.h: Whitespace changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23868 72102866-910b-0410-8b05-ffd578937521
2006-10-14 00:51:32 +00:00
David Ayers
5109a54a70
* EOModeler/EOMInspector.h
...
* EOModeler/EOMInspector.m: Cleanups.
(selectedObjects): Reimplement.
(selectedObject): Return last viewed path if no selection was made.
* EOModeler/EOModelerDocument.m: Reimplement.
* EOModeler/EOMInspectorController.m (init): Ditto.
(-_selectionChanged:): Ditto.
(-_selectInspector:): Implement and renamed from selectInspector:.
* EOModeler/EOModelerEditor.h
* EOModeler/EOModelerEditor.m: Add documentation.
(-initWithDocument:): Initialize instance variable.
(-debugSelectionPath): Implement.
(-[EOModelerCompoundEditor initWithDocument:]): Remove
initializtation.
(-[EOModelerCompoundEditor selectionDidChange]): Implement.
(-[EOModelerCompoundEditor setSelectionPath:]): Call
selectionDidChange instead of sending notifcation directly.
(-[EOModelerCompoundEditor viewSelectedObject]): Implement.
(-[EOModelerEmbedibleEditor dealloc]): Implement.
(-[EOModelerEmbedibleEditor initWithParentEditor:]): Observe
EOMSelectionChangedNotification.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23396 72102866-910b-0410-8b05-ffd578937521
2006-09-05 21:38:09 +00:00
Matt Rice
b24ec5f814
* DBModeler/Modeler.m (_newDocumentWithModel:): Don't release the
...
model.
(-new:): Release the model here.
(-newFromDatabase:): Ditto, and add error handling.
(-open:): Ditto.
(-application:openFile:): New method.
* EOModeler/EOModelerDocument.m (-saveAs:): Add error handling, and
remove check for an existing name.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@21445 72102866-910b-0410-8b05-ffd578937521
2005-07-10 19:45:21 +00:00
Matt Rice
93221c9bc9
* EOModeler/EOMInspectorController.m (-init): Don't release the window
...
on close.
(_selectionChanged:): Fix view swapping. Set view as needing display.
* EOModeler/EOModelExtensions.m:
(+mutableAttributedStringWithBoldSubstitutionsWithFormat:): Implement.
* EOModeler/EOModelerApp.h: Add -removeDocument:, -documentAtPath:,
and -loadDocumentAtPath: methods.
* EOModeler/EOModelerApp.m (-init:): Add parentheses around
assignment.
(-allPasteboardTypes): Initial implementation.
(-removeDocument:): If removing the active document, set the active
document to nil.
(-documentWithPath:): Change array iterators to unsigned.
(-registerColumNames:forClass:provider:): Ditto.
(-modelContainingFetchSpecification:): Temporarily return nil.
(-nameForFetchSpecification:): Ditto.
* EOModeler/EOModelerDocument.h: Declare consistency check
notification constants. Add -adaptor, -appendConsistencyCheckErrorText:,
-appendConsistencyCheckSuccessText:, -addEntity:, -addRelationship,
-addAttribute and -delete.
* EOModeler/EOModelerDocument.m: Add consistency check notification
constants. Add private category interface.
(-firstSelectionOfClass:): Change array iterators to unsigned.
Remove debugging logs.
(-validateMenuItem:): Initial implementation.
(-initWithModel:): Add parentheses around assignment. Add the model
to the default model group.
(-dealloc, -delete:): Initial implementation.
(-isDirty, -prepareToSave,-checkCloseDocument): Return no temporarily
until implemented.
(-saveToPath:): Break long messages into separate lines.
(-addDefaultEditor:, -addEntity:, -addAttribute:): Ditto.
(-addRelationship:, ):
(-activate): Remove commented out code.
(-closeEditor:, -checkCloseEditor:): Add comments.
(-canFlattenSelectedAttribute): Add temporary return value.
(-windowWillClose:): Remove self from the open documents.
(-checkConsistency:): Implement.
(-appendConsistencyCheckErrorText:): Ditto.
(-appendConsistencyCheckSuccessText:): Ditto.
* EOModeler/EOModelerEditor.m (-initWithDocument:): Add parentheses
around assignment. Don't retain our document.
(-selectionPath:, -viewedObjectPath): Return nil.
(-[EOModelerCompoundEditor dealloc]): Implement.
(-[EOModelerCompoundEditor initWithParentObject:): Add parentheses
around assignment.
(-[EOModelerEmbedibleEditor pathViewPreferenceHint:): Return nil.
* EOModeler/GNUmakefile: Remove extra whitespace.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@21440 72102866-910b-0410-8b05-ffd578937521
2005-07-09 17:44:40 +00:00
Matt Rice
94ffb94a6c
* GNUmakefile: Compile EOInterface, EOModeler, DBModeler,
...
GDL2Palette if gui is installed.
* EOModeler/EOModelExtensions.h: Update copyright header.
* EOModeler/EOModelExtensions.m: Ditto.
* EOModeler/GNUmakefile: Make EOModeler a native-library,
add new files.
* EOModeler/Makefile.preamble: Change link flag to use
FND_LIBS.
* EOModeler/EODefines.h: New file, initial implementation.
* EOModeler/EOMInspector.h/m: Ditto.
* EOModeler/EOMInspectorController.h/m: Ditto.
* EOModeler/EOModelerApp.h/m: Ditto.
* EOModeler/EOModelerDocument.h/m: Ditto.
* EOModeler/EOModelerEditor.h/m: Ditto.
* DBModeler: New directory.
* DBModeler/COPYING: New file...
* DBModeler/AdaptorsPanel.h/m: New files.
* DBModeler/DefaultColumnProvider.h/m: Ditto.
* DBModeler/EOAdditions.h/m: Ditto.
* DBModeler/KVDataSource.h/m: Ditto.
* DBModeler/MainModelEdtior.h/m: Ditto.
* DBModeler/Modeler.m: Ditto.
* DBModeler/ModelerAttributeEditor.h/m: Ditto.
* DBModeler/ModelerTableEmbedibleEditor.h/m: Ditto.
* DBModeler/main.m: Ditto.
* DBModeler/GNUmakefile: Ditto.
* DBModeler/Resources: New directory.
* DBModeler/Resources/ModelDrag.tiff: New file.
* DBModeler/Resources/ClassProperty_On.tiff: Ditto.
* DBModeler/Resources/Key_On.tiff: Ditto.
* DBModeler/Inspectors: New directory.
* DBModeler/Inspectors/RelationshipInspector.h/m: New files.
* DBModeler/Inspectors/AttributeInspector.h/m: Ditto.
* DBModeler/Inspectors/RelationshipInspector.gorm: New gorm
directory.
* DBModeler/Inspectors/AttributeInspector.gorm: Ditto.
* GDL2Palette: New directory.
* GDL2Palette/GNUmakefile: New file.
* GDL2Palette/ConnectionInspector.h/m: Ditto.
* GDL2Palette/Foundation+Categories.h/m: Ditto.
* GDL2Palette/IB+Categories.m: Ditto.
* GDL2Palette/Palette.h/m: Ditto.
* GDL2Palette/ResourceManager.h/m: Ditto.
* GDL2Palette/GDL2ConnectionInspector.gorm: Ditto.
* GDL2Palette/GDL2Palette.tiff: Ditto
* GDL2Palette/palette.table
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@21223 72102866-910b-0410-8b05-ffd578937521
2005-05-13 00:00:56 +00:00