Java Doc for TestPlugin.java in  » XML-UI » XUI » net » xoetrope » builder » editor » plugin » test » 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 » XML UI » XUI » net.xoetrope.builder.editor.plugin.test 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   net.xoetrope.builder.editor.plugin.XEditorPlugin
      net.xoetrope.builder.editor.plugin.test.TestPlugin

TestPlugin
public class TestPlugin extends XEditorPlugin implements ActionListener(Code)
A simple plugin to help test the plugin behaviour

Copyright (c) Xoetrope Ltd., 2002-2003

$Revision: 1.13 $

License: see License.txt


Inner Class :class NavigateAction extends AbstractAction


Constructor Summary
public  TestPlugin()
    

Method Summary
public  voidactionPerformed(ActionEvent evt)
    
public  voidcopy()
    
public  voidcut()
    
public  voiddelete()
    
public  JMenuItemgetContextMenu()
     Get the menuItem or the sub menu that plugs into the context/popup menu for the selected components.
public  String[]getDeploymentJarNames()
    
public  JDialoggetDialog(Frame applicationFrame)
     Gets the dialog for this plugin.
public  JPanelgetMainPanel()
    
public  JMenugetMenu()
    
public  StringgetName()
    
public  JMenuItemgetPluginMenu()
    
public  intgetPluginType()
    
public  JPanelgetPropertiesPanel()
    
public  intgetState()
    
public  Component[]getToolbarComponents()
    
public  StringgetToolbarName()
    
public  booleanisDialogPlugin()
    
public  voidpaste()
    
public  intprocessCommand(int command, AWTEvent evt, boolean selected)
    
public  intsave()
    
public  voidsetActiveComponents(Vector comps)
    
public  voidsetActivePage(XPageResource page)
    
public  voidsetActiveProject(XEditorProject project)
    
public  voidsetFrame(JFrame appFrame)
    
public  voidsetState(int newState)
    


Constructor Detail
TestPlugin
public TestPlugin()(Code)




Method Detail
actionPerformed
public void actionPerformed(ActionEvent evt)(Code)



copy
public void copy()(Code)



cut
public void cut()(Code)



delete
public void delete()(Code)



getContextMenu
public JMenuItem getContextMenu()(Code)
Get the menuItem or the sub menu that plugs into the context/popup menu for the selected components. The functions on this menu should all operate on the selection or individual component selecte. the JMenu or JMenuItem or null if no menu is being provided.



getDeploymentJarNames
public String[] getDeploymentJarNames()(Code)
Get the name of the deployment jar file that house the plugin's runtime components the short name of the jar file



getDialog
public JDialog getDialog(Frame applicationFrame)(Code)
Gets the dialog for this plugin. The dialog must be modal. Once dismissed no further interaction with the plugin should take place
Parameters:
  applicationFrame - the main application fram the dialog



getMainPanel
public JPanel getMainPanel()(Code)



getMenu
public JMenu getMenu()(Code)
Gets the main menu to show on the main menu bar



getName
public String getName()(Code)



getPluginMenu
public JMenuItem getPluginMenu()(Code)
Gets a menuItem to insert on the plugins menu



getPluginType
public int getPluginType()(Code)



getPropertiesPanel
public JPanel getPropertiesPanel()(Code)



getState
public int getState()(Code)



getToolbarComponents
public Component[] getToolbarComponents()(Code)
Get an array of components to add to the toolbar



getToolbarName
public String getToolbarName()(Code)
Get the name used on the tabbar for a plugin's components the tab name



isDialogPlugin
public boolean isDialogPlugin()(Code)



paste
public void paste()(Code)



processCommand
public int processCommand(int command, AWTEvent evt, boolean selected)(Code)
Process a menu commands for a plugin
Parameters:
  command - the command id
Parameters:
  evt - the original event
Parameters:
  selected - the selected state of the toolbar or menu item or false if no state exists



save
public int save()(Code)
Tells the plugin to save its data 0 for success, non zero otherwise



setActiveComponents
public void setActiveComponents(Vector comps)(Code)



setActivePage
public void setActivePage(XPageResource page)(Code)



setActiveProject
public void setActiveProject(XEditorProject project)(Code)



setFrame
public void setFrame(JFrame appFrame)(Code)



setState
public void setState(int newState)(Code)
Set the activation/deactivation state of the plugin
Parameters:
  newState -



Fields inherited from net.xoetrope.builder.editor.plugin.XEditorPlugin
final public static int ACTIVATED(Code)(Java Doc)
final public static int CLOSED(Code)(Java Doc)
final public static int CREATED(Code)(Java Doc)
final public static int DEACTIVATED(Code)(Java Doc)
final public static int LOADED(Code)(Java Doc)
final public static int PAGE_EDITOR(Code)(Java Doc)
final public static int PROJECT_PLUGIN(Code)(Java Doc)
final public static int PROPERTY_EDITOR(Code)(Java Doc)
final public static int UNINITIALIZED(Code)(Java Doc)
protected String pluginUrl(Code)(Java Doc)

Methods inherited from net.xoetrope.builder.editor.plugin.XEditorPlugin
public int compareTo(Object o)(Code)(Java Doc)
abstract public void copy()(Code)(Java Doc)
abstract public void cut()(Code)(Java Doc)
abstract public void delete()(Code)(Java Doc)
public Hashtable getComponentAttributes(Component comp)(Code)(Java Doc)
abstract public JMenuItem getContextMenu()(Code)(Java Doc)
abstract public String[] getDeploymentJarNames()(Code)(Java Doc)
abstract public JDialog getDialog(Frame applicationFrame)(Code)(Java Doc)
abstract public JPanel getMainPanel()(Code)(Java Doc)
abstract public JMenu getMenu()(Code)(Java Doc)
abstract public String getName()(Code)(Java Doc)
public Hashtable getPageAttributes(XPageResource thePage)(Code)(Java Doc)
abstract public JMenuItem getPluginMenu()(Code)(Java Doc)
abstract public int getPluginType()(Code)(Java Doc)
public String getPluginUrl()(Code)(Java Doc)
abstract public JPanel getPropertiesPanel()(Code)(Java Doc)
abstract public int getState()(Code)(Java Doc)
public Color getTabColor(boolean foreGround)(Code)(Java Doc)
abstract public Component[] getToolbarComponents()(Code)(Java Doc)
abstract public String getToolbarName()(Code)(Java Doc)
abstract public boolean isDialogPlugin()(Code)(Java Doc)
public void menuSelected(MenuEvent e)(Code)(Java Doc)
abstract public void paste()(Code)(Java Doc)
abstract public int processCommand(int command, AWTEvent evt, boolean selected)(Code)(Java Doc)
abstract public int save()(Code)(Java Doc)
abstract public void setActiveComponents(Vector comps)(Code)(Java Doc)
abstract public void setActivePage(XPageResource page)(Code)(Java Doc)
abstract public void setActiveProject(XEditorProject project)(Code)(Java Doc)
abstract public void setFrame(JFrame appFrame)(Code)(Java Doc)
public void setPluginUrl(String newUrl)(Code)(Java Doc)
abstract public void setState(int newState)(Code)(Java Doc)
public void setTabColor(boolean foreGround, Color clr)(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.