org.telscenter.pas.beans
Class PasProject
java.lang.Object
java.beans.beancontext.BeanContextChildSupport
net.sf.sail.common.beansupport.SailBeanContextChildSupport
org.telscenter.pas.beans.PasProject
- All Implemented Interfaces:
- java.beans.beancontext.BeanContextChild, java.beans.beancontext.BeanContextServiceRevokedListener, java.beans.beancontext.BeanContextServicesListener, java.beans.DesignMode, java.io.Serializable, java.util.EventListener, net.sf.sail.common.beansupport.ITitleAware, IAuthorNotation
public class PasProject
- extends net.sf.sail.common.beansupport.SailBeanContextChildSupport
- implements IAuthorNotation, net.sf.sail.common.beansupport.ITitleAware
Bean representing the Pas project.
- Author:
- turadg
- See Also:
- Serialized Form
| Fields inherited from class java.beans.beancontext.BeanContextChildSupport |
beanContext, beanContextChildPeer, pcSupport, rejectedSetBCOnce, vcSupport |
| Fields inherited from interface java.beans.DesignMode |
PROPERTYNAME |
| Methods inherited from class net.sf.sail.common.beansupport.SailBeanContextChildSupport |
initializeBeanContextResources, isDesignTime, isInPod, setDesignTime |
| Methods inherited from class java.beans.beancontext.BeanContextChildSupport |
addPropertyChangeListener, addVetoableChangeListener, firePropertyChange, fireVetoableChange, getBeanContext, getBeanContextChildPeer, isDelegated, releaseBeanContextResources, removePropertyChangeListener, removeVetoableChangeListener, serviceAvailable, serviceRevoked, validatePendingSetBeanContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ACTIVITIES
public static final java.lang.String ACTIVITIES
- See Also:
- Constant Field Values
MAC_OS_X
public static boolean MAC_OS_X
PasProject
public PasProject()
initUI
protected void initUI()
initServices
protected void initServices()
initListeners
protected void initListeners()
getPanel
public PasProjectNavigationTaskPanel getPanel()
about
public void about()
quit
public void quit()
preferences
public void preferences()
registerWithMacOSX
public void registerWithMacOSX()
getAuthorNotes
public java.lang.String getAuthorNotes()
- Specified by:
getAuthorNotes in interface IAuthorNotation
getTitle
public java.lang.String getTitle()
- Specified by:
getTitle in interface net.sf.sail.common.beansupport.ITitleAware- Specified by:
getTitle in interface IAuthorNotation
setExitOnClose
public void setExitOnClose(boolean exitOnClose)
- If this is set to false then the frame will only be hidden not disposed.
- Parameters:
exitOnClose -
getExitOnClose
public boolean getExitOnClose()
registerDesiredServices
protected void registerDesiredServices(java.beans.beancontext.BeanContextServices bcs)
- Specified by:
registerDesiredServices in class net.sf.sail.common.beansupport.SailBeanContextChildSupport
setBeanContext
public void setBeanContext(java.beans.beancontext.BeanContext bc)
throws java.beans.PropertyVetoException
- Specified by:
setBeanContext in interface java.beans.beancontext.BeanContextChild- Overrides:
setBeanContext in class java.beans.beancontext.BeanContextChildSupport
- Throws:
java.beans.PropertyVetoException- See Also:
BeanContextChildSupport.setBeanContext(java.beans.beancontext.BeanContext)
consumeService
protected void consumeService(java.beans.beancontext.BeanContextServices bcs,
java.lang.Class serviceClass)
- This method can be called more than once in the authoring runtime, when
the preview is shown more than once.
- Specified by:
consumeService in class net.sf.sail.common.beansupport.SailBeanContextChildSupport
- Parameters:
bcs - serviceClass - project -
updateProjectProperties
protected void updateProjectProperties()
- Updates steps with any properties as nessecary.
initiatePasProject
protected void initiatePasProject()
getActivities
public PasActivity[] getActivities()
remove
public void remove(PasActivity act)
getActivities
public PasActivity getActivities(int i)
- Parameters:
i -
- Returns:
setActivities
public void setActivities(int index,
PasActivity bean)
setActivities
public void setActivities(PasActivity[] beans)
setAuthorNotes
public void setAuthorNotes(java.lang.String authorNotes)
- Specified by:
setAuthorNotes in interface IAuthorNotation
setTitle
public void setTitle(java.lang.String title)
- Specified by:
setTitle in interface net.sf.sail.common.beansupport.ITitleAware- Specified by:
setTitle in interface IAuthorNotation
getProjectFrame
public PasFrame getProjectFrame()
setProjectFrame
public void setProjectFrame(PasFrame pasFrame)
addPropertyChangeListener
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
removePropertyChangeListener
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
getSessionService
public net.sf.sail.core.beans.service.SessionService getSessionService()
- Returns:
- the sessionService
setSessionService
public void setSessionService(net.sf.sail.core.beans.service.SessionService sessionService)
- Parameters:
sessionService - the sessionService to set
setNavigationLogRim
public void setNavigationLogRim(net.sf.sail.core.entity.Rim<java.lang.String> navigationLogRim)
- Parameters:
navigationLogRim - the navigationLogRim to set
getNavigationLogRim
public net.sf.sail.core.entity.Rim<java.lang.String> getNavigationLogRim()
- Returns:
- the navigationLogRim
setSessionStateRim
public void setSessionStateRim(net.sf.sail.core.entity.Rim<java.lang.String> sessionStateRim)
- Parameters:
sessionStateRim - the sessionStateRim to set
getSessionStateRim
public net.sf.sail.core.entity.Rim<java.lang.String> getSessionStateRim()
- Returns:
- the sessionStateRim
setCurnitMapRim
public void setCurnitMapRim(net.sf.sail.core.entity.Rim<java.lang.String> curnitMapRim)
- Parameters:
curnitMapRim - the curnitMapRim to set
getCurnitMapRim
public net.sf.sail.core.entity.Rim<java.lang.String> getCurnitMapRim()
- Returns:
- the curnitMapRim
getRimSock
protected net.sf.sail.core.entity.ISock<java.lang.String> getRimSock(net.sf.sail.core.entity.Rim<java.lang.String> rim)
getNavigationLogSock
public net.sf.sail.core.entity.ISock<java.lang.String> getNavigationLogSock()
- Returns:
getSessionStateSock
public net.sf.sail.core.entity.ISock<java.lang.String> getSessionStateSock()
- Returns:
getCurnitMapSock
public net.sf.sail.core.entity.ISock<java.lang.String> getCurnitMapSock()
- Returns:
getItemUUID
public java.lang.String getItemUUID(java.beans.beancontext.BeanContextChildSupport item)
getItemLog
public java.lang.String getItemLog(java.lang.String name,
java.beans.beancontext.BeanContextChildSupport item)
- Parameters:
step -
- Returns:
createStepMap
protected void createStepMap(org.jdom.Element stepElement,
PasStep step)
createActivityMap
protected void createActivityMap(org.jdom.Element activityElement,
PasActivity activity)
createProjectMap
protected void createProjectMap(org.jdom.Element projectElement,
PasProject project)
createCurnitMap
public void createCurnitMap()
createCurnitMap
public boolean createCurnitMap(java.lang.String filepath)
- Overloaded createCurnitMap method that output the curnitmap to provided filepath
- Parameters:
filepath - path to output the curnitmap
- Returns:
- true iff the curnitmap was successfully outputted
getItemParent
public java.beans.beancontext.BeanContextChildSupport getItemParent(java.beans.beancontext.BeanContextChildSupport item)
showFirstStepOnLoad
public boolean showFirstStepOnLoad()
- Returns:
- the showFirstStepOnLoad
setShowFirstStepOnLoad
public void setShowFirstStepOnLoad(boolean showFirstStepOnLoad)
- Parameters:
showFirstStepOnLoad - the showFirstStepOnLoad to set
isAutoNumbering
public boolean isAutoNumbering()
- Returns:
- the autoNumbering
setAutoNumbering
public void setAutoNumbering(boolean autoNumbering)
- Parameters:
autoNumbering - the autoNumbering to set
getAnnotationService
public net.sf.sail.core.beans.service.AnnotationService getAnnotationService()
- Returns:
- the annotationService
setAnnotationService
public void setAnnotationService(net.sf.sail.core.beans.service.AnnotationService annotationService)
- Parameters:
annotationService - the annotationService to set
getProjectProperties
public java.util.HashMap getProjectProperties()
setProjectProperties
public void setProjectProperties(java.util.HashMap projectProperties)
setAuthoringMode
public void setAuthoringMode(boolean authoringMode)
- Parameters:
authoringMode - the authoringMode to set
isAuthoringMode
public boolean isAuthoringMode()
- Returns:
- the authoringMode
Copyright © 2004-2008 TELS Center. All Rights Reserved.