Commit Graph
30 Commits
Author SHA1 Message Date
Ivan Zlatev e15dd9b4fd 2009-09-10 Ivan N. Zlatev <[email protected]>
* DocumentDesigner.cs: Changing the ISelectionService at run time was a
	bad idea, so wrap it inside the extended UISelectionService instead.

svn path=/trunk/mcs/; revision=141679
2009-09-10 14:03:55 +00:00
Ivan Zlatev 041c3c5ee4 2009-09-10 Ivan N. Zlatev <[email protected]>
* DesignSurface.cs: Provide the default implementation of the
	ISelectionService in the DesignSurface service container.
	* DocumentDesigner.cs: If there is already a ISelectionService registered
	in the ServiceContainer but it's not an IUISelectionService (WinForms
	specific) then replace it with one.
	[Fixes bug #538037]

svn path=/trunk/mcs/; revision=141677
2009-09-10 13:35:22 +00:00
Ivan Zlatev 56a55f7302 2009-09-09 Ivan N. Zlatev <[email protected]>
* ParentControlDesigner.cs, ControlDesigner.cs, UISelectionService.cs,
	IUISelectionService.cs: Support IToolboxService control creation via
	point-(resize)-click.
	[Fixes part of bug #537604]

svn path=/trunk/mcs/; revision=141612
2009-09-09 14:35:50 +00:00
Ivan Zlatev 9bff8a5b68 2008-10-15 Ivan N. Zlatev <[email protected]>
* StringCollectionEditor.cs: Minor fixes.
	Patch by Andy Hume.

svn path=/trunk/mcs/; revision=115901
2008-10-15 17:48:16 +00:00
Ivan Zlatev 52a36effe0 2008-09-01 Ivan N. Zlatev <[email protected]>
* ParentControlDesigner.cs: Be nice with Components that are no
	Controls in CreateToolCore.

svn path=/trunk/mcs/; revision=112023
2008-09-01 13:31:27 +00:00
Ivan Zlatev 76c01db81b 2008-05-30 Ivan N. Zlatev <[email protected]>
* ControlBindingsConverter.cs: Fix 1.1 build.


svn path=/trunk/mcs/; revision=104567
2008-05-30 21:38:06 +00:00
Ivan Zlatev d50c3363d7 2008-05-30 Ivan N. Zlatev <[email protected]>
* ControlBindingsConverter.cs: Implementated just enough to avoid 
	the circular dependency in the MWF PropertyGrid.


svn path=/trunk/mcs/; revision=104566
2008-05-30 20:44:50 +00:00
Ivan Zlatev 9b699e9268 2008-05-12 Ivan N. Zlatev <[email protected]>
* StringCollectionEditor.cs: Handle String.Empty as a valid 
	edited value.
	[Fixes bug #389268]


svn path=/trunk/mcs/; revision=103007
2008-05-12 14:53:39 +00:00
Ivan Zlatev 119cd70eb2 2008-03-01 Ivan N. Zlatev <[email protected]>
* ControlDesigner.cs: Ignore the first WM_MOUSEMOVE after
	WM_MOUSEDOWN as it is sent just after it.
	* ParentControlDesigner.cs: Monitor Component Remove events
	and fire ComponentChanging/ed events for the Parent of the removed
	Control. Helps the UndoEngine to serialize parent changes.
	* ControlDesigner.cs: Set the Control.Text to be the component name.
	* FormDocumentDesigner.cs: Added.
	* PanelDesigner.cs: Added.
	* UISelectionService.cs: Set Parent through the TypeDescriptor, so
	that component change notifications get fired.
	* DefaultMenuCommands.cs: Implement Cut, Copy, Paste
	* DocumentDesigner: 
	 - Drop Form specific code.
	 - Add menu commands.


svn path=/trunk/mcs/; revision=97105
2008-03-01 23:19:43 +00:00
Ivan Zlatev 23227c0a0e 2008-02-29 Ivan N. Zlatev <[email protected]>
* StringCollectionEditor.cs: 
         - Split the lines not based on Environment.NewLine as this is 
         not what is used by MWF on Windows.
         - Ignore last empty line.
        [Fixes bug #365948]


svn path=/trunk/mcs/; revision=97014
2008-02-29 20:36:06 +00:00
Ivan Zlatev 5858f29d4d 2008-02-11 Ivan N. Zlatev <[email protected]>
* AnchorEditor.cs: More sensible default width.


svn path=/trunk/mcs/; revision=95446
2008-02-11 16:28:45 +00:00
Ivan Zlatev 9bf6254a49 2008-01-24 Ivan N. Zlatev <[email protected]>
* DockEditor.cs: ITypeDescriptorContext.Instance doesn't 
	 contain the current value. It could contain the owner.
	 Use the initial value parameter.


svn path=/trunk/mcs/; revision=93756
2008-01-24 01:16:04 +00:00
Ivan Zlatev c52643ff1d 2008-01-04 Ivan N. Zlatev <[email protected]>
* ParentControlDesigner.cs: Create a Transaction when adding a
        component.


svn path=/trunk/mcs/; revision=92216
2008-01-03 23:36:07 +00:00
Atsushi Eno a931c4111b 2007-10-09 Atsushi Enomoto <[email protected]>
* BorderSidesEditor.cs, DesignerOptions.cs,
	  ImageListCodeDomSerializer.cs, ImageListImageEditor.cs,
	  MaskDescriptor.cs, ShortcutKeysEditor.cs,
	  WindowsFormsDesignerOptionService.cs : new stubs.
	* AxImporter.cs, ComponentTray.cs, ControlDesigner.cs,
	  DocumentDesigner.cs, MenuCommands.cs, ParentControlDesigner.cs:
	  2.0 updates.

	* MenuCommandsTest.cs : new test.

	* System.Design.dll.sources : more .NET 2.0 types.
	* System.Design_test.dll.sources :
	  added Test/Sys.Win.Forms.Design/MenuCommandsTest.cs


svn path=/trunk/mcs/; revision=87187
2007-10-09 16:19:51 +00:00
Atsushi Eno b096b143a4 2007-10-02 Atsushi Enomoto <[email protected]>
* System.Design.dll.sources : more .NET 2.0 types.

	* CodeDomLocalizationProvider.cs, CodeDomLocalizationModel.cs :
	  new files.
	* CodeDomSerializerException.cs, CodeDomSerializerBase.cs,
	  TypeCodeDomSerializer.cs : cosmetic 2.0 API fixes.

	* Adorner.cs, Behavior.cs, BehaviorDragDropEventArgs.cs,
	  BehaviorDragDropEventHandler.cs, BehaviorService.cs,
	  BehaviorServiceAdornerCollection.cs,
	  BehaviorServiceAdornerCollectionEnumerator.cs,
	  ComponentGlyph.cs, ControlBodyGlyph.cs, Glyph.cs,
	  GlyphCollection.cs, GlyphSelectionType.cs, SnapLine.cs,
	  SnapLinePriority.cs, SnapLineType.cs : new files.

	* ControlDesigner.cs : added BehaviorService.


svn path=/trunk/mcs/; revision=86741
2007-10-02 12:42:35 +00:00
Ivan Zlatev 0191892957 2007-09-15 Ivan N. Zlatev <[email protected]>
* ParentControlDesigner.cs: Binary compatibility fixes.
        * SplitContainerDesigner.cs: Binary compatibility fixes.
        * DocumentDesigner.cs: Binary compatibility fixes.
        * ControlDataObject.cs: Binary compatibility fixes.
        * ControlDesigner.cs: Binary compatibility fixes.
        * CodeDomSerializerBase.cs: Binary compatibility fixes.
        * CodeDomSerializer.cs: Binary compatibility fixes.
        * DesignSurface.cs: Binary compatibility fixes.
        * ComponentDesigner.cs: Binary compatibility fixes.
        * EventBindingService.cs: Binary compatibility fixes.
        * DesignSurfaceCollection.cs: Binary compatibility fixes.


svn path=/trunk/mcs/; revision=85848
2007-09-14 20:57:47 +00:00
Ivan Zlatev 03db1d8407 2007-08-29 Ivan N. Zlatev <[email protected]>
* ParentControlDesigner.cs: implemented.
	* IUISelectionService.cs: implemented.
	* WndProcRouter.cs: implemented.
	* SelectionFrame.cs: implemented.
	* ControlDesigner.cs: implemented.
	* ControlDataObject.cs: implemented.
	* ComponentTray.cs: implemented.
	* ScrollableControlDesigner.cs: implemented.
	* UISelectionService.cs: implemented.
	* SplitContainerDesigner.cs: implemented.
	* IMessageReceiver.cs: implemented.
	* Native.cs: implemented.
	* DocumentDesigner.cs: implemented.
	* DefaultSerializationProviderAttribute.cs: implemented.
	* ComponentSerializationService.cs: implemented.
	* MemberRelationship.cs: implemented.
        * SerializationStore.cs: implemented.
	* DesignSurfaceManager.cs: implemented.
	* DesignerEventService.cs: implemented.
	* ComponentDesigner.cs: implemented.
	* ActiveDesignSurfaceChangedEventHandler.cs: implemented.
	* LoadedEventHandler.cs: implemented.
	* DesignSurfaceCollection.cs: implemented.
	* DesignerHost.cs: implemented.
	* ExtenderService.cs: implemented.
	* DesignModeSite.cs: implemented.
	* SelectionService.cs: implemented.
	* DesignSurfaceServiceContainer.cs: implemented.
	* DesignerActionListCollection.cs: implemented.
	* ActiveDesignSurfaceChangedEventArgs.cs: implemented.
	* LoadedEventArgs.cs: implemented.
	* TypeDescriptorFilterService.cs: implemented.
	* ReferenceService.cs: implemented.
	* DesignSurface.cs: implemented.
	* DesignSurfaceEventHandler.cs: implemented.
	* DesignModeNestedContainer.cs: implemented.
	* EventBindingService.cs: implemented.
	* DesignSurfaceEventArgs.cs: implemented.
	* DesignerOptionService.cs: implemented.
	* ITreeDesigner.cs: implemented.
	* CodeDomComponentSerializationService.cs: implemented.
	* CollectionCodeDomSerializer.cs: implemented.
	* CodeDomDesignerLoader.cs: implemented.
	* CodeDomSerializationProvider.cs: implemented.
	* ComponentCodeDomSerializer.cs: implemented.
	* RootContext.cs: implemented.
	* BasicDesignerLoader.cs: implemented.
	* DesignerSerializationManager.cs: implemented.
	* EnumCodeDomSerializer.cs: implemented.
	* SerializeAbsoluteContext.cs: implemented.
	* MemberCodeDomSerializer.cs: implemented.
	* PrimitiveCodeDomSerializer.cs: implemented.
	* CodeDomSerializerBase.cs: implemented.
	* CodeDomSerializer.cs: implemented.
	* ExpressionContext.cs: implemented.
	* EventCodeDomSerializer.cs: implemented.
	* TypeCodeDomSerializer.cs: implemented.
	* ObjectStatementCollection.cs: implemented.
	* RootCodeDomSerializer.cs: implemented.
	* PropertyCodeDomSerializer.cs: implemented.
	* StatementContext.cs: implemented.


svn path=/trunk/mcs/; revision=85023
2007-08-29 19:19:04 +00:00
Ivan Zlatev e26fa19a21 2007-08-27 Ivan N. Zlatev <[email protected]>
* DataMemberFieldEditor.cs: stubbed.
        * DataMemberListEditor.cs: stubbed.
        * FormatStringEditor.cs: stubbed.
        * StringCollectionEditor.cs: implemented.
        * StringArrayEditor.cs: implemented.
        * TabPageCollectionEditor.cs: implemented.
        * ListControlStringCollectionEditor.cs: implemented.


svn path=/trunk/mcs/; revision=84940
2007-08-28 11:12:52 +00:00
Ivan Zlatev 481a80ea54 2007-08-15 Ivan N. Zlatev <[email protected]>
* ImageIndexEditor.cs: empty class to prevent propertygrid crash.


svn path=/trunk/mcs/; revision=84142
2007-08-15 10:49:27 +00:00
Raja R Harinath b0cbcf5f67 * ControlDesigner.cs: Merge with Miguel's version.
svn path=/trunk/mcs/; revision=70152
2006-12-28 05:22:48 +00:00
Chris Toshok ce3848edb2 In .:
* System.Design.dll.sources: add DataSourceConverter.cs and
	DataMemberFieldConverter.
In System.Windows.Forms.Design:
	* DataMemberFieldConverter.cs: another empty stub class.


svn path=/trunk/mcs/; revision=69760
2006-12-19 17:28:39 +00:00
Chris Toshok 44bd013a08 In .:
2006-12-19  Chris Toshok  <[email protected]>

	* System.Design.dll.sources: add DataSourceConverter.cs

In System.Windows.Forms.Design:
2006-12-19  Chris Toshok  <[email protected]>

	* DataSourceConverter.cs: new empty stub class to keep
	ControlInspector from crashing.


svn path=/trunk/mcs/; revision=69759
2006-12-19 17:25:03 +00:00
Chris Toshok e89362a405 In .:
2006-12-06  Chris Toshok  <[email protected]>

	* System.Design.dll.sources: add
	System.Windows.Forms.Design/ImageCollectionEditor.cs

In System.Windows.Forms.Design:
2006-12-06  Chris Toshok  <[email protected]>

	* ImageCollectionEditor.cs: new file, stubbed just to get it so we
	can make an ImageList the selected object in a propertygrid.


svn path=/trunk/mcs/; revision=69128
2006-12-06 18:36:53 +00:00
Jonathan Chambers 7100af6b65 2005-06-29 Jonathan Chambers <[email protected]>
* ControlBindingsConverter.cs: Fix namespace 

svn path=/trunk/mcs/; revision=60085
2006-04-29 20:59:03 +00:00
Peter Dennis Bartok c12bb37038 2006-04-28 Peter Dennis Bartok <[email protected]>
* System.Design.dll.sources: Added ControlBindingsConverter.cs
	* ControlBindingsConverter.cs: Added 


svn path=/trunk/mcs/; revision=60073
2006-04-29 02:30:23 +00:00
Miguel de Icaza 435fa53890 2006-04-25 Miguel de Icaza <[email protected]>
* AnchorEditor.cs: Implement the anchor editor.   

	Two thoughts: I love the "Walkthrough" to implement UI editors
	from the documentation.

	And Visual Studio 2005 was really nice to use to write this code.


svn path=/trunk/mcs/; revision=59903
2006-04-26 01:22:47 +00:00
Jonathan Chambers 1c0096730f Use context information passed to editor.
svn path=/trunk/mcs/; revision=46341
2005-06-22 03:27:32 +00:00
Jonathan Chambers 95181da702 Implemented DockEditor class
svn path=/trunk/mcs/; revision=46186
2005-06-18 13:15:18 +00:00
Gert Driesen efa16e80cc * ComponentEditorForm.cs: CRLF to LF
* ControlDesigner.cs: API signature fix
* DocumentDesigner.cs: API signature fixes, CRLF to LF

svn path=/trunk/mcs/; revision=29309
2004-06-11 10:28:40 +00:00
Gert Driesen bc9d9fc161 * ChangeLog: added, and move entries from changelog in System.Design here
* AxParameterData.cs: stubbed
* AxWrapperGen.cs: stubbed
* DockEditor.cs: stubbed
* EventHandlerService.cs: stubbed

svn path=/trunk/mcs/; revision=29306
2004-06-11 10:06:15 +00:00