public ConstructEditor createConstructEditor(String uri, Construct construct)
	{
		String className = config.getEditorClassName(uri);
		if(className == null) {
			return null;
		}

		Class editorClass;
		Constructor constructor;
		try {
			editorClass = Class.forName(className);
			constructor = editorClass.getDeclaredConstructor(Construct.class);
		} catch (ClassNotFoundException e) {
			return null;
		} catch (NoSuchMethodException e) {
			return null;
		} catch (SecurityException e) {
			return null;
		}
		
		
		try {
			return (ConstructEditor) constructor.newInstance(construct);
		} catch (InstantiationException e) { 
			e.printStackTrace();
			return null;
		} catch(IllegalAccessException e) { 
			e.printStackTrace();
			return null;
		} catch(IllegalArgumentException e) { 
			e.printStackTrace();
			return null;
		} catch(InvocationTargetException e) {
			e.printStackTrace();
			return null;
		}
	}