Examples of TerminologyImpl


Examples of de.FeatureModellingTool.DictEditor.TerminologyModel.TerminologyImpl

            System.out.println("TerminologyModel not found in the list.");
    }

    public void creatTerminology()
    {
        Terminology tempTermi = new TerminologyImpl(TermiGIDGenerator.getInstance().createTermiID());

        String message = " Please Enter New Terminology Name";
        container.setVisible(true);
        String name = JOptionPane.showInternalInputDialog(container, message);
        container.setVisible(false);

        if (name == null)
            return;
        else
        {
            tempTermi.setName(name);
        }

        curTermiModel.addTerminology(tempTermi);

        dictEditor.getTerminologyPane().getTree().addTerminologyNode(curTermiModel.getName(), tempTermi);
View Full Code Here

Examples of de.FeatureModellingTool.DictEditor.TerminologyModel.TerminologyImpl

        Iterator terminologyIterator = terminologyList.getChildren("terminology", tmd).iterator();

        // add every terminology into model
        while (terminologyIterator.hasNext())
        {
            Terminology terminology = new TerminologyImpl();
            Element terminologyElement = (Element) terminologyIterator.next();
            terminology.setID(terminologyElement.getAttributeValue("id"));
            terminology.setName(terminologyElement.getChild("name").getTextNormalize());
            terminology.setDescription(_decode(terminologyElement.getChild("description").getTextNormalize()));
            terminology.setSource(_decode(terminologyElement.getChild("source").getTextNormalize()));
            terminology.setSynonym(_decode(terminologyElement.getChild("synonym").getTextNormalize()));

            terminologyModel.addTerminology(terminology);
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.