Showing posts with label Plugin. Show all posts
Showing posts with label Plugin. Show all posts

The display behavior of the URL mentioned in script based plug-ins, varies with different values of the “Display” attribute specified while registering the plug-in. You can register the plug-in with different extension points for example menu, tab etc., but display behavior of the URL is only applicable in context to Menu extensions. In case you register your plug-in with Tab extension, then URL will be launched in the tab only for all display modes.

For context Menu extensions:

a. If Display attribute is not specified.

For example:

<url >http://maps.google.com</url>

Then URL, i.e., web page maps.google.com opens in the new browser window.

b. If Display attribute "window" is specified.

For example:

<url display="window">http://maps.google.com</url>

Then, a non-modal window (c# form) is opened and the url is launched within the client.

c. If Display attribute "modalwindow" is specified.

For example:

<url display="modalwindow">http://maps.google.com</url>

Then, a modal window is opened and the url is launched within the client.

d. If Display attribute "none" is specified.

For example:

<url display="none">http://maps.google.com</url>

In case you want to run any script without launching any UI on the click of menu item, then you can specify display attribute value as “none”.



Copyright 2009 InterraIT template by Blogcrowds.