Im new to OO and not familiar with UNO concepts used here in developing OO
plugins. Hope u can help me.
I am developing a plug in for OO Writer. Using the plug in available here
http://netbeans.org/community/magazine/html/03/openoffice/ I could straghtaway
generate the necassary code to intgrate the appication as a plugin.
I also created a new form, say Interface1 (which is a UI for my plug in), and i
need to know how to make this form visible. I am supposed to do this by
editting the method called dispatch wich is in some other class.
public void dispatch( com.sun.star.util.URL aURL,
com.sun.star.beans.PropertyValue[] aArguments )
{
if ( aURL.Protocol.compareTo("com.example.kbshortcutreminder:") == 0 )
{
if ( aURL.Path.compareTo("ShortcutReminder") == 0 )
{
//code to make the form 'Interface1' visible
return;
}
}
}
Thank u in advance