org.ceryle.ui
Class ProjectView

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by javax.swing.JComponent
              extended by javax.swing.JPanel
                  extended by org.ceryle.ui.View
                      extended by org.ceryle.ui.ProjectView
All Implemented Interfaces:
FocusListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, EditView

public class ProjectView
extends View
implements EditView, FocusListener

A class that extends DocumentView to encapsulate a project.

As with DocumentView, this is meant to be embedded in a ViewFrame.

Since:
JDK1.3
Version:
$Id: ProjectView.java,v 3.30 2007-06-20 01:28:19 altheim Exp $
Author:
Murray Altheim
See Also:
Serialized Form

Nested Class Summary
 class ProjectView.ProjectGraphView
          Extends GraphView by using a different toolbar.
 
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
 
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
 
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
 
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy
 
Field Summary
protected  DocumentView m_docview
          The DocumentView used.
protected  GraphView m_graphview
          The GraphView used.
protected  URL m_protoURL
          The URL of the prototype project document.
static String PROPERTY_projSplitLoc
          Ceryle property determining the location of the project split pane.
static int SEQ_X
          Enumerated value for sequence(int) for left-to-right (horizontal) sequencing.
static int SEQ_Y
          Enumerated value for sequence(int) for top-to-bottom (vertical) sequencing.
protected  Topic topic_proj
          The project Topic instance.
 
Fields inherited from class org.ceryle.ui.View
DOCUMENT, GRAPH, isClosing, m_desktop, m_verbose, mh, NOTE, pm, PROJECT, srvs, vf, vmgr
 
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
ProjectView(ViewFrame viewframe)
          Constructor with a reference to its wrapper ViewFrame (not used with a tabbed pane model).
ProjectView(ViewFrame viewframe, DocumentView docview)
          Constructor with a reference to its wrapper ViewFrame (not used with a tabbed pane model) and a DocumentView to embed.
ProjectView(ViewFrame viewframe, GraphView graphview)
          Constructor with a reference to its wrapper ViewFrame (not used with a tabbed pane model) and a GraphView to embed.
ProjectView(ViewFrame viewframe, GraphView graphview, DocumentView docview)
          Constructor with a reference to its wrapper ViewFrame (not used with a tabbed pane model) and optional GraphView and DocumentView to embed.
 
Method Summary
 boolean addDocument()
          Add the currently selected location bar value as an occurrence to the currently-selected component(s).
 boolean addDocument(Locator loc)
          Add the Locator as an occurrence to the currently-selected component(s).
 void addToolExtras(JToolBar tb)
          If in developer mode, add some experimental buttons to the right end of the toolbar.
 boolean closeProject(boolean forced)
          Closes the current project, first checking to be sure that the content is not modified.
 void closing()
          This method should be called before closing the ProjectView to allow safe closing of any dirty content, removing listeners, etc.
 void compose()
          Compose a document based on the existing node sequence.
 void editCopy()
          Copy.
 void editCut()
          Cut.
 void editPaste()
          Paste.
 void editRedo()
          Redo.
 void editSelectAll()
          Select All.
 void editUndo()
          Undo.
 boolean fileClose(boolean forced)
          Closes the current graph.
 boolean fileImport(Object source)
          If the DocumentView has the focus, imports the provided file of an understood notation into the current DocumentView.
 boolean fileNew()
          Creates a new, empty Document.
 boolean fileOpen(File file)
          Passes the message off to fileImport(Object).
 boolean fileSave()
          Passes this message as fileSave(null) to the currently focused DocumentView or GraphView.
 boolean fileSave(File file)
          Passes this message off to fileSave(File) with the current setting of m_systemId for this ProjectView, which may have been set by a previous open or import file.
 void find()
          Find.
 void findNext()
          Find Next.
 void focusGained(FocusEvent e)
          Focus gained event, an implementation artifact for the FocusListener API.
 void focusLost(FocusEvent e)
          Focus lost event, an implementation artifact for the FocusListener API.
 boolean focusOnGraph()
          Indicates that the graph area has focus.
 DocumentView getDocumentView()
          Returns the internal DocumentView.
 EditorPanel getEditor()
          Returns the EditorPanel of the DocumentView.
 GraphView getGraphView()
          Returns the internal GraphView.
 String getProjectTitle()
          Returns the title of the project, null if not set.
 ProjectToolBar getProjectToolBar()
          Returns the Project ToolBar.
 TopicMap getProjectTopicMap()
          Returns the Topic Map used by this project, null if unavailable.
 URL getPrototypeURL()
          Sets and returns the URL for the project prototype, null if unavailable.
 String getSelectedResource()
          Returns the URI (as a String) of the selected resource, within the context of the focused View type, null if unavailable or inappropriate.
 String getSystemId()
          Returns the systemId of this ProjectView.
 JToolBar getToolBar()
          Returns the Project ToolBar as a JToolBar.
 boolean isDirty()
          Returns an indication of true if either the current document or graph has been edited.
 boolean isSplitMode()
          Returns true if using the split mode, false if tabs.
 boolean newComponent(boolean useLocation)
          Create a new component node for the current document.
 boolean newProject()
          Opens a new project prototype.
 void openProject(TypedInputSource source)
          Opens an existing project source, or if null, based upon a user query for the source systemId.
 void packView()
          Suggests to the DocumentView that it resize any internal components appropriate to its current size.
 void queryProjectTitle(String projtitle)
          Queries the user for the title of the project, setting it in the project's TopicMap.
protected  void readProjectMetadata()
          Restores some of the project metadata from the TopicMap stored in the TMLayoutPanel.
 void refresh()
          Refreshes the display upon activating this ProjectView, updating both DocumentView and GraphView panels as necessary.
 boolean removeDocument()
          Remove the occurrences from the currently selected component.
 void removeSequence()
          Removes any sequence associations in the current graph.
 void reorientView()
          Toggle the orientation of the views between horizontal and vertical.
 void replace()
          Replace.
 void requestFocus()
          Requests the current focus be set to the editor area.
 void saveAsProject()
          Saves the current project to a new systemId.
 void saveProject()
          Saves the current project to the current project's systemId.
protected  void saveProperties()
          Store any properties of the current ProjectView.
 void scrollToLine(int line)
          Scroll To Line.
 boolean selectionHasOccurrence()
          Returns true if the currently-selected TNode has an Occurrence whose Locator matches the Locator bar URL.
 void sequence(int direction)
          Sequence the selected components with direction based on value of direction.
 void setFocus(int view)
          Requests the current focus be set to either the Document (View.DOCUMENT) or Graph (View.GRAPH) area.
 void setProjectTitle(String title)
          Set the title of the project toolbar's "Title" field to the String title.
 void setProjectToolsVisible(boolean visible)
          Set Project Tool Visibility.
 void setSplitMode(boolean useSplit)
          Sets the display to either use a split pane or a tabbed pane.
 void setToolsVisible(boolean visible)
          Set Tool Visibility.
 void swapView()
          Swap position of the document and graph views in split mode.
 void update()
          Updates the display.
 void viewDocuments()
          Open the occurrences for the currently selected graph node.
protected  void writeProjectMetadata(String projectTitle)
          Write the title, created or modified date metadata of the current project to the project instance Topic.
 
Methods inherited from class org.ceryle.ui.View
deactivate, fileSaveAs, getDesktop, getTitle, getType, getTypeName, getViewFrame, getViewManager, hasDatabase, hasEditing, hasGraph, isDocumentOrNoteView, isDocumentView, isGraphView, isNoteView, isProjectView, setSystemId, setTitle, setTitle, setViewFrame
 
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PROPERTY_projSplitLoc

public static final String PROPERTY_projSplitLoc
Ceryle property determining the location of the project split pane.

See Also:
Constant Field Values

SEQ_X

public static final int SEQ_X
Enumerated value for sequence(int) for left-to-right (horizontal) sequencing.

See Also:
Constant Field Values

SEQ_Y

public static final int SEQ_Y
Enumerated value for sequence(int) for top-to-bottom (vertical) sequencing.

See Also:
Constant Field Values

topic_proj

protected Topic topic_proj
The project Topic instance.


m_graphview

protected final GraphView m_graphview
The GraphView used.


m_docview

protected final DocumentView m_docview
The DocumentView used.


m_protoURL

protected URL m_protoURL
The URL of the prototype project document.

Constructor Detail

ProjectView

public ProjectView(ViewFrame viewframe)
Constructor with a reference to its wrapper ViewFrame (not used with a tabbed pane model).

Parameters:
viewframe - the parent ViewFrame container

ProjectView

public ProjectView(ViewFrame viewframe,
                   GraphView graphview)
Constructor with a reference to its wrapper ViewFrame (not used with a tabbed pane model) and a GraphView to embed.

Parameters:
viewframe - the parent ViewFrame container
graphview - the GraphView to embed within the new ProjectView

ProjectView

public ProjectView(ViewFrame viewframe,
                   DocumentView docview)
Constructor with a reference to its wrapper ViewFrame (not used with a tabbed pane model) and a DocumentView to embed.

Parameters:
viewframe - the parent ViewFrame container
docview - the DocumentView to embed within the new ProjectView

ProjectView

public ProjectView(ViewFrame viewframe,
                   GraphView graphview,
                   DocumentView docview)
Constructor with a reference to its wrapper ViewFrame (not used with a tabbed pane model) and optional GraphView and DocumentView to embed. If these are null they will be created. Either View should be removed from their parent ViewFrame before being passed here.

Parameters:
viewframe - the parent ViewFrame container
Method Detail

addToolExtras

public void addToolExtras(JToolBar tb)
If in developer mode, add some experimental buttons to the right end of the toolbar.


isSplitMode

public boolean isSplitMode()
Returns true if using the split mode, false if tabs.


setSplitMode

public void setSplitMode(boolean useSplit)
Sets the display to either use a split pane or a tabbed pane.


swapView

public void swapView()
Swap position of the document and graph views in split mode.


reorientView

public void reorientView()
Toggle the orientation of the views between horizontal and vertical.


saveProperties

protected void saveProperties()
Store any properties of the current ProjectView.


getGraphView

public GraphView getGraphView()
Returns the internal GraphView.


getDocumentView

public DocumentView getDocumentView()
Returns the internal DocumentView.


getEditor

public EditorPanel getEditor()
Returns the EditorPanel of the DocumentView.

Specified by:
getEditor in interface EditView

getSelectedResource

public String getSelectedResource()
Returns the URI (as a String) of the selected resource, within the context of the focused View type, null if unavailable or inappropriate.

Specified by:
getSelectedResource in class View
See Also:
View

focusGained

public void focusGained(FocusEvent e)
Focus gained event, an implementation artifact for the FocusListener API.

Specified by:
focusGained in interface FocusListener

focusLost

public void focusLost(FocusEvent e)
Focus lost event, an implementation artifact for the FocusListener API.

Specified by:
focusLost in interface FocusListener

update

public void update()
Updates the display.


packView

public void packView()
Suggests to the DocumentView that it resize any internal components appropriate to its current size.

Specified by:
packView in class View

focusOnGraph

public boolean focusOnGraph()
Indicates that the graph area has focus. If this returns false, it's assumed that the DocumentView area has focus.


setFocus

public void setFocus(int view)
Requests the current focus be set to either the Document (View.DOCUMENT) or Graph (View.GRAPH) area.


requestFocus

public void requestFocus()
Requests the current focus be set to the editor area. Used only when the ProjectView uses a split pane.

Specified by:
requestFocus in class View

refresh

public void refresh()
Refreshes the display upon activating this ProjectView, updating both DocumentView and GraphView panels as necessary.

Specified by:
refresh in class View

getToolBar

public JToolBar getToolBar()
Returns the Project ToolBar as a JToolBar. This is almost an API method.


getProjectToolBar

public ProjectToolBar getProjectToolBar()
Returns the Project ToolBar. Returns the same object as the more generic getToolBar().


getSystemId

public String getSystemId()
Returns the systemId of this ProjectView. This is generally the systemId of the GraphView, but the DocumentView and superclass View are tried if this turns up null.

Overrides:
getSystemId in class View

getPrototypeURL

public URL getPrototypeURL()
Sets and returns the URL for the project prototype, null if unavailable.


getProjectTopicMap

public TopicMap getProjectTopicMap()
Returns the Topic Map used by this project, null if unavailable.


newProject

public boolean newProject()
Opens a new project prototype.

The systemId of its source is read from the properties file as the property http://purl.org/ceryle/prop/#projectPrototype.

Returns:
true if a new project was opened.

openProject

public void openProject(TypedInputSource source)
Opens an existing project source, or if null, based upon a user query for the source systemId.


saveProject

public void saveProject()
Saves the current project to the current project's systemId. (could be to db?)


saveAsProject

public void saveAsProject()
Saves the current project to a new systemId. (could be to db?)


closeProject

public boolean closeProject(boolean forced)
Closes the current project, first checking to be sure that the content is not modified. If the boolean forced is true, provides only a "yes" or "no" option for the save dialog if the existing content is dirty, "cancel" as well if false. Because a ProjectView can open normal graph documents, which aren't considered as projects, this closes them (if unmodified) without ceremony.

Returns:
true if closed

newComponent

public boolean newComponent(boolean useLocation)
Create a new component node for the current document. If the boolean useLocation is true, this will create a component node based on the current URI/document. If either the location bar value is null or useLocation is false, we start from scratch, querying on a title.

Parameters:
useLocation - determines whether to use current document or not
Returns:
true if either a document node was created, or the document was classified under an existing node.

addDocument

public boolean addDocument()
Add the currently selected location bar value as an occurrence to the currently-selected component(s). This actually does not discriminate Components, and will add to any Topic/TNode.

Returns:
true if addition occurs

addDocument

public boolean addDocument(Locator loc)
Add the Locator as an occurrence to the currently-selected component(s). This actually does not discriminate Components, and will add to any TNode/Topic.

Returns:
true if addition occurs

viewDocuments

public void viewDocuments()
Open the occurrences for the currently selected graph node.


removeDocument

public boolean removeDocument()
Remove the occurrences from the currently selected component.

Returns:
true if removal is successful

selectionHasOccurrence

public boolean selectionHasOccurrence()
Returns true if the currently-selected TNode has an Occurrence whose Locator matches the Locator bar URL. Returns false under all other circumstances (e.g., no selected node, wrong node type, etc.).


removeSequence

public void removeSequence()
Removes any sequence associations in the current graph.


sequence

public void sequence(int direction)
Sequence the selected components with direction based on value of direction. A values of SEQ_X sequences from left to right, SEQ_Y from top to bottom. If two or more nodes share the same horizontal position (when sequencing horizontally) or vertical position (when sequencing vertically), the choice as to order between them is arbitrary.


compose

public void compose()
Compose a document based on the existing node sequence.


setProjectTitle

public void setProjectTitle(String title)
Set the title of the project toolbar's "Title" field to the String title. (To write the title to the project's TopicMap, use writeProjectMetadata(String).)


queryProjectTitle

public void queryProjectTitle(String projtitle)
Queries the user for the title of the project, setting it in the project's TopicMap.


getProjectTitle

public String getProjectTitle()
Returns the title of the project, null if not set.


readProjectMetadata

protected void readProjectMetadata()
Restores some of the project metadata from the TopicMap stored in the TMLayoutPanel. This method should be called just after importing. Currently, this only restores the project title (in addition to whatever the GraphView is already doing).


writeProjectMetadata

protected void writeProjectMetadata(String projectTitle)
Write the title, created or modified date metadata of the current project to the project instance Topic. If the parameter projectTitle is provided, it will overwrite any existing value.


fileNew

public boolean fileNew()
Creates a new, empty Document.

If the graph has the focus, this is a new graph document.

Specified by:
fileNew in class View
Returns:
true if able to close any existing content and establish a new document

fileOpen

public boolean fileOpen(File file)
Passes the message off to fileImport(Object).

Specified by:
fileOpen in class View
Returns:
true if opened

fileImport

public boolean fileImport(Object source)
If the DocumentView has the focus, imports the provided file of an understood notation into the current DocumentView.

If the GraphView has the focus, this opens it as a graph document.

Specified by:
fileImport in class View
Returns:
true if opened

fileSave

public boolean fileSave()
Passes this message as fileSave(null) to the currently focused DocumentView or GraphView.

NOTE: This saves only the focused view!

Overrides:
fileSave in class View
Returns:
true if the save was successful.

fileSave

public boolean fileSave(File file)
Passes this message off to fileSave(File) with the current setting of m_systemId for this ProjectView, which may have been set by a previous open or import file. This is a convenience method.

NOTE: This saves only the focused view!

Specified by:
fileSave in class View
Returns:
true if the save was successful.

isDirty

public boolean isDirty()
Returns an indication of true if either the current document or graph has been edited.

Specified by:
isDirty in class View

fileClose

public boolean fileClose(boolean forced)
Closes the current graph. There is currently no dirtiness check.

Specified by:
fileClose in class View
Returns:
true if closed

closing

public void closing()
This method should be called before closing the ProjectView to allow safe closing of any dirty content, removing listeners, etc.

Specified by:
closing in class View

editUndo

public void editUndo()
Undo. This method simply passes off the message to the embedded DocumentView.

Specified by:
editUndo in interface EditView

editRedo

public void editRedo()
Redo. This method simply passes off the message to the embedded DocumentView.

Specified by:
editRedo in interface EditView

editCut

public void editCut()
Cut. This method simply passes off the message to the embedded DocumentView.

Specified by:
editCut in interface EditView

editCopy

public void editCopy()
Copy. This method simply passes off the message to the embedded DocumentView.

Specified by:
editCopy in interface EditView

editPaste

public void editPaste()
Paste. This method simply passes off the message to the embedded DocumentView.

Specified by:
editPaste in interface EditView

editSelectAll

public void editSelectAll()
Select All. This method simply passes off the message to the embedded DocumentView.

Specified by:
editSelectAll in interface EditView

find

public void find()
Find. This method simply passes off the message to the embedded DocumentView.

Specified by:
find in interface EditView

findNext

public void findNext()
Find Next. This method simply passes off the message to the embedded DocumentView.

Specified by:
findNext in interface EditView

replace

public void replace()
Replace. This method simply passes off the message to the embedded DocumentView.

Specified by:
replace in interface EditView

scrollToLine

public void scrollToLine(int line)
Scroll To Line. This method simply passes off the message to the embedded DocumentView.

Specified by:
scrollToLine in interface EditView

setProjectToolsVisible

public void setProjectToolsVisible(boolean visible)
Set Project Tool Visibility.


setToolsVisible

public void setToolsVisible(boolean visible)
Set Tool Visibility. This method simply passes off the message to the embedded DocumentView.

Specified by:
setToolsVisible in interface EditView


The Ceryle Project. Copyright ©2001-2007 Murray Altheim, All Rights Reserved. See LICENSE included with distribution.