How to use Property Editor from an Add-In?

Hi,
I am writing a WYSIWYG add-in for JDev that allows users to put some object into a JPanel instance.
Thess object has properties such as left, right, width, height, etc.
- Question: how to use JDev's property editor to allow users change properties of thess object?
- Another word: how to user JDev's Property Editor API from an add-in?
I looked at the document. It does not give me enough information about Property Editor.
Thanks in advance,
Trung

Hello Prasad,
You are on the right avenue - launch an external application which can connect to running Outlook instance and then close it. After this you can launch Outlook anew. Here are the steps required to get the job done:
1. Use the Marshal.GetActiveObject method which obtains
a running instance of the specified object from the running object table (ROT) - Outlook in your case, for example:
// Check whether there is an Outlook process running.
if (Process.GetProcessesByName("OUTLOOK").Count() > 0)
// If so, use the GetActiveObject method to obtain the process and cast it to an Application object.
application = Marshal.GetActiveObject("Outlook.Application") as Outlook.Application;
then use the
Quit method to close the running instance. The
associated Outlook session will be closed completely; the user will be logged out of the messaging system and any changes to items not already saved will be discarded.
2.  Use the
Start method of the System.Diagnostics.Process class to start Outlook anew.

Similar Messages

  • How to use property file - sql query define in property file

    Hi All,
    Anybody please tell me how to use property file.
    I have placed sql query in propery file and I have to access this in my file.
    well so far this is my code but don't know how to implement in the following ...
    pstmt = con.prepareStatement("select * from registration where username=?");
    instead of writting the query I want to use the property file.
    so far I have developed the following code...
    FileInputStream fis = new FileInputStream("querysql.property");
    Properties dbProp = new Properties();
    dbProp.load(fis);is the code correct... or is there another way to access property file
    Please help.
    please reply soon....
    Thanks

    Before answering, check if it's already been done here http://www.jguru.com/forums/view.jsp?EID=1304182

  • HT1491 how to use a ringtone from a downloaded app in iphone5

    how to use a ringtone from a downloaded app in iphone 5

    RINGTONE
    This how to make ring tones for your iPhone:
    Choose the desired song from you library
    Do a secondary click on your song if you are using a MAC (right click for PC)
    Click "Get Info"
    Go to Options tab
    Set Start Time and Stop Time, some iOS only allow for a 30 sec duration for ringtones, then click OK
    Do secondary click (right click for PC) to your selected song
    Click "Create AAC Version", new song from your selected will added to your library (short one)
    Do secondary click (right click for PC) to your short one (new song)
    Click "Show in Finder"
    Rename file *.m4a to *.m4r, click "use *.m4r"
    Drag the file to library, for the first time it would automatically add your library with new folder "Tones" under Apps folder
    Open the ring tones in the Tones folder of your library than drag it to your iPhone and your ringtone also would be automatically added "Tones" folder.
    Last but not least, set the ring tone in your iPhone under the "Setting-Sound"
    For information on how to make ringtones read http://www.ehow.com/how_2160460_custom-iphone-ringtones-free.html
    Or
    http://www.demogeek.com/2009/07/31/how-to-add-custom-ringtones-to-your-iphone/

  • How to use budget amount from previous years

    Dear Values Consultant
    How to use budget amount from previous years
    I create budget for 2007 and I use it .in 2008 I create new budget with new amount for account, but still there are amount from 2007-I want to use or transfer it to 2008,
    How to do this? Please give me details step to implement to this feature
    Thanks for caring

    Hi,
    There are two ways to do it:
    1. Define the account range in your Budget Organization and in the Budgetary Control region, out the Amount Type as "PJTD" and Boundary as "Project". This method is useful when you have project as a segment in your chart of accounts and the Budgets are defined for the full project.
    2. The Other way is to carry forward your funds available from last year. Go to Journals -> Generate -> Carry Forward and carry forward the balance for a certain range of account from one financial year to the next one.
    Gajendra

  • How to use iphone 4s from japan locked by softbank ?

    how to use iphone 4s from japan locked by softbank?

    Ocean20 answered your question, don't waste your time contacting Softbank as Chris CA suggested. There are no officially unlocked iPhones sold in Japan & none of the Japanese carriers...which include Softbank...offer official unlocking for the iPhone. There is no way to get any Japanese iPhone officially unlocked.

  • How to use .mod files from a JVC camcorder?

    Hi All,
    I'm trying to find the proper workflow for using .mod files from a JVC Everio model camcorder. I was able to transfer the files onto my system by simply using the included usb cable from the unit. It simply mounted the camera's flash card on my desktop and I was able to drag all of the files from it.
    As others have posted, the .mod files are not accessible using the Import function in FCP. I am able to open them with MPEGStreamClip as other have suggested. My question is, how should the files be converted to use with FCP and/or DVDSP? In MPEGStreamclip the file shows the video stream as: 224 MPEG-2, 720 × 480, 16:9, 29.97 fps, 8.40 Mbps, upper field first. I tried a few of the demux functions. The straight demux to .m2v & .ac3 yields a file that opens in QT, but it shows up as a 640x480 file and is noticably squeezed. Using the demux unscaled yields a file that opens in QT as a 720x480 file and looks somewhat better. And using the demux to headed yields as file that opens in QT as 720x404 and presumably is the correct 16:9 ratio.
    Trying to use those same files in DVDSP didn't get me very far. If I create a new HD project in DVDSP I can import the straight demuxed file and the headed file. The unscaled file won't import. If I add the imported files to tracks the straight demuxed one will play in the simulator but the headed one simply shows a green screen.
    I'm hoping that since MPEGStreamclip can play the files, its just a question of figuring out the proper export/conversion settings. My end goal is to produce a dvd of the footage (not exactly sure if I should be using an HD project or a SD project set to letterbox). I also need to produce a web-ready version of the footage. I haven't tried this yet but I'm assuming that one of the QT exports from MPEGStreamclip will get this done correctly.
    Hopefully someone has a workable solution for these files.
    Thanks,
    Chris

    Hi all,
    I looked further on this forum and found others that had the same problem. One suggested connecting the cam corder first, then start iMovie, then wait for a few minutes. I did this and it worked!!!!!
    Problem solved.
    Thanks.

  • How to use the result from a taglib?

    Hi people.
    I've been looking arround for some feedback on how to use the output generated by a taglib on jsp code but I haven't been able to find any.
    Could somebody tell me how to do that please?

    It works something like this:
    The tab library consists of a class library and a tag libraray descriptor file. In your jsp header you include a taglib directive which associated athe TLD with a particular name prefix. Then you can include XML tags with that prefix and the tag library class to which they are connected will be invoked from the servlet that is generated from the JSP. This tag code can do pretty much anything, but usually what it mostly does is write HTML to the response stream. Opening tags and closing tags can both add whatever text they like to the stream which is sent to the client.
    So including the tag in you JSP will usually suffice to cause generated output, it's up to the taglib.

  • How to use alias in "From" field when I send a mail with utl_smtp ?

    Hi all,
    I'm using a PL/SQL package with an Oracle 11G database to send mails. It works fine but instead of use of my mail in "From" field like "[email protected]" as sender E-mail address, I would like to have "Toto" in the sender address. I tryied to use utl_smtp.mail(l_connection, '<toto> [email protected]') but it doesn't work. The only way I can send mail is when I set utl_smtp.mail(l_connection, '<[email protected]>') directly. When I use the Alias, I have an error from smtp server telling that I use a bad syntax address.
    Does someone know how to use the alias ? Where do I do a mistake ?
    Thank you for your help.
    sis2b

    Thank you, I find how to solve the problem thanks to your link.
    I try to send HTML E-mail so I had the From in the from field writen in the header of the mail and not to initialize the connection.
    sis2b.

  • Just got a new 2.7 and wondered how to use optical out from g5

    i got 2408 motu and wanted to use apples optical ins and outs together 2408 i tried have not even figured out how to get the optical to work bare with me im switching over from protools .So explain the setup on how to use multiple sound cards in logic and if its posible to use apples optical ins and outs thank you

    Ask the Verizon store to exchange your iPhone for a different iPhone 4.
    UPDATE - Sure, try ckuan's solution first.  Then use mine if that fails.
    Message was edited by: sberman

  • How to use parameter passed from standard page in VO query of custom page

    Hi everyone,
    I have a custom page which needs to be called from a standard page. Now this custom page is based on some parameters passed from standard page.
    How do I catch those parameters i my custom page .
    And how to use those parameters in the VO query of my custom page.
    Edited by: Bunny on Nov 11, 2010 9:16 AM

    Hi,
    Bunny wrote:
    I have a custom page which needs to be called from a standard page. Now this custom page is based on some parameters passed from standard page.
    How do I catch those parameters i my custom page .---If standard page the button style is :Button,Then u can set Destination URL in personalization.
    Destination UR:"OA.jsp?page=/xxx/oracle/apps/po/msg/webui/CustomUpdatePG&Flag=" +Value  ---Like u can pass params
    ---IF the button style is :Submitbutton ,Then u need to customization of the co.
    ---In co processFormReq call a cutom page like below.
    pageContext.setForwardURL("OA.jsp?page=/xxx/oracle/apps/po/msg/webui/customUpdatePG&Flag=" +Value, null, (byte)0, null, null, true, "N", (byte)0);
    ---In custom page co in processRequest u can get these value :String value=pageContext.getParameter("Flag");
    And how to use those parameters in the VO query of my custom page.---Get the vo and set where clause
    String where="valueAttr="+value;
    vo.setWhereClauseParams(null);
    vo.setWhereClause(where);
    vo.executeQuery();
    Regards
    Meher Irk
    Edited by: Meher Irk on Nov 11, 2010 11:53 PM

  • How to use an own plugin to add 3d-content

    Hi,
    I have started to develop a plugin for Acrobat 8.0 that will add some kind of 3d-content to an existing model. I tried somewhat, but I face the problem that I can't find out how to use the plugin in Acrobat with Javascript. I added the .api file in the folder Acrobat/Plugins and the plugin is loaded.
    But I can't find out how to use the methods of the plugin. I always get the error: 'can't found [methodname]'. Do you need to use some kind of prefix, or whatever. Perhaps this is a newbie question, but I can't find out it in the documentation.
    Any help will be fine!
    Regards,
    Ewout

    > I face the problem that I can't find out how to use the plugin in Acrobat with Javascript.
    That's right. You can't.
    >
    >But I can't find out how to use the methods of the plugin.
    You cannot use the methods of a plug-in. They are for its own internal
    use.
    A plug-in registers for call backs. Most obviously menu selections,
    but also selecting a tool, clicking on a button, opening a document,
    changing page etc. Also it can register an "idle" procedure to be run
    when Acrobat is not busy, at intervals. Your plug-in code is run, by
    Acrobat, at these moments.
    Aandi Inston

  • How to use time values from graph or chart for other calculations

    iam generating an ultrasonic signal of frequency 500k. In the equation i need the values of time axis of the graph or chart for calculationg the envelope of the graph. please help me how to use the x-axis time values.I have tried by writing in spread sheeet or by using arrays. here iam not able to get only 1 dim time values.
    AshwiniP

    Use a property node

  • Can't use CS4 Editor from PSE Organiser

    I want to use the Photoshop CS4 editor from Photoshop Elements 8 but after editing and saving the file it just disappears from the folder and Photoshop Elements 8 retains the edit in progress red bar.
    I'm using Windows 7 - 64 bit

    This is exactly the problem I have as well. I am working with support to try to find a solution but at this monemt I just don't believe that it works.
    http://forums.adobe.com/thread/584470?tstart=0
    Peter

  • How to use Migration Assistant from OS 10.7.5 mac to new mac Maverick?

    Got a new imac.  I'm trying to use Migration assistant from my non-Maverick imac to the new one.  I'm told that I have to update my former mac, but it's too old to update to Maverick.
    So, how can I use Migration Assitant to transfer files?
    Thank you.

    The easiest method is to use the Time Machine backup from your old computer and connect it to the new machine. Then launch Migration Assistant on the new machine and use the TM backup HD to migrate to the new machine. DO NOT do this wirelessly, your profile indicates you have a Time Capsule, if you use that for your TM backup then connect it via eithernet to  your new iMac to do the migration.

  • How to use result obtained from clientContext.executeQueryAsync

    i have to use result obtained from clientContext.executeQueryAsync for condition in code.But, now i face problem that clientContext.executeQueryAsync result not obtained when needed.

    Hi,
    I suggest you provide more information about your requirement(your code) or error messages for further research.
    If you want to get list items using JavaScript Client Object Model(JSOM), the following articles for your reference:
    How to: Retrieve List Items Using JavaScript
    https://msdn.microsoft.com/en-us/library/office/hh185007(v=office.14).aspx
    Working with the ECMAScript Client Object Model (JSOM) in SharePoint 2010–Part 3
    http://blogs.msdn.com/b/sharepointdev/archive/2011/07/19/working-with-the-ecmascript-client-object-model-jsom-in-sharepoint-2010-part-3-nikhil-sachdeva.aspx
    We can also use REST API to achieve it.
    SharePoint 2013 – CRUD on List Items Using REST Services & jQuery
    http://www.plusconsulting.com/blog/2013/05/crud-on-list-items-using-rest-services-jquery/
    Thanks,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Dennis Guo
    TechNet Community Support

Maybe you are looking for

  • IOS 7 calendar bugs

    iOS 7 calendar on iPhone is not showing notifications for today or scheduled events for tomorrow. Is anyone experiencing this problem?

  • Down payments Report

    Is there any SAP Standard Report available for viewing the <i>different down payments paid</i> and <i>final payment</i> by the customer in case of milestone billing? Plz help. Regards, Anbu

  • Can a ePub or an App through DPS be 508 accessible?

    Does anyone know if you can make an ePub designed through InDesign 508 accessible? What about a digital publication app built through the Folio/Viewer builders? Thanks.

  • I can't down load Creative Cloud on my mac

    Every time I try to down load an app from Creative clue I go to a white screen with four small rotating shares in the middle. This happens every time but nothing seems to be happening. I've even left it 'downloading' over night.

  • Accordion Menu - need to control which panel opens

    I have an accordion menu that works fine but when I put it into action on the site, I realized that I needed the accordion to open up a different section on each new page. Since I have the accordion menu in an SSI (server side include) I don't want t