logo       

izpack-src/src/lib/com/izforge/izpack/util/os Shortcut.java,1.18,1.19: msg#00048

Subject: izpack-src/src/lib/com/izforge/izpack/util/os Shortcut.java,1.18,1.19
Update of /cvsroot/izpack/izpack-src/src/lib/com/izforge/izpack/util/os
In directory sheep:/tmp/cvs-serv15897/src/lib/com/izforge/izpack/util/os

Modified Files:
        Shortcut.java 
Log Message:
Added support for createForAll - flag

Index: Shortcut.java
===================================================================
RCS file: 
/cvsroot/izpack/izpack-src/src/lib/com/izforge/izpack/util/os/Shortcut.java,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- Shortcut.java       6 May 2005 20:09:12 -0000       1.18
+++ Shortcut.java       9 May 2005 14:17:57 -0000       1.19
@@ -68,6 +68,9 @@
     /** identifies the user type as valid for all users */
     public static final int ALL_USERS = 2;
 
+    /** indicates that this shortcut should be created for all users or only 
me **/
+    private Boolean createForAll;
+
     
/*--------------------------------------------------------------------------*/
     /**
      * This method initializes the object. It is used as a replacement for the 
contructor because of
@@ -454,6 +457,40 @@
     public void setURL(String string)
     {
     }
+
+    /** 
+     * Gets the Programs Folder for the given User.     
+     * This is where to create subfolders or to place or create shortcuts.   
+     *
+     * @param current_user one of current or all 
+     *
+     * @return The Foldername or null on unsupported platforms.
+     */
+    public String getProgramsFolder( int current_user )
+    {
+      return null;
+    }
+
+    /** 
+     * Sets the flag which indicates, that this should created for all. 
+     *
+     * @param aCreateForAll A Flag - Set to true, if to create for All.
+     */
+    public void setCreateForAll( Boolean aCreateForAll )
+    {
+      this.createForAll = new Boolean( aCreateForAll.booleanValue(  ) );
+    }
+
+    /** 
+     * Gets the create for All Flag
+     *
+     * @return Returns True if this should be for all.
+     */
+    public Boolean getCreateForAll(  )
+    {
+      return createForAll;
+    }
+    
 
 }
 /*---------------------------------------------------------------------------*/


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
web.pylons.gene...    hurd.l4/2002-10...    kernel.commits....    user-groups.lin...    yellowdog.gener...    java.drools.use...    security.openva...    package-managem...    linux.debian.us...    qnx.openqnx.dev...    genealogy.gramp...    file-systems.if...    voip.wengophone...    tex.context/200...    ietf.smime/2003...    audio.csound.de...    culture.region....    xfree86.devel/2...    mobile.kannel.u...    distributed.con...    education.engli...    org.user-groups...    bug-tracking.gn...    recreation.bicy...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe