custom components in loadUI - loadui

How can I add custom components into loadUI please?
I want to download the HTTP Runner component. In the zip file, there is a .png and groovy script file.
Thanks in advance

Extract the contents of the zip file into the script-components
directory in your loadUI installation, and the component should show
up in the Component toolbar.
I tried this for the custom HTTP runner component, and it immediately showed up in the runners toolbar on the LHS (didn't even have to restart loadUI).
source: http://htpwww.eviware.com/forum/viewtopic.php?f=10&t=11220

Related

Is it possible to use custom icon for Xcode file template?

In our project we generate multiple swift files when using the file xctemplate configuration. However, with this configuration, there is no icon displayed in Xcode when generating the files (see attached image). We did try to add two images to the template folder: TemplateIcon-png and TemplateIcon#96.png which yielded no success. Is it possible to use a custom icon for file templates in Xcode?
Not sure if you're still looking for an answer to this, but you should be able to create an .icns icon package named TemplateIcon.icns. This should contain your template image(s) to be displayed in the new project picker.
I suspect your issue was trying to use the PNG assets directly.
See the Base Acceptance Testing Bundle for an example. It is part of the OCSlimProjectXcodeTemplates repository.

CKEditor not shown when i download js file from server

Below script reference getting cke js from server
<script src="//cdn.ckeditor.com/4.5.0/standard-all/ckeditor.js"></script>
When I download from this server and add manually my project CKEditor not shown.
what is the difference two situation?
You've downloaded only one file "ckeditor.js" but it tries to load many other files (images, css, language files, dialogs, ...) so it can't work that way.
You should download instead the full package that you can deploy to your server: http://ckeditor.com/download

Sonar Plugin editing the .erb file on the fly?

Is it possible to edit the widget.erb file on the fly without restarting the Sonar server? I am thinking it is no different than any other front end file, but since the plugin is not actually "exploded" there is no way to edit the file without opening the jar and editing it.
However if there was a way, it would allow designing the widget that much quicker!
thanks!
Indeed, it's possible to edit plugin web content on the fly. Please look at this page : http://docs.codehaus.org/display/SONAR/Extend+Web+Application.
You can either :
For widget : Edit the method RubyRailsWidget#getTemplatePath() in order to return the absolute path to the widget file, rather than the class path (See more in Widgets -> Development mode)
For web app : Edit the file war/sonar-server/WEB-INF/config/environment.rb and set the absolute path to your ruby application by replacing the property config.plugin_paths (See more in Applications -> Development mode)

Icons path altered in built editor

I've made a couple plugins for ckeditor and added icons for them. These icons show up when I embed the unbuilt code on a test page, but, when I build the editor, the minimized code thinks the icons at 'original/path/to/the/icon.png?t=D5AK' instead of 'original/path/to/the/icon.png'. This error does not occur when I copy an icon from another plugin in the src code. At the moment the only way I am adding the icon is through "icon: this.path + 'icons/icon.png'," in plugin.js. Is there somewhere I need to add a reference to the icon?
This is an intentional addition to resources' paths. It ensures that every two CKEditor releases have different paths to the same resource what disables cache. And this works perfectly unless you're trying to load CKEditor from local file system than from a web server.

How to manually set the script path of ckeditor

Usually we just need to unzip the package from the ckeditor website to a dictionary and use it like CKEDITOR.replace('editor1');. But my problem is the ckeditor cannot correctly recognize the path to the plugin and other files, makes the editor fail to load.
Is there any way to manually set the path to its files?
Thanks
UPDATE
I have tried to set the CKEDITOR.basePath, the editor loaded successfully, but the plugin don't works, exception
[CKEDITOR.dialog.openDialog] Dialog "paste" failed when loading definition.
The problem still remains
I know this is old, but setting CKEDITOR.plugins.basePath should fix your problem.

Resources