use of org.talend.designer.hl7.ui.data.NameSpaceNode in project tdi-studio-se by Talend.
the class CreateHL7ElementAction method init.
public void init() {
HL7TreeNode node = (HL7TreeNode) this.getStructuredSelection().getFirstElement();
if (node == null) {
this.setEnabled(false);
return;
}
if (node instanceof Attribute) {
this.setEnabled(false);
return;
}
if (node instanceof NameSpaceNode) {
this.setEnabled(false);
return;
}
this.setEnabled(true);
}
Aggregations