Package org.apache.tools.ant.gui.acs

Examples of org.apache.tools.ant.gui.acs.ACSTargetElement


    /**
     * @param row and column in table
     * @return the requested object to be shown.
     */
    public Object getValueAt(int row, int col) {
        ACSTargetElement rowObj = (ACSTargetElement)_delegate.get(row);
        switch (col) {
            case 0: return rowObj.getName();
            case 1: return rowObj.getDescription();
            default: return "";
        }
    }
View Full Code Here


        ArrayList retVal = new ArrayList();
        int length = allNodes.getLength();
        for (int i = 0; i < length; i++) {
            DOMNode node = allNodes.item(i);
            if (node instanceof ACSTargetElement) {
                ACSTargetElement currentElement = ((ACSTargetElement)node);
                // ... leave out the current target TODO: avoid cyclic relations!
                if (!currentElement.getName().equals(aTarget.getName())) retVal.add(currentElement);
            }
        }
        return retVal;
    }
View Full Code Here

        /**
         * @param row and column in table
         * @return the requested object to be shown.
         */
        public Object getValueAt(int row, int col) {
            ACSTargetElement rowObj = getTarget(row);
            switch (col) {
                case 0: return new Boolean(_selected[row]);
                case 1: return rowObj.getName();
                case 2: return rowObj.getDescription();
                default: return "";
            }
        }
View Full Code Here

        int i= 0;
        while (i < all2ndLevelNodes.getLength()) {
           DOMNode node = all2ndLevelNodes.item(i);
           if (node instanceof ACSTargetElement) {
               ACSTargetElement newTarget = ((ACSTargetElement)node);
               DependentTargetPropertyEditor a = new DependentTargetPropertyEditor();
               c.add(a.getChild());
               a.setValue(newTarget);
           }
           i++;
View Full Code Here

TOP

Related Classes of org.apache.tools.ant.gui.acs.ACSTargetElement

Copyright © 2018 www.massapicom. 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.