Writing an extension

Dear Friends,
I want to write an extension for Adobe Dreamweaver CS3 and
also add an autocompletion-feature.
Is there a good tutorial for adding autocompletion?
I only want to know how to create a popup with custom listed
textual content
when the user begins typing an unfinished function name.
I know that I can add custom function names and keywords
manually to Dreamweaver.
But in this case the extension I want to write should handle
that, because those function names are dynamic.
Thank you for your help and support!
With best regards

InnoRex,
There are API calls for you to dynamically add functions to
the ones
recognized by the Code Hints engine. Take a look here:
http://help.adobe.com/en_US/Dreamweaver/10.0_API_Ref/WS5b3ccc516d4fbf351e63e3d117f9e09bcf- 7ed2.html
This reference is for DW CS4, but (I think) those calls are
supported
back to DW MX.
HTH,
Randy
> I want to write an extension for Adobe Dreamweaver CS3
and also add an
> autocompletion-feature.
>
> Is there a good tutorial for adding autocompletion?
> I only want to know how to create a popup with custom
listed textual content
> when the user begins typing an unfinished function name.
>
> I know that I can add custom function names and keywords
manually to
> Dreamweaver.
> But in this case the extension I want to write should
handle that, because
> those function names are dynamic.

Similar Messages

  • If you're writing an extension that uses the LogWindow...

    ...and you want a new tab to appear in the LogWindow, you might have some problems getting the tab to display nicely. I had problems with the PMD extension - when I installed it in JDev, the PMD tab replaced the Message tab and I couldn't figure out how to get it back until recently. The way I got it to work was by:
    - not calling Ide.getLogManager().addPage(myNewPage) in my AbstractLogPage constructor, but instead calling that in my Addin.handleEvent()
    - putting some more code in my Addin.handleEvent() implementation:
    if (!added) {
    Ide.getLogManager().addPage(myNewPage);
    Ide.getLogManager().showLog();
    added = true;
    where "added" is a field on my Addin implementation. Note that this code means that the PMD tab will be added to the LogWindow, but the Message tab will have the default focus.
    Note that I'm still using JDev 9.0.3, so I might be a bit behind the times if there's something newer out there. Comments/corrections are welcome.
    Hope this is helpful to someone,
    Yours,
    Tom

    Hi Tom,
    Thanks for the tip, and the new release of PMD :)
    (I think) this is a bug we found with the log manager and will be fixed in the 9.0.5 (10g) preview... was the behavior you were seeing that your log page contents replaced those of the messages tab?
    Thanks,
    Brian
    JDev Team

  • Where to start? - writing an extension to apply design-time Stylesheets to entire site

    Can anyone tell me what type of extension I need, and point me at the right part of the API for creating an extension for CS5 (/CS5.5) to make design-time stylesheets apply to an entire site please?
    Thanks in advance
    Peter

    Paul,
    Yes, those documents and books about Extensions for DW8 are
    still very
    relevant. The only that has changed since then are a few new
    APIs.
    This is the best Adobe forum for asking questions. Welcome
    aboard! :)
    Randy
    > I want to learn how to write a dreamweaver CS4
    extension, but the only
    > material I can seem to find that provides step by step
    instructions for how to
    > start out is for Dreamweaver 8.
    >
    > I found the API references for CS4 (
    >
    http://help.adobe.com/en_US/Dreamweaver/10.0_Extending/index.html
    ) but it
    > seems to me that while this is an excellent resource for
    people who already
    > know how to write extensions, it is to general in some
    areas, and then too
    > specific in other areas to start out with.
    >
    > Are there any forums or newsgroups that are devoted to
    helping people when
    > they have specific questions? Or are there any tutorials
    for helping people do
    > something like "Write your first dreamweaver extension"?
    >
    > I also saw there was a book available for people looking
    to write a
    > Dreamweaver 8 extension, would the content of that book
    still be relevant now
    > with CS4? (
    http://www.peachpit.com/store/product.aspx?isbn=0321395409

  • SQL Developer 1.5 - how to get stuff to develop extensions

    Sorry all,
    I'm sure this has been covered before but I can't find it:
    I'd like to write an extension or two for SQL Developer 1.5, but I can't get things off the ground using JDeveloper 11g preview 3. The stumbliung block seems to be getting the ESDK - apparently it should be available as an update, but it's simply not there. Other things are - just not the ESDK. As far as I can tell, I can't go back to JDeveloper 10.1.3 because SQL Developer 1.5 is based on the newer architecture of the 11g releases.
    Can anyone help me out? I'm planning to knock one up for a demo in two week's time to other developers I work with in an attempt to get them to do the same - we use SQL Developer all the time, and there are lots of things we'd like to try out.
    I could go down the JDeveloper 10.1.3/SQL Developer 1.2 route, but we're in love with 1.5 now...
    Thanks,
    John

    Kris,
    I'd love to, but I can't find your address. I'm jconner at domain ssp-uk.com if you want to mail me direct - any SQL Developer examples you've got would be really helpful.
    I've solved my initial problem, though - I've just got hold of JDeveloper 11g preview 4 (only had 3 before), and the ESDK is now available to download. So I can now actually start to have a bash at writing an extension.
    John

  • How to open a Project content file using Extension SDK

    I am writing an extension (Find a resource similar to "Ctrl+Shift+R" in Eclipse, "Ctrl+Shift+N" in IntelliJ) to find and open any type of resource in a project or Workspace.
    After getting the File URI, what API should I need to use to open the file.
    something like CodeEditor("URL").open?

    Once you have got the URL you can use:
    oracle.ide.editor.EditorManager.openDefaultEditorInFrame( url );
    This will open the file pointed by the url in the default editor registered for that file type. See the javadoc for oracle.ide.editor.EditorManager for other open editor methods.

  • Web browser capability in an extension

    I am writing an extension, for which I need to embed a html browser component in the html pages of the extension.
    Have tried the following without any success
    1. Used with a simple <iframe> - looks like DW does nto support iframe in extensions.
    2. Tried to embed an applet that has web browsing capability (JDIC)
    3. Adobe AIR app (using mx:HTML component) - but running an AIR app inside a browser requires the user to have AIR runtime also.
    4. Adobe Flex app that inernally used iframe inside the swf file.
    1,2,4 works when I open the html in browser, but not within DW.
    Today i came across this link -
    http://livedocs.adobe.com/en_US/Dreamweaver/9.0_Extending/help.html?content=dwr_extending_ ex_09.html
    - that clearly says that DW does not support applets and ActiveX in extensions.
    So, how do i go about with my objective ? Are there any ways i could do this.
    Plz help.
    - Ganesh

    Hi
    Could you give a little more info in the way of detail(s), on exactly what you are trying to do.
    If the info would give too many details away, you can send a reply through the personal messages section from your profile.
    PZ

  • Need XSDs, API Java Docs and Java (with callback hooks) extension sample

    Would someone(Sue Harper?) please give us an ETA on when the info we developers need to develop extensions to SqlDeveloper will be made avaialble by Oracle?
    We have been waiting over a year to:
    1. Get the XSD files the poster refers to - the list of XSDs is on the page cited but all of the links take you to a generic download page and the XSDs are nowhere to be found. These must exist somewhere so it is very frustrating that no one on the development team will provide them.
    2. Get the API Javadocs so we can understand the java classes available and how to use them. As with #1, these must be available to the development team so why won't Oracle release them to us?
    3. Get a working example of a Jave extension. The lone example provided is not useful since it is really just an XML extension written in Java.l A useful Java extension would show how to create the hooks to cause SqlDeveloper to perform callbacks to the Java extension code when certain user actions take place. Same here as with #1 and #2. It's hard to beleive that someone on the dev team doesn't have the code for a simple Java extension with callbacks.
    JDeveloper has 'hook' elements in its example extension.xml files but there is no documentation for SqlDeveloper to show the equivalent.
    Please either provide the above requested items, provide an ETA on when Oracle will provide the items or at least be gracious enough to tell us Oracle won't provide the items.
    I'm sure there are many like myself that would love to start working with extensions but can't because Oracle won't share information and data that almost assuredly already exists.
    Waiting patiently. . .

    Hi,
    I'm sorry are feeling so aggrieved by the apparent lack of response from the SQL Developer team. There is a lot of information on the Oracle Wiki, where it has been available for well over a year. The detail and examples were initially created and published in 2008, while the xsds were added earlier this year. The recent OTN migration (in July) broke the links to the xsds, which I was unaware of and am glad you brought that to my attention.
    I see from your note that you have found the Oracle Wiki and the examples, so your complaint is really that the examples are not sufficient. Oracle is not hiding the detail, and we have every intention of adding more. This is just like any other feature request in the product. We are prioritizing the work that must be done and right now the team is focusing on those features most requested by the broadest audience. We do plan to add more and it was on our feature list for the next release. Like all features features proposed for future releases, we can't guarantee they will be included and we don't provide dates. The advantage of this particluar "feature" is that it is not dependent on a release date and can be updated after the next production release.
    We already have a number of customer teams writing Java extensions to the product very successfully.</p>
    <p> I will update the wiki withthe XSD link, but until that is done here they are:<br>
    Dialogs<br>
    Displays<br>
    Editors<br>
    Navigators<br>
    Query<br>
    Snippets</p>
    <p>Regards<br>
    Sue Harper<br>
    </p>

  • Extension for adobe edge

    Hey,
    Any plans to support extension on edge anytime soon?
    Thanks,
    Maor

    We have an extension for creating, managing and uploading flash assets(swf) to our online platform.
    With the imminent demise of flash we would like to rebuild our extension to support HTML5 assets.
    since adobe have several tools capable of creating these assets, one of them being adobe Egde, we would like to know if there is any possibility of writing an extension for this tool(using extension builder or any other tool)

  • Sql Developer extensions

    Hi,
    I've just started writing sqlDev extensions. I've gone through Kris Rice's and Sue Harper's blogs which were very helpful on the same. I still have a couple of questions though.
    1.) Is it possible to have another panel alongside Connections (For e.g. the Reports Panel appears alongside the Connections Panel. I would like to have another Panel specifically for the extension I'm working on). If so, how do I achieve the same??? Till now I've seen how to add in menus or as a child within the Connections Pane or as a right-click option on an object on the connections Pane.
    2.) I'm having trouble understanding the extensions.xml. The hook structure seems confusing as I've gone through the samples and seen Jdeveloper hooks, menu hooks, feature hooks, etc... I have a vague idea on these but would like some clarification. Any documentation links for the same are also welcome.
    I apologize if the questions seem silly as I've just started out with extension development
    Regards,
    Leon.

    Thanks Kris for the quick reply. I did find a link for documentation on the extensions.xml and i'll go through that.
    I've gone through your blog articles on extending the navigator and extending the children nodes there. Is it possible to have a separate pane alongside the Connections Pane(like the Reports Pane) which would contain my nodes in a parent-child hierarchy???
    Regards,
    Leon.

  • Help on HtmlSourceNode API for extension

    I am writing an extension for JDev 10.1.3.
    I need some info regarding the HTML editor/HtmlSourceNode
    How can I access the "title" and "body" content of a html source node in Jdeveloper?
    I didn't find any API doc on this but only for JspSourceNode

    Jdev team,
    Any updates, how I can do this.

  • How to update project library list from an extension

    Hello,
    I'm writing an extension that needs to update project library list. I want to add a jar file in the library. How can I do this? Is there a sample code that does similar logic?
    Thanks.

    Hi José,
    2 considerations: 
    The first one is that (as you experienced) one should not delete or rename any of the predefined columns in the risk/issue list. What you did is the right way, meaning keeping the native column as is and creating new ones based on the business needs. Finally
    you just need to create view with the appropriate fields.
    Then for importing risks from an Excel list, I can't test it right now, but you should have a datagrid view (MS Access type) allowing you pasting data from Excel.
    Hope this helps,
    Guillaume Rouyre, MBA, MCP, MCTS |

  • What type of extension for this?

    I am writing an extension to insert javascript code after
    selected textareas to modify their behavior. The extension also
    copies files to the site and includes a couple of [script src=... ]
    javascript files in the head tag as well as a bit of other source
    code.
    I am almost done with it as a behavior, but while working on
    it, there have been a few times when I needed to refresh behaviors
    and that inserted and onblur or onload behavior into a tag.
    This extension will not actually use any of those event
    handlers. Is behaviors the wrong type of extension to use, and if
    so which ine would be better? If the answer is server behavior, is
    that reasonably easy to migrate because the documentation for
    server behavior feels a bit above me yet...
    Thanx,
    Steven

    From the sound of it, a Command would be better for you than
    a
    Behavior. Its API offers far more latitude to manipulate the
    DOM.
    E. Michael Brandt
    www.divaHTML.com
    divaPOP : standards-compliant popup windows
    divaGPS : you-are-here menu highlighting
    divaFAQ : FAQ pages with pizazz
    www.valleywebdesigns.com/vwd_Vdw.asp
    JustSo PictureWindow
    JustSo PhotoAlbum, et alia

  • Windows shell extension / explorer extions

    Hi,
    I'm getting frustrated with an explorer plugin that lets me view images and their thumbnails within Windows Explorer. If I was to write something myself, where should I begin. I have a few tabs open on 'writing shell extensions' [2002], registering shell
    extension handlers [C lang], etc. Of particular note is 'EZShellExtensions.net v2013' But I'm not sure what the situation is in 2014 with writing a custom thumbnail / image viewer.
    I would prefer C#, but I've been working with C++ a bit lately (hopefully getting a bit better at using it) so if that were the preferable approach, I could probably tackle it.
    I guess I was concerned that a lot of the material I'm seeing is quite old and I'm yet to find a recent article on writing extensions.
    Thanks for any advice.

    The overall documentation root is
    here.  If you're not familiar with implementing COM interfaces, I can see how it could be a bit daunting to get started.  If you're open to C++, if you make an ATL project, you can add a class that has a lot of the support built in already
    for you.  Click on Add Class, Select ATL->ATL Simple Object, give it a name, click next, and you'll be at the File Type Handler Options screen.  You can choose to make a preview handler, thumbnail handler, or search handler; the wizard will generate
    the necessary skeleton code for you.  
    WinSDK Support Team Blog: http://blogs.msdn.com/b/winsdk/

  • Extensibility of the jDesigner

    Hello,
    I am a student and I am starting to
    write my bachelor-thesis about UML and Aspect-Oriented-Programming. For
    this work I am looking for a UML-Tool, which I could expand with some new diagrams. While searching for a appropriate tool I also found the jDeveloper. For my work I have to extend the tool with new diagrams and also
    with some new figures especially with new presentations for relationships between UML elements. Is this possible with this tool?
    Bye,
    Jens

    Jens,
    I assume this to be possible by writing an extension to JDeveloper. JDeveloper extensions are plugins that can be integrated with teh IDE and leverage IDE services. I know that this is the way Oracle partners provide additional UM capabilities for Oracle.
    see: http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/index.html
    Frank

  • FTP connection on mobile device works over wifi but fails over 3G

    Hi all,
    Hoping someone can help, or has come across this issue.
    I am developing a mobile app using flash builder 4.6 with the flex 4.6 sdk. My app needs to transfer files via ftp.
    The issue I am experiencing is that the ftp connection establishes and files transfer without a problem when connected via wifi, on both android and ios platforms.
    However, when only connecting via a 3G connection on a device, a problem occurs. While I can establish a connection, when I send the USER command, I never receive a response.
    A simple view with code to reproduce this issue is listed below. Has anyone come across this problem? I have been searching far and wide but cannot find anything related.
    Could this be an issue with Adobe Air or the socket class? I have written equivalent code using the android sdk in eclipse, and a connection to the same server and user details works on both wifi and 3g connections.
    Any help would be appreciated.
    Thanks.
    <?xml version="1.0" encoding="utf-8"?>
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
                        xmlns:s="library://ns.adobe.com/flex/spark" title="HomeView">
              <fx:Script>
                        <![CDATA[
                                  private var commands:Array;
                                  private var s:Socket;
                                  private var data_channel:Socket;
                                  private function connectToFtp():void
                                            var ftp_response:String;
                                            var data_response:String;
                                            var data_channel_ip:String;
                                            var data_channel_port:int;
                                            s = new Socket();
                                            s.addEventListener(Event.CLOSE, closeConnection);
                                            s.addEventListener(Event.CONNECT, connectionMade);
                                            s.addEventListener(IOErrorEvent.IO_ERROR, showError);
                                            s.addEventListener(SecurityErrorEvent.SECURITY_ERROR, showSecError);
                                            s.addEventListener(ProgressEvent.SOCKET_DATA, receiveReply);
                                            s.connect("mydomain.com", 21);
                                            function receiveReply(e:ProgressEvent):void{
                                                      ftp_response = s.readUTFBytes(s.bytesAvailable);
                                                      trace(ftp_response);
                                                      var code:String = ftp_response.substr(0, 3);
                                                      if (code == "220")
                                                                // connected.
                                                                // send user command
                                                                 s.writeUTFBytes("USER myUserName\n");
                                                                s.flush();
                                                      else if (code == "331")
                                                                // user command sent. password required
                                                                // send password
                                                                s.writeUTFBytes("PASS myPassword\n");
                                                                s.flush();
                                                      else if (code == "230")
                                                                // login successful
                                                                // change directory
                                                                s.writeUTFBytes("CWD /fibreSyncFtp/\n");
                                                                s.flush();
                                                      else if (code == "250")
                                                                // change directory successful
                                                                // send passive command
                                                                s.writeUTFBytes("PASV\n");
                                                                s.flush();
                                                      else if(code == "227")
                                                                //get the ip from the string response
                                                                var temp:String = ftp_response.substring(ftp_response.indexOf("(") + 1, ftp_response.indexOf(")"));
                                                                var data_channel_temp:Array = temp.split(",");
                                                                data_channel_ip = data_channel_temp.slice(0,4).join(".");
                                                                //calculate the port number from the last two digits - if this makes no sense, google
                                                                // FTP PROTOCOL - there are loads of guides that explain the server responses.
                                                                data_channel_port = parseInt(data_channel_temp[4]) * 256 + int(data_channel_temp[5]);
                                                                data_channel = new Socket(data_channel_ip, data_channel_port);
                                                                data_channel.addEventListener(ProgressEvent.SOCKET_DATA, receiveData);
                                                                s.writeUTFBytes("LIST\n");
                                                                s.flush();
                                                      else if (code == "125")
                                                                //use the new IP to open a second socket - this will transmit the data.
                                                                // Your first socket will transmit any commands you issue and this new socket will transmit the data
                                                      else if (code == "226")
                                                                // transfer complete
                                                                // close the connection
                                                                //s.close();
                                                      else if (code == "425")
                                                                // can't open connection
                                            function connectionMade(e:Event):void
                                                      trace("Connection Made");
                                            function receiveData(e:ProgressEvent):void{
                                                      data_response = data_channel.readUTFBytes(data_channel.bytesAvailable);
                                                      trace(data_response);
                                            function showError(e:IOErrorEvent):void{
                                                      trace(e.text);
                                            function showSecError(e:SecurityErrorEvent):void{
                                                      trace(e.text);
                                            function closeConnection(e:Event):void{
                                                      trace(e.type);
                        ]]>
              </fx:Script>
              <fx:Declarations>
                        <!-- Place non-visual elements (e.g., services, value objects) here -->
              </fx:Declarations>
              <s:Button top="10" label="FTP" click="connectToFtp()" horizontalCenter="0"/>
    </s:View>

    Probably you need to write your own AIR native extension, which uses the native Android sockets..I have the same problem and I'm just starting writing the extension...I guess there is no other way..At least you test with native android socket and you confirm is fine, so we know it should work

Maybe you are looking for

  • Troubleshooting InTune, SCCM, and Windows 8.1 Phones

    Howdy... I've setup various components but when I use my Windows 8.1 Samsung phone "Workplace Account" feature, the phone gets stuck on "We're looking for your settings...", it will stay on this for 15+mins if I let it. What can I do for further trou

  • BETWEEN DATE Query help

    Dear Experts, I am new to PL/SQL and need your expert advice and help on below query, SELECT * FROM SCHEMA.TABLE WHERE DATETIME BETWEEN (TO_DATE('SYSDATE-1 07:00:01','MM/DD/YYYY, HH24:MI:SS')) AND (TO_DATE('SYSDATE-1 14:59:59','MM/DD/YYYY, HH24:MI:SS

  • Power mac g5 using itunes

    I am using power mac G5 trying to play itunes tv shows however  the progress bar show that the movie is playing but there is not picture or audio.  Prior to today it was working OK.  My intent is to use the G5 as a media computer to play movies on an

  • Disable AutoCheckin in Easy DMS

    Hello All, I want to disable the AutoCheckin functionality of originals in Easy DMS. I was reading that it can be done by changing the registry value of parameter 'Disable Autocheckin' from 0 to 1. I am not able to find this parameter in the registry

  • Homesite 5 download?

    I've used Homesite since v3, and upgraded over the years to 4.0, 4.5 and 5.0. Following a system crash I've installed v3, followed by 4 and 4.5 but cannot find my copy of 5 anywhere. Can anyone tell me where I can get a copy of 5 from please? Thanks