plugins

problem with properties of IB plugin object

Hello I have some object witch I represent in IB Plugin. It is controller object with some properties; For test this object I do next: 1 in IB I set value of properties un Inspector View (it is work); 2 I bound my Object from IB to another object using 'New Referencing OUTLET' 3 Now I want saw some value witch I set of my obj from...

Rails plugin: undefined method 'mattr_accessor' for Sentry:Module

I'm looking at an existing Rails project and trying to see what rake tasks exist by running rake -T. However, when I run that I get: (in /var/www/project) rake aborted! undefined method `mattr_accessor' for Sentry:Module /var/www/project/Rakefile:10 (See full trace by running task with --trace) vendor/plugins/sentry/tasks/sentry.rake ...

Wordpress ads plugin

I have a wordpress blog set up for someone I know and they want to be able to show affiliate ads on this blog, I have no idea what kind of ads etc so was just wondering what the best wordpress plugin would be for this? Thanks ...

How to use the rails query_stats plugin

Good morning all, I'm trying to get Dan Mange's query_stats plugin up and running in my rails app, so I can get a clearer look at the number of queries I'm running. I've installed the plugin: script/plugin install http://github.com/dan-manges/query_stats.git And added the following code (per the rDoc) to my view: Queries in Control...

Add menu counter to Wordpress plugin

Hi, I'm developing a Wordpress plugin and I need to have a menu counter as the ones present in "comments" or "plugins" menu (i.e. 'Comments [10]', 10 is the "awaiting moderation" comments). I use this code to have new menu in wp-admin: add_menu_page('MyMenu', 'MyMenu', 8, 'mymenu_func', 'mymenu_func', 'mymenu_icon.png'); Anyone can ...

java plugin specification via properties file

I have a project which I want to add plugins. I have all the interfaces/factories/etc. setup (my gateway interface is called ApplicationMonitorFactory), I just need to make a way to locate/activate the plugin. My configuration file is a java properties file. I think what I need to do is: find a good way to specify a set of one or more...

eclipse listener for main menu bar selections

hey there i am trying to capture user selections from the menu bar , for example if the user pressed File in the menu, my plug-in gonna print "File pressed". i figured out how to listen to view selections by IselectionService , but still has no clue how to do it with the main menu bars(or toolbars). thanx for help More details : ...

javascript library based on jquery

What would be the advice on starting and organising a library of useful code based on the jquery library? Im thinking of starting this for all of the code that I use alot and ends up just being copied and pasted between projects. I would like to have all of this functionality included in some sort of library of plugins? Any ideas or b...

Getting YASnippet and viper-mode to work together in emacs

I use viper-mode in emacs, but I want to use YASnippet as well. However, when I enable viper-mode and try using tab-completion through YASnippet, nothing happens. How do I get the two of them to work together? ...

xul : creating a right click context menu item for only hyperlinks

Hello, I got a question to ask on building firefox plugin, basically my aim is to do following things, 1) In my plugin I want to show right click context menu item for only links[anchor tags] and hide the menu item for rest of the page 2) How to add dynamic list to my menu, i.e., adding the number of menu list items dynamically dependi...

Zend Plugin works only in one module

I have created a plugin, that ckecks authorization status and gives access for using application. This plugin works fine, but in whole project. I want to make it works only in admin module. How can I do this? I have defined plugin in application.ini: resources.frontController.plugins.authcheck = Application_Plugin_AuthCheck Thanks for...

Multiple APK's Interacting with each other

Recently I came across a few apps (such as Clockworkmod's Rom Manager) where in order to get the pro version you had to download another APK. However once this APK was downloaded Rom Manager automatically knew this APK existed and added new functionality's. For example another app is the Astro app in which you can extend it by downloadin...

Running R inside a buffer in Vim

I have used Stata and gVim on Windows for a while now. Recently I have switched to Linux, and I am planning to also change from Stata to R. A friend of mine is using R and Emacs ESS which seems to work perfect, however i'd rather like to keep using vim. I have installed the vim-r-plugin2, however, i can only send code to a seperate term...

wordpress custom script to handle link!

in wordpress the single page is controlled by single.php theme file. I want to put another link on the single page like "Preview". I want this link to be handled by preview.php. preview.php will be stored in theme directory! how to handle this? usually I do these using init action hook! if the variable exists in the query string, I perf...

Problem installing LESS for Ruby on Rails - script/plugin: command not found

I am trying to install LESS in a Ruby on Rails project. I am able to run the gem successfully, but when I try to install the plugin for LESS, I get an error. Here's what shows in the terminal: MacBook:benji jesse$ sudo gem install less Successfully installed less-1.2.21 1 gem installed Installing ri documentation for less-1.2.21... Inst...

How can prevent the son class call public method of super class in java?

Possible Duplicate: Is there any way to forbid the son class to call the public method of super class in java? some days ago, when I develop the plugin for hudson(a Continue integrate tool), I met the this problem . I created the class which extends the SubversionSCM(the offical class). I just wanted to override the public...

sharing authentication across multiple plugins in Grails

I have modularized a large Grails project into several plugins and want to share access to the spring security plugin to manage authentication across my project - is there an easy way to do this? I'm not sure how to share access to core project plugins from sub plugins ...

Ms Word plug-in with Java

Hi, I'm developing an advanced spellchecker for some language. MS Word's default spellchecker for that language is not satisfactory. So I decided to integrate my spellchecker with MS Word. Unfortunately I'm working on Java and as far as I see this is possible with Ms.Net. Is it possible to do same thing with Java or can use a my Java sp...

Most useful ActionScript packages / libraries for flash games

Most useful ActionScript packages / libraries for flash games ...

How to create a Views style plugin for Drupal?

I'm trying to create a Views Style plugin for the Views module in Drupal. The aim on the style plugin is to render the view as a drop down (i.e. SELECT) box. I can't for the life of me find any decent or complete documentation on how to do this. I've looked at the source code of other Views Style plugins but that does not help. Does an...