![]() Or when you open the BlueJ project into which you installed the The extension should start when you next run BlueJ, Or into an extensions directory in your BlueJ userĬonfiguration directory ( /.bluej/extensionsĮxtensions directory in the single BlueJ project Lib/extensions directory of your BlueJ installation, Install the extension by copying the Jar file either into the.Jar cmf manifest.txt SimpleExtension.jar *.class This information can be included in the Jar file when it is created The simplest way toĭo this is to create a file (called, say, manifest.txt) Note that this does not mean that the extension Create a Jar file containing the classes of your extension,Īnd add a Main-Class attribute to the Manifest of.How you do this will depend on the tool you are using to develop your extension. Compile it, including lib/bluejext.jar from yourīlueJ installation in the compiler classpath.The full source code for the extension is here. an entry in the Tools/Preferences/Extensions panel which prompts.The menus displayed for 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 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 Panel, and interact with the BlueJ editor to retrieve and modify ![]() To 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 |