Code example for Node

Methods: getNodeValue

0
		Node attributeNode = attributes.getNamedItem(attributeName);
		if (attributeNode == null) {
			return false; 
		} 
 
		if (beanValue != null && beanValue.equals(attributeNode.getNodeValue())) {
			if (beanNode instanceof IDOMElement) {
				selectedBean = (IDOMElement) beanNode;
			} 
		} 
		return true; 
	} 
 
	@Override 
	public void run() { 
		Shell shell = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell();
		if (shell != null && !shell.isDisposed()) {
			if (selectedBean != null && selectedFile != null) {
				BeanWizardDialog dialog = BeanWizardDialog.createModifyBeanWizardDialog(shell, selectedFile,
						selectedBean);
				dialog.create();