com.borland.primetime.ide
Class BrowserFile

java.lang.Object
  |
  +--com.borland.primetime.ide.BrowserFile

public class BrowserFile
extends java.lang.Object

Contains the Browser File actions that appear in the menu and tool bars.


Field Summary
static BrowserAction ACTION_CloseProjects
          Closes the selected Project(s), and saves it if it has been modified.
static BrowserAction ACTION_EditDefaultProjectProperties
          This Action displays the PropertyDialog to show/edit the settings for the default project.
static BrowserAction ACTION_EditProjectProperties
          This Action displays the PropertyDialog to show/edit the settings for the 'active' project.
static BrowserAction ACTION_FileOpen
          Action that displays a FileChooser dialog allowing the user to select a file to open.
static BrowserAction ACTION_NodeClose
          Action which calls the closeNode(...) method on this Browser passing the Node returned from the getActiveNode() method on this Browser.
static BrowserAction ACTION_NodeCloseAll
          Action which calls the closeNodes(...) method on this Browser passing the the Node array returned from the getNodes() method on this Browser.
static BrowserAction ACTION_NodeRename
          Action which renames the active node in the Browser.
static BrowserAction ACTION_NodeRevert
          Action which retrieves the 'active' Node using the getActiveNode() method on this Browser, checks if the Node has been modified and if it is an instanceof UrlNode.
static BrowserAction ACTION_NodeSave
          Action which saves the active Node if it has been modified.
static BrowserAction ACTION_NodeSaveAll
          Action which saves all modified buffers and projects.
static BrowserAction ACTION_NodeSaveAs
          Action which saves the active Node under a user selected name.
static BrowserAction ACTION_PageLayout
          Action which brings up the print Page Layout dialog.
static BrowserAction ACTION_ProjectFileOpen
          Action that uses a JFileChooser to select a project which will then be opened and made the 'active' project.
static BrowserAction ACTION_ProjectSave
          Action which saves the active Project if it has been modified.
static BrowserAction ACTION_ProjectSaveAs
          Action which saves the active Project under a new name.
static DelegateAction DELEGATE_Print
          Action which prints the active file.
static ActionGroup GROUP_Reopen
          Action group which provides the reopen history for both projects and files.
 
Constructor Summary
BrowserFile()
           
 
Method Summary
static void doPageLayout()
          Displays the Page Layout dialog
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACTION_FileOpen

public static BrowserAction ACTION_FileOpen
Action that displays a FileChooser dialog allowing the user to select a file to open. If a file is selected, it is first tested to see if it is a Project. If it is a Project, the setActiveProject(...) method is called on this Browser ProjectView. If the file is not a Project, a Node is created from the file using the 'active' Project, and the setActiveNode(...) method is called on this Browser.

ACTION_ProjectFileOpen

public static BrowserAction ACTION_ProjectFileOpen
Action that uses a JFileChooser to select a project which will then be opened and made the 'active' project.

ACTION_NodeSave

public static BrowserAction ACTION_NodeSave
Action which saves the active Node if it has been modified.

ACTION_NodeSaveAs

public static BrowserAction ACTION_NodeSaveAs
Action which saves the active Node under a user selected name.

ACTION_NodeRename

public static BrowserAction ACTION_NodeRename
Action which renames the active node in the Browser.

DELEGATE_Print

public static DelegateAction DELEGATE_Print
Action which prints the active file.

ACTION_PageLayout

public static BrowserAction ACTION_PageLayout
Action which brings up the print Page Layout dialog.

ACTION_NodeSaveAll

public static BrowserAction ACTION_NodeSaveAll
Action which saves all modified buffers and projects.

ACTION_ProjectSave

public static BrowserAction ACTION_ProjectSave
Action which saves the active Project if it has been modified.

ACTION_ProjectSaveAs

public static BrowserAction ACTION_ProjectSaveAs
Action which saves the active Project under a new name.

ACTION_NodeClose

public static BrowserAction ACTION_NodeClose
Action which calls the closeNode(...) method on this Browser passing the Node returned from the getActiveNode() method on this Browser.

ACTION_NodeCloseAll

public static BrowserAction ACTION_NodeCloseAll
Action which calls the closeNodes(...) method on this Browser passing the the Node array returned from the getNodes() method on this Browser.

ACTION_NodeRevert

public static BrowserAction ACTION_NodeRevert
Action which retrieves the 'active' Node using the getActiveNode() method on this Browser, checks if the Node has been modified and if it is an instanceof UrlNode. If conditions are true, the UrlNode.revert() method is called and the file is reloaded from disk.

GROUP_Reopen

public static final ActionGroup GROUP_Reopen
Action group which provides the reopen history for both projects and files. The selected project or file will be reopened.

ACTION_CloseProjects

public static BrowserAction ACTION_CloseProjects
Closes the selected Project(s), and saves it if it has been modified.

ACTION_EditProjectProperties

public static BrowserAction ACTION_EditProjectProperties
This Action displays the PropertyDialog to show/edit the settings for the 'active' project.

ACTION_EditDefaultProjectProperties

public static BrowserAction ACTION_EditDefaultProjectProperties
This Action displays the PropertyDialog to show/edit the settings for the default project.
Constructor Detail

BrowserFile

public BrowserFile()
Method Detail

doPageLayout

public static void doPageLayout()
Displays the Page Layout dialog