org.xpcards
Class XPCards

java.lang.Object
  extended byorg.eclipse.jface.window.Window
      extended byorg.eclipse.jface.window.ApplicationWindow
          extended byorg.xpcards.XPCards
All Implemented Interfaces:
org.eclipse.jface.operation.IRunnableContext

public class XPCards
extends org.eclipse.jface.window.ApplicationWindow

Author:
Mikhail Galyutin

Nested Class Summary
 
Nested classes inherited from class org.eclipse.jface.window.Window
org.eclipse.jface.window.Window.IExceptionHandler
 
Field Summary
 
Fields inherited from class org.eclipse.jface.window.Window
CANCEL, OK
 
Constructor Summary
XPCards()
           
 
Method Summary
protected  org.eclipse.swt.widgets.Control createContents(org.eclipse.swt.widgets.Composite parent)
           
protected  org.eclipse.jface.action.MenuManager createMenuManager()
           
 void dispose()
          Disposes of all resources associated with a particular instance of the ControlExample.
 void doEditStory(Story story)
           
 AbstractAction getAction(java.lang.String key)
           
 int[] getPiorities()
           
 java.io.File getProjectCollectionFile()
           
 ProjectsCollection getProjects()
           
 int[] getRisks()
           
 ModelElement getSelectedModelElement()
           
static void main(java.lang.String[] args)
          Invokes as a standalone program.
 java.util.Enumeration projects()
           
 void putAction(java.lang.String key, AbstractAction action)
           
 void putProject(ProjectSource element)
           
 void removeProject(Project element)
           
 void selectModelElement(ModelElement p)
           
 void serializeProjectsCollection(java.io.File file)
           
 void setProjectCollectionFile(java.io.File file)
           
 
Methods inherited from class org.eclipse.jface.window.ApplicationWindow
addMenuBar, addStatusLine, addToolBar, canHandleShellCloseEvent, close, configureShell, createStatusLineManager, createToolBarControl, createToolBarManager, getFont, getMenuBarManager, getStatusLineManager, getSymbolicFontName, getToolBarControl, getToolBarManager, run, setStatus, toolBarChildrenExist
 
Methods inherited from class org.eclipse.jface.window.Window
constrainShellSize, create, createShell, getContents, getDefaultImage, getInitialLocation, getInitialSize, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, handleShellCloseEvent, initializeBounds, open, setBlockOnOpen, setDefaultImage, setExceptionHandler, setReturnCode, setShellStyle, setWindowManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XPCards

public XPCards()
Method Detail

getAction

public AbstractAction getAction(java.lang.String key)

putAction

public void putAction(java.lang.String key,
                      AbstractAction action)

createContents

protected org.eclipse.swt.widgets.Control createContents(org.eclipse.swt.widgets.Composite parent)
See Also:
Window.createContents(org.eclipse.swt.widgets.Composite)

createMenuManager

protected org.eclipse.jface.action.MenuManager createMenuManager()
See Also:
ApplicationWindow.createMenuManager()

dispose

public void dispose()
Disposes of all resources associated with a particular instance of the ControlExample.


main

public static void main(java.lang.String[] args)
Invokes as a standalone program.


projects

public java.util.Enumeration projects()
Returns:

putProject

public void putProject(ProjectSource element)
                throws java.lang.Exception
Throws:
java.lang.Exception

removeProject

public void removeProject(Project element)
Parameters:
element -

selectModelElement

public void selectModelElement(ModelElement p)

getSelectedModelElement

public ModelElement getSelectedModelElement()

serializeProjectsCollection

public void serializeProjectsCollection(java.io.File file)
                                 throws java.io.FileNotFoundException
Throws:
java.io.FileNotFoundException

getPiorities

public int[] getPiorities()

getRisks

public int[] getRisks()

getProjects

public ProjectsCollection getProjects()

getProjectCollectionFile

public java.io.File getProjectCollectionFile()
Returns:

setProjectCollectionFile

public void setProjectCollectionFile(java.io.File file)
Parameters:
file -

doEditStory

public void doEditStory(Story story)


Copyright © 2004 Mikhail Galyutin. All Rights Reserved.