@Override
	public void deleteElement(Element element){
		if(element instanceof Block){
			//check element is directive or block type
			for(int i=0;i<myBlocks.size();i++){
				if(myBlocks.get(i) == element){
					myBlocks.remove(i);
				}
			}
		}else{
			for(int i=0;i<myDirectives.size();i++){
				if(myDirectives.get(i) == element){
					myDirectives.remove(i);
				}
			}
		}

		for(int i=0;i<myElements.size();i++){
			if(myElements.get(i) == element){
				myElements.remove(i);
			}
		}
		// set blockValue
//		SetBlockText(retBlock.toString());
	}