public static WorkbenchContext GetContext (string id)
		{
			WorkbenchContext ctx = (WorkbenchContext) contexts [id];
			if (ctx == null) {
				ctx = new WorkbenchContext (id);
				contexts [id] = ctx;
			}
			return ctx;
		}
Exemplo n.º 2
0
        public static WorkbenchContext GetContext(string id)
        {
            WorkbenchContext ctx = (WorkbenchContext)contexts [id];

            if (ctx == null)
            {
                ctx           = new WorkbenchContext(id);
                contexts [id] = ctx;
            }
            return(ctx);
        }