[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnetlib/System/ComponentModel/Design Designer
From: |
Gopal.V <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnetlib/System/ComponentModel/Design DesignerTransaction.cs,NONE,1.1 IDesignerHost.cs,NONE,1.1 IServiceContainer.cs,NONE,1.1 Makefile,NONE,1.1 ServiceCreatorCallback.cs,NONE,1.1 |
Date: |
Thu, 26 Dec 2002 05:40:39 -0500 |
Update of /cvsroot/dotgnu-pnet/pnetlib/System/ComponentModel/Design
In directory subversions:/tmp/cvs-serv13832/System/ComponentModel/Design
Added Files:
DesignerTransaction.cs IDesignerHost.cs IServiceContainer.cs
Makefile ServiceCreatorCallback.cs
Log Message:
Stubs for System.ComponentModel.Design namespace and support code
--- NEW FILE ---
/*
* DesignerTransaction.cs - Implementation of
*
"System.ComponentModel.Design.DesignerTransaction"
*
* Copyright (C) 2002 Southern Storm Software, Pty Ltd.
* Copyright (C) 2002 Free Software Foundation,Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
using System;
namespace System.ComponentModel.Design
{
#if !ECMA_COMPAT
public abstract class DesignerTransaction: IDisposable
{
[TODO]
public void DesignerTransaction()
{
throw new NotImplementedException(".ctor");
}
[TODO]
public void DesignerTransaction(System.String description)
{
throw new NotImplementedException(".ctor");
}
public abstract void Dispose();
void IDisposable.Dispose()
{
this.Dispose();
}
public bool Canceled
{
get
{
throw new NotImplementedException("Canceled");
}
}
public bool Committed
{
get
{
throw new NotImplementedException("Committed");
}
}
public String Description
{
get
{
throw new
NotImplementedException("Description");
}
}
}
#endif
}//namespace
--- NEW FILE ---
/*
* IDesignerHost.cs - Implementation of
*
"System.ComponentModel.Design.IDesignerHost"
*
* Copyright (C) 2002 Southern Storm Software, Pty Ltd.
* Copyright (C) 2002 Free Software Foundation,Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
using System;
namespace System.ComponentModel.Design
{
#if !ECMA_COMPAT
public interface IDesignerHost: IServiceProvider, IServiceContainer
{
void Activate();
IComponent CreateComponent(Type componentClass);
IComponent CreateComponent(Type componentClass, String name);
DesignerTransaction CreateTransaction();
DesignerTransaction CreateTransaction(String description);
IDesigner GetDesigner(IComponent component);
Type GetType(String typeName);
IContainer Container { get; }
bool InTransaction { get; }
bool Loading { get; }
IComponent RootComponent { get; }
String RootComponentClassName { get; }
String TransactionDescription { get; }
}
#endif
}//namespace
--- NEW FILE ---
/*
* IServiceContainer.cs - Implementation of
*
"System.ComponentModel.Design.IServiceContainer"
*
* Copyright (C) 2002 Southern Storm Software, Pty Ltd.
* Copyright (C) 2002 Free Software Foundation,Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
using System;
namespace System.ComponentModel.Design
{
#if !ECMA_COMPAT
public abstract interface IServiceContainer: IServiceProvider
{
void AddService(Type serviceType,Object serviceInstance);
void AddService(Type serviceType, ServiceCreatorCallback
callback);
void AddService(Type serviceType, Object serviceInstance, bool
promote);
void AddService(Type serviceType, ServiceCreatorCallback
callback,
bool promote);
void RemoveService(Type serviceType);
void RemoveService(Type serviceType, bool promote);
}
#endif
}//namespace
--- NEW FILE ---
all:
(cd ..;make)
--- NEW FILE ---
/*
* ServiceCreatorCallback.cs - Implementation of
*
"System.ComponentModel.Design.ServiceCreatorCallback"
*
* Copyright (C) 2002 Southern Storm Software, Pty Ltd.
* Copyright (C) 2002 Free Software Foundation,Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
using System;
namespace System.ComponentModel.Design
{
#if !ECMA_COMPAT
public delegate Object ServiceCreatorCallback (IServiceContainer
container,
Type serviceType);
#endif
}//namespace
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib/System/ComponentModel/Design DesignerTransaction.cs,NONE,1.1 IDesignerHost.cs,NONE,1.1 IServiceContainer.cs,NONE,1.1 Makefile,NONE,1.1 ServiceCreatorCallback.cs,NONE,1.1,
Gopal.V <address@hidden> <=