public static WorkbenchContext GetContext (string id)
		{
			WorkbenchContext ctx = (WorkbenchContext) contexts [id];
			if (ctx == null) {
				ctx = new WorkbenchContext (id);
				contexts [id] = ctx;
			}
			return ctx;
		}
예제 #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);
        }