To ensure your extension is compatible with the version of BlueJ you are targeting, align the version of the Java SDK used to develop your extension with the version used by BlueJ. How you do this will depend on the tool you are using to develop your extension. Compile it, including lib/bluejext2.jar from yourīlueJ installation in the compiler classpath.The full source code for the extension is here. if any HTML and PDF files are included in the project repertory, they will be displayed as external file targets in BlueJ class diagramme and can be opened outside BlueJ.an entry in the Tools/Preferences/Extensions panel which prompts.The menus displayed for packages, classes and objects, including one whichĪdds a comment to the source code for an existing class, (fairly useless) menu entries to BlueJ's Tools menu, and to.an entry for it in the "Installed Extensions" panel of the.Of every BlueJ project opened by the user to System.outĪnd demonstrates the use of the other extension features. The following example implements an extension which logs the name The details of the required changes are provided in the Extensions upgrade to BlueJ 5.0.0 changes guidelines section. BlueJ 5.0.1 (with the extensions API v3.1) includes an new feature for extensions to expose a launcher for external file resources.Īs from BlueJ 5.0.0, extensions need to be updated because of the changes in the Extensions API breaking backward compatibility. Via a set of wrapper classes which behave in a similar way to the The BlueJ proxy object generatesĮvents when the user performs significant actions within BlueJ,Īnd provides access to its projects, packages, classes and objects The text in source files (for Java only). Panel, and interact with the BlueJ editor to retrieve and modify To Package, Class and Object menus, add a preference panel to the Tools/Preferences/Extensions Object, and to the classes and objects which BlueJ is manipulatingĪn extension can add a menu item to the BlueJ Tools menu, and Provides access for extensions to the BlueJ application via a proxy It is needed, avoiding user interface clutter and user confusion. Mechanism is a way of adding new functionality to BlueJ as and when
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |