Changeset 3936


Ignore:
Timestamp:
Nov 2, 2010, 11:20:06 AM (13 years ago)
Author:
Gregory Vincic
Message:

Refs #698. Removed unused methods directoryOptions and selectDirectory.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/client/servlet/src/org/proteios/gui/form/FormFactory.java

    r3935 r3936  
    19571957    }
    19581958   
    1959     @SuppressWarnings("unused")
    1960     private Select<VInteger> selectDirectory(Directory dir)
    1961     {
    1962         Select<VInteger> select = new Select<VInteger>(VDIRID);
    1963         select.setLabel("Directory");
    1964         DbControl dc = dir.getDbControl();
    1965         if (dc != null && dc.isConnected())
    1966         {
    1967             directoryOptions(select, dir, 0);
    1968         }
    1969         return select;
    1970     }
    1971    
    1972     private void directoryOptions(Select<VInteger> s, Directory parent,
    1973     int indent)
    1974     {
    1975         Option o = new Option(parent.getId(), parent.getName());
    1976         o.setIndent(indent);
    1977         s.addOption(o);
    1978         for (Directory child : parent.getSubDirectories().list(
    1979         parent.getDbControl()))
    1980         {
    1981             directoryOptions(s, child, indent + 1);
    1982         }
    1983     }
    19841959   
    19851960    /**
Note: See TracChangeset for help on using the changeset viewer.