Java Doc for JaWEController.java in  » Workflow-Engines » JaWE » org » enhydra » jawe » base » controller » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Workflow Engines » JaWE » org.enhydra.jawe.base.controller 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   java.util.Observable
      org.enhydra.jawe.base.controller.JaWEController

JaWEController
public class JaWEController extends Observable implements Observer,JaWEComponent,ChoiceButtonListener(Code)
Used to handle JaWE.
author:
   Sasa Bojanic
author:
   Miroslav Popov


Field Summary
protected  MapconfigInfo
    
protected  StringcurrentConfig
    
protected  JaWEActionsdefaultJaWEActions
    
protected  JaWEEditedit
    
protected  JaWEFrameframe
    
protected  booleanjaweFrameShown
    
protected  JaWETypeResolverjtypeResolver
    
protected  JaWETypesjtypes
    
protected  JaWESelectionManagerselectionMng
    
protected  ControllerSettingssettings
    
protected  UndoHistoryManagerundoHistoryManager
    
protected  XPDLElementChangeInfoundoSelectionEvent
    
protected  booleanundoableChangeInProgress
    
protected  booleanupdateInProgress
    
protected  booleanupdateSpecialInProgress
    
protected  ListxpdlInfoList
    
protected  ListxpdlListenerObservables
    

Constructor Summary
public  JaWEController(ControllerSettings settings)
    

Method Summary
public  voidaddExternalPackage()
    
public  voidaddObserver(Observer obs)
    
public  voidaddTransientPackage()
    
public  booleanaddTransientPackage(String filename)
    
public  voidadjustActions()
    
public  booleanadjustXPDL(Package pkg)
    
public  booleancanCreateElement(XMLCollection col)
    
public  booleancanCreateElement(XMLCollection col, boolean checkReadOnly)
    
public  booleancanDuplicateElement(XMLCollection col, XMLElement el)
    
public  booleancanDuplicateElement(XMLCollection col, XMLElement el, boolean checkReadOnly)
    
public  booleancanInsertElement(XMLCollection col, XMLElement el)
    
public  booleancanInsertElement(XMLCollection col, XMLElement el, boolean checkReadOnly)
    
public  booleancanModifyElement(XMLElement el)
    
public  booleancanModifyElement(XMLElement el, boolean checkReadOnly)
    
public  booleancanRemoveElement(XMLCollection col, XMLElement el)
    
public  booleancanRemoveElement(XMLCollection col, XMLElement el, boolean checkReadOnly)
    
public  booleancanRepositionElement(XMLCollection col, XMLElement el)
    
public  booleancanRepositionElement(XMLCollection col, XMLElement el, boolean checkReadOnly)
    
public  voidchangeJaWEComponentType(JaWEComponent comp, String newType)
    
public  voidchangePackageFileName(Package pkg, String newFileName)
    
protected  voidchangePackageId(Package pkg, String oldId, String newId)
    
protected  booleancheckInsertion(XPDLHandler xpdlhmain, XPDLHandler xpdlh, String mainPkgId)
    
public  booleancheckValidity(Package el, boolean fullCheck, boolean specNotif, boolean initialOrDesignTimeValidation)
    
public  ListcheckValidity(XMLElement el, boolean fullCheck)
    
protected  voidclearAll()
    
protected  voidclearHistory()
    
protected  voidclearXPDLListenerObservables(boolean clearTransient)
    
public  voidclosePackage(String xpdlId, boolean closeTransient)
    
public  booleanconfirmDelete(List sel, XMLElement firstSelected)
    
public  XPDLElementChangeInfocreateInfo(XMLElement el, int action)
    
public  XPDLElementChangeInfocreateInfo(XMLElement main, List elements, int action)
    
protected  voidcreateJaWEFrame()
    
protected  XPDLListenerAndObservablecreateNewXPDLListenerObservable(Package pkg, boolean receiveEvents, boolean modified)
    
public  voidendUndouableChange(List elementsToSelect)
    
protected  voidfillConfigInfo()
    
public  ListgetChoices(ChoiceButton cbutton)
    
public  StringgetConfigId(String cfgName)
    
protected  StringgetConfigId(Map ci, String cfgName)
    
public  MapgetConfigInfo()
    
public  ControllerSettingsgetControllerSettings()
    
public  StringgetCurrentConfig()
    
public  StringgetCurrentConfigName()
    
public  XPDLElementChangeInfogetCurrentSelectionEvent()
    
public  JaWEEditgetEdit()
    
public  JaWEActionsgetJaWEActions()
    
public  JaWEFramegetJaWEFrame()
    
public  JaWETypesgetJaWETypes()
    
public  PackagegetMainPackage()
    
public  StringgetMainPackageId()
    
public  StringgetName()
    
public  StringgetPackageFilename(String xpdlId)
    
public  ObjectgetSelectedObject(ChoiceButton cbutton)
    
public  JaWESelectionManagergetSelectionManager()
    
public  JaWEComponentSettingsgetSettings()
    
public  StringgetType()
    
public  JaWETypeResolvergetTypeResolver()
    
public  UndoHistoryManagergetUndoHistoryManager()
    
public  JaWEComponentViewgetView()
    
protected  XPDLListenerAndObservablegetWorkingXPDLListenerObservable()
    
protected  XPDLListenerAndObservablegetXPDLListenerObservable(Package pkg)
    
public  voidhandleEvent(XPDLElementChangeInfo info)
    
public  voidinit()
    
public  booleanisPackageModified(String xpdlId)
    
public  booleanisSaveEnabled(boolean isSaveAs)
    
public  booleanisUndoOrRedoInProgress()
    
public  booleanisUndoableChangeInProgress()
    
public  booleanisUpdateInProgress()
    
public  voidnewPackage(String type)
    
protected  PackageopenPackage(String filename, byte[] xpdlStream)
    
public  PackageopenPackageFromFile(String filename)
    
public  PackageopenPackageFromStream(byte[] xpdlStream)
    
protected  StringreadConfigName(String configFolder)
    
public  voidredo()
    
protected static  SetrefElsNotToAskOnDeletion(String hstr)
    
public  voidregisterJaWEComponent(JaWEComponent jaweComponent)
    
public  voidremoveExternalPackage()
    
public  voidremoveJaWEComonent(JaWEComponent comp)
    
public  voidremoveTransientPackage()
    
public  voidsavePackage(String xpdlId, String filename)
    
public  voidselectionChanged(ChoiceButton cbutton, Object change)
    
public  voidsendEvent(XPDLElementChangeInfo info)
    
public  voidsetType(String type)
    
public  voidsetUpdateInProgress(boolean inProgress)
    
public  voidshowJaWEFrame()
    
public  voidstartUndouableChange()
    
public  booleantryToClosePackage(String xpdlId, boolean closeTransient)
    
public  voidundo()
    
public  voidupdate(Observable o, Object arg)
    
protected  voidupdateExternalPackagesRelativePaths(Package pkg, String newFilename)
    
protected  voidupdateTitle()
    

Field Detail
configInfo
protected Map configInfo(Code)



currentConfig
protected String currentConfig(Code)



defaultJaWEActions
protected JaWEActions defaultJaWEActions(Code)



edit
protected JaWEEdit edit(Code)



frame
protected JaWEFrame frame(Code)



jaweFrameShown
protected boolean jaweFrameShown(Code)



jtypeResolver
protected JaWETypeResolver jtypeResolver(Code)



jtypes
protected JaWETypes jtypes(Code)



selectionMng
protected JaWESelectionManager selectionMng(Code)



settings
protected ControllerSettings settings(Code)



undoHistoryManager
protected UndoHistoryManager undoHistoryManager(Code)



undoSelectionEvent
protected XPDLElementChangeInfo undoSelectionEvent(Code)



undoableChangeInProgress
protected boolean undoableChangeInProgress(Code)



updateInProgress
protected boolean updateInProgress(Code)



updateSpecialInProgress
protected boolean updateSpecialInProgress(Code)



xpdlInfoList
protected List xpdlInfoList(Code)



xpdlListenerObservables
protected List xpdlListenerObservables(Code)




Constructor Detail
JaWEController
public JaWEController(ControllerSettings settings)(Code)




Method Detail
addExternalPackage
public void addExternalPackage()(Code)



addObserver
public void addObserver(Observer obs)(Code)



addTransientPackage
public void addTransientPackage()(Code)



addTransientPackage
public boolean addTransientPackage(String filename)(Code)



adjustActions
public void adjustActions()(Code)



adjustXPDL
public boolean adjustXPDL(Package pkg)(Code)



canCreateElement
public boolean canCreateElement(XMLCollection col)(Code)



canCreateElement
public boolean canCreateElement(XMLCollection col, boolean checkReadOnly)(Code)



canDuplicateElement
public boolean canDuplicateElement(XMLCollection col, XMLElement el)(Code)



canDuplicateElement
public boolean canDuplicateElement(XMLCollection col, XMLElement el, boolean checkReadOnly)(Code)



canInsertElement
public boolean canInsertElement(XMLCollection col, XMLElement el)(Code)



canInsertElement
public boolean canInsertElement(XMLCollection col, XMLElement el, boolean checkReadOnly)(Code)



canModifyElement
public boolean canModifyElement(XMLElement el)(Code)



canModifyElement
public boolean canModifyElement(XMLElement el, boolean checkReadOnly)(Code)



canRemoveElement
public boolean canRemoveElement(XMLCollection col, XMLElement el)(Code)



canRemoveElement
public boolean canRemoveElement(XMLCollection col, XMLElement el, boolean checkReadOnly)(Code)



canRepositionElement
public boolean canRepositionElement(XMLCollection col, XMLElement el)(Code)



canRepositionElement
public boolean canRepositionElement(XMLCollection col, XMLElement el, boolean checkReadOnly)(Code)



changeJaWEComponentType
public void changeJaWEComponentType(JaWEComponent comp, String newType)(Code)



changePackageFileName
public void changePackageFileName(Package pkg, String newFileName)(Code)



changePackageId
protected void changePackageId(Package pkg, String oldId, String newId)(Code)



checkInsertion
protected boolean checkInsertion(XPDLHandler xpdlhmain, XPDLHandler xpdlh, String mainPkgId)(Code)



checkValidity
public boolean checkValidity(Package el, boolean fullCheck, boolean specNotif, boolean initialOrDesignTimeValidation)(Code)



checkValidity
public List checkValidity(XMLElement el, boolean fullCheck)(Code)



clearAll
protected void clearAll()(Code)



clearHistory
protected void clearHistory()(Code)



clearXPDLListenerObservables
protected void clearXPDLListenerObservables(boolean clearTransient)(Code)



closePackage
public void closePackage(String xpdlId, boolean closeTransient)(Code)



confirmDelete
public boolean confirmDelete(List sel, XMLElement firstSelected)(Code)



createInfo
public XPDLElementChangeInfo createInfo(XMLElement el, int action)(Code)



createInfo
public XPDLElementChangeInfo createInfo(XMLElement main, List elements, int action)(Code)



createJaWEFrame
protected void createJaWEFrame()(Code)



createNewXPDLListenerObservable
protected XPDLListenerAndObservable createNewXPDLListenerObservable(Package pkg, boolean receiveEvents, boolean modified)(Code)



endUndouableChange
public void endUndouableChange(List elementsToSelect)(Code)



fillConfigInfo
protected void fillConfigInfo()(Code)



getChoices
public List getChoices(ChoiceButton cbutton)(Code)



getConfigId
public String getConfigId(String cfgName)(Code)



getConfigId
protected String getConfigId(Map ci, String cfgName)(Code)



getConfigInfo
public Map getConfigInfo()(Code)



getControllerSettings
public ControllerSettings getControllerSettings()(Code)



getCurrentConfig
public String getCurrentConfig()(Code)



getCurrentConfigName
public String getCurrentConfigName()(Code)



getCurrentSelectionEvent
public XPDLElementChangeInfo getCurrentSelectionEvent()(Code)



getEdit
public JaWEEdit getEdit()(Code)



getJaWEActions
public JaWEActions getJaWEActions()(Code)



getJaWEFrame
public JaWEFrame getJaWEFrame()(Code)



getJaWETypes
public JaWETypes getJaWETypes()(Code)



getMainPackage
public Package getMainPackage()(Code)



getMainPackageId
public String getMainPackageId()(Code)



getName
public String getName()(Code)



getPackageFilename
public String getPackageFilename(String xpdlId)(Code)



getSelectedObject
public Object getSelectedObject(ChoiceButton cbutton)(Code)



getSelectionManager
public JaWESelectionManager getSelectionManager()(Code)



getSettings
public JaWEComponentSettings getSettings()(Code)



getType
public String getType()(Code)



getTypeResolver
public JaWETypeResolver getTypeResolver()(Code)



getUndoHistoryManager
public UndoHistoryManager getUndoHistoryManager()(Code)



getView
public JaWEComponentView getView()(Code)



getWorkingXPDLListenerObservable
protected XPDLListenerAndObservable getWorkingXPDLListenerObservable()(Code)



getXPDLListenerObservable
protected XPDLListenerAndObservable getXPDLListenerObservable(Package pkg)(Code)



handleEvent
public void handleEvent(XPDLElementChangeInfo info)(Code)



init
public void init()(Code)



isPackageModified
public boolean isPackageModified(String xpdlId)(Code)



isSaveEnabled
public boolean isSaveEnabled(boolean isSaveAs)(Code)



isUndoOrRedoInProgress
public boolean isUndoOrRedoInProgress()(Code)



isUndoableChangeInProgress
public boolean isUndoableChangeInProgress()(Code)



isUpdateInProgress
public boolean isUpdateInProgress()(Code)



newPackage
public void newPackage(String type)(Code)



openPackage
protected Package openPackage(String filename, byte[] xpdlStream)(Code)



openPackageFromFile
public Package openPackageFromFile(String filename)(Code)



openPackageFromStream
public Package openPackageFromStream(byte[] xpdlStream)(Code)



readConfigName
protected String readConfigName(String configFolder)(Code)



redo
public void redo()(Code)



refElsNotToAskOnDeletion
protected static Set refElsNotToAskOnDeletion(String hstr)(Code)



registerJaWEComponent
public void registerJaWEComponent(JaWEComponent jaweComponent)(Code)



removeExternalPackage
public void removeExternalPackage()(Code)



removeJaWEComonent
public void removeJaWEComonent(JaWEComponent comp)(Code)



removeTransientPackage
public void removeTransientPackage()(Code)



savePackage
public void savePackage(String xpdlId, String filename)(Code)



selectionChanged
public void selectionChanged(ChoiceButton cbutton, Object change)(Code)



sendEvent
public void sendEvent(XPDLElementChangeInfo info)(Code)



setType
public void setType(String type)(Code)



setUpdateInProgress
public void setUpdateInProgress(boolean inProgress)(Code)



showJaWEFrame
public void showJaWEFrame()(Code)



startUndouableChange
public void startUndouableChange()(Code)



tryToClosePackage
public boolean tryToClosePackage(String xpdlId, boolean closeTransient)(Code)



undo
public void undo()(Code)



update
public void update(Observable o, Object arg)(Code)



updateExternalPackagesRelativePaths
protected void updateExternalPackagesRelativePaths(Package pkg, String newFilename)(Code)



updateTitle
protected void updateTitle()(Code)



Methods inherited from java.util.Observable
public synchronized void addObserver(Observer o)(Code)(Java Doc)
protected synchronized void clearChanged()(Code)(Java Doc)
public synchronized int countObservers()(Code)(Java Doc)
public synchronized void deleteObserver(Observer o)(Code)(Java Doc)
public synchronized void deleteObservers()(Code)(Java Doc)
public synchronized boolean hasChanged()(Code)(Java Doc)
public void notifyObservers()(Code)(Java Doc)
public void notifyObservers(Object arg)(Code)(Java Doc)
protected synchronized void setChanged()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.