gov.nasa.pds.ltdt.gui
Class ProjectOpen

java.lang.Object
  extended by gov.nasa.pds.ltdt.gui.ProjectOpen

public class ProjectOpen
extends java.lang.Object

Open a project.

Author:
jwang

Constructor Summary
ProjectOpen()
           
 
Method Summary
static int open(java.util.Properties props, MainWindow window, java.lang.String project_name, boolean fromCommandline)
          Open a project.
static void populateKeywords(java.util.Properties props, MainWindow window, java.lang.String dictStr)
          Populate dictionary keyword map
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProjectOpen

public ProjectOpen()
Method Detail

open

public static int open(java.util.Properties props,
                       MainWindow window,
                       java.lang.String project_name,
                       boolean fromCommandline)
Open a project.

Parameters:
props - properties
window - main window
project_name - name of the project
fromCommandline - a flag indicating whether this is a commandline or menu triggered open dictionaries entered at command line will be attached to the dictionary list for a project.
Returns:
SUCCESS, PROJECTDIR_NOT_FOUND, FOUND_PROJECTDIR_NO_PROPERTY

populateKeywords

public static void populateKeywords(java.util.Properties props,
                                    MainWindow window,
                                    java.lang.String dictStr)
Populate dictionary keyword map

Parameters:
dictStr - The combined string of props.dictionaries and wdd names


Copyright © 2005-2008 NASA Jet Propulsion Laboratory, California Institute of Technology. All Rights Reserved.