How to retrieve all the art objects which are inside a selected path?

Hi,
I need it for a plug-in I want to create.
In fact, I want to enable the user to draw a closed path which will select all the objects inside it.
I actually need something like a Lasso Tool but one which also draws a path.
I'm looking for it, but unable to find it.
If you can help me, I'll be thankful.
Leon.

Let's say I require that the entire art must be inside the path(Or at least all it's anchor points).
Anyway, one thing for sure - I assume the path is a simple closed path, ie the path doesn't intersect itself(like figure 8 shape).
What is the way to check whether an art or at least a point is inside such a path(not inside it's bounding rectangle, but inside it)?
I wonder why there is no such function if the Lasso Tool exists in AI and it does some such geometry computation, at least this is what I think.
I thank you guys for your replies.

Similar Messages

  • How can we capitalize the PR/PO, which are already booked in cost center?

    We are creating a capital Project for our department.  We have the structures ready and finalized with the budgets. But, the department has already done some commitments and expenditures in their cost center .Now, this expenditure and commitment values needs to be reflected in the report, so that correct values of assigned and available should be updated.
    1) Pls. suggest a process using which we can transfer this amount. Is this to be done by an FI entry or else we need to commit using sanction request?
    2) How can we capitalize the PR/PO, which are already booked in cost center?

    Hi,
    As we know the Contract is an Outline agreement for Quantity or Value for a particular Period with vendor.
    Without mentioning Plant also we can make contract for the Purchase organisation level for particular Material for the entire period
    Where as while creating PR  -it is an Indent for the material requiement for the specific Plant so when you refer Agreement inthe PR creation time System will ask you how much quantity to what plant you want to place indent. where as In PO  it ia an legal document so when you refer Agreement it will take all the details from Contract
    i think you are clear with my points
    With regrads
    Shrinivas gangoor
    Edited by: Shrinivas Gangoor on May 22, 2009 2:53 PM
    Edited by: Shrinivas Gangoor on May 22, 2009 2:54 PM

  • SQL query  which return all the NET SERVICES which are avaiable in tnsname

    hi all
    how to write a sql query which return all the net services which are avaiable in tnsname.ora
    Regards
    s

    Also, tnsnames.ora is stored on the client, and not necessarily on the server; it's possible (and quite likely) that the name I use for a database in my tnsnames.ora could be different from the name you use for the same database; conversely we might use the same name for two different databases.
    Regards Nigel

  • Find out all SAP Standard Objects which are Modify

    Hi
    How can i find out all SAP Standard Objects which are Modify?
    Regards
    Vikram

    Hi,
    You can find all SAP objects list via t-code SWO2, as to these objects, if you want to change anyone of them, you should apply an access key in advance from http://service.sap.com, otherwise you can not modify any object in SAP system.
    Good luck
    Z.T

  • How can we restrict the absence status (Which are not yet to be approved)in team calendar(MSS)

    How can we restrict the absence status (Which are not yet to be approved)in team calendar(MSS)

    Hi user570596,
    I think there is no method to actually restrict the date picker popup, but you can use the ApexLib Framework (http://apexlib.sourceforge.net/) to define a min/max value for your date field. This will prevent the user from submitting the page when the date value is outside the defined range.
    See http://inside-apex.blogspot.com/2007/03/min-max-value-validation-in-browser.html
    for details.
    Patrick
    Check out my APEX-blog: http://inside-apex.blogspot.com
    Check out the ApexLib Framework: http://apexlib.sourceforge.net

  • How to retrieve all the tasks for a UserView with the worklist api 10.1.3.1

    Hi,
    I have defined a custom view for user jcooper. The view just displays all the current uncompleted tasks for jcooper.
    I want to use the worklist api to retrieve all the tasks in the view. I first tried it with the following function call:
    taskQueryService.queryViewTasks(workflowContext,viewName, null, null, 0, 0);
    assuming that the viewId in the corresponding java-doc corresponds to the name of the view..However this doesn't work and the method returns a null reference. So viewId is something different than a viewName. Because I cannot find the corresponding viewId for my view (not looked in the db yet, but I don't want to use these ids in my app), I tried the method:
    client.getUserMetadataService().getUserTaskViewList(workflowContext, Partcipant participant);
    However I did not find a method to retrieve a Partipant instance for jcooper in the worklflow api documentation.
    My question now is if someone can help me out to retrieve all the tasks for a specific view. I should be possible I think...
    Thanks!
    Kind regards,
    -Tom

    The second argument (Participant) was added to handle the use case where one user such as an admin or manager needs to retrieve user metadata of another user (offcourse with the required security checks). We will try to do a future enhancement such that if the pariticipant is passed as null then we will assume the metadata is to be retrieved for the workflow context user.
    For now you can define a simple method to create a participant from a workflow context as follows and pass this as an argument to the UserMetadataService call:
    private Participant createParticipant(workflowContext)
    Participant participant = new oracle.bpel.services.workflow.common.model.ObjectFactory().createParticipant();
    participant.setName(workflowContext.getUser();
    participant.setRealm("jazn.com");
    participant.setType("USER");
    return participant;
    // code to retrieve task list...
    UserViewList views = client.getUserMetadataService().getUserTaskViewList(
    workflowContext, createParticipant(workflowContext))
    ...

  • How to point to the HelpSet file which is inside a Jar

    Hi All,
    Can anyone please help me out on as to how I incorporate my help files (which are inside a jar) with JavaHelp. They are working fine when they are in a folder. But giving an error when i am trying to reference it from a jar file.
    Thanx in advance,
    Debopam.

    Hello,
    I have a little Example, and I hope this will help you.
    Melly
    * Opens the documentation in an JavaHelpViewer.
    protected void showDocumentation() {
         String jarFilePath = ".../test.jar";
         HelpSet hs = getHelpSet(jarFilePath);
         if (hs!= null) {
         HelpBroker hb = new HelpBroker(hs);
    hb.setDisplayed(true);
         else {
         System.out.error("Can't find the helpSet-file.");
    * Returns the HelpSet file which is in included into the given
    * jar file.
    * @param jarFilePath
    * @return the HelpSet file, or null, if the HelpSet file is not found.
    protected HelpSet getHelpSet(String jarFilePath) {
         HelpSet hs = null;
         try {
         String hsName = null;
         JarFile jar = new JarFile(jarFilePath);
         Enumeration entries = jar.entries();
         while (entries.hasMoreElements()) {
              ZipEntry entry = (ZipEntry) entries.nextElement();
              String entryName = entry.getName();
              if (entryName.endsWith(".hs")) {
              hsName = entryName;
              break;
         URL url[] = getURLs("file:" + jarFilePath);
         ClassLoader cl = new URLClassLoader(url);
         URL hsUrl = HelpSet.findHelpSet(cl, hsName);
         hs = new HelpSet(cl, hsUrl);
         catch (Exception exc) {
         System.out.error("Can't find a HelpSet file in: " +jarFilePath");
         hs = null;
         return hs;

  • How to retrieve all the data from a BLOB using view-generated accessor

    I am using JDeveveloper 10g v. 10.1.3 and am storing an image in a database as a blob object and need to retrieve all of the data to get the entire image and store it in an ImageIcon. The code I have works partially in that it retrieves the correct data, but only gets a piece of it, leaving me with a partial image.
    AppModuleImpl am;
    ImageVwViewImpl vo;
    am = (AppModuleImpl)panelBinding.getDataControl().getDataProvider();
    vo = (ImageVwViewImpl)am.findViewObject("ImageVwView");
    ImageVwViewRowImpl ivo = (ImageVwViewRowImpl)vo.getCurrentRow();
    ImageIcon icon = new ImageIcon(ivo.getImage().getBytes(1, (int)ivo.getImage().getBufferSize()));
    jULabel1.setIcon(icon);I either need to know how to use a stream to get the data out (from BlobDomain method getBinaryStream()), or how to get the other chunks of data separately.
    edit: I know the problem is that getBufferSize() returns an int which is too small to hold all the data, but need to know what to use instead. Thanks!

    This is the code I'm using now. Same problem :(
    AppModuleImpl am;
            ImageVwViewImpl vo;
            am = (AppModuleImpl)panelBinding.getDataControl().getDataProvider();
            vo = (ImageVwViewImpl)am.findViewObject("ImageVwView");
            ImageVwViewRowImpl ivo = (ImageVwViewRowImpl)vo.getCurrentRow();  
            ImageIcon icon = new ImageIcon(ivo.getImage().toByteArray());
            jULabel1.setIcon(icon);

  • How to retrieve all the information about a workbook saved on the DB

    Hi everybody,
    I created some reports, but after have modified and have renamed custom folders and joins on the Administrator, now I'm not able to re-open any report (they are completely finished !!!)
    I have the following error: Cannot join tables used in the workbook.
    I know that the problem are the joins on the Administrator....that I modified after the reports creation....and now I don't remember how they were originally when I created the reports....
    So, I'd like to retrieve from the workbooks saved on DB which tables (or custom folders) they use and how they originally connected (joins' names, etc..), in order to rebuild on the Administrator the old structure and reopen my workbook.
    Is there a place where all the information about the workbooks saved on the DB are stored ?
    Thanks a lot in advance
    Alex

    Hi,
    All the workbooks are stored in the EUL5_DOCUMENTS table. They are stored in a LONG RAW column and in a binary format so this is not much help to you.
    You could try using the workbook dump utility which is provided with Disco Admin and Desktop. You run it from the command line:
    d51wkdmp Workbook1 Workbook1.txt DB user1:"System Administrator"/pass1@dbname EUL5_US -f
    Rod West

  • How to retrieve all the users along with their password from LDAP

    Hello,
    Can anyone let me know how to retrieve and list all the user along with their password from LDAP.
    Thanks

    Hi Prashant,
    I have limited experience with Synchronization, but I agree with you - if you need to synchronize Passwords, you need to have the Password in clear Text.
    If you trying to build your own Synchronization Solution using any of the avaliable LDAP APIs, I don't think you can ever retrieve a user's Password in clear text.
    However, I did come across an interesting article & I hope you find it useful :-
    http://www.oracle.com/technology/obe/obe_as_10g/im/configssl/configssl.htm
    I am not sure if SSL is necessary - If you have a look at Metalink Note 277382.1 ( How to Configure OID External Authentication Plug-In for Authentication Via Microsoft Active Directory (MS AD) ), teh question asked by oidspadi.sh for the same is asnwered as "N".
    Regards,
    Sandeep

  • How to show all the data from playback area so that the statictics max and min analysis applies to the entire logged data.

    I have a data file with 19 channels of voltage and I what to retrieve the maximum, minimum and mean of the entire run for each channel. When I do playback it does only 25 seconds of data and being a newbie I have no idea nor can see anyway of changing this.
    One thought I had was to run playback with a save to LVM then go to mointor area and load the saved file followed by a statictics step.
    Is there any other option?

    We need more information to help you.  Specifically, the following would be nice:
    What format is your data file in (can you post an example?  Please zip it to save space.)
    Can you post your read and/or write code?  The problem may be there.
    What version of LabVIEW are you using.  This can effect our recommendations.
    As you discerned, there is no fundamental reason for this problem.  On a side note, LVM is a poor format for large amounts of data or a disk buffer.  I would recommend TMDS or HWS, depending on your version of LabVIEW.
    This account is no longer active. Contact ShadesOfGray for current posts and information.

  • All the sytem objects  & JCO connections not working in Portal

    Hi,
    Can any body tell me,
    Last we we had copied the client copy from EIK 100 ( Production R3 server ) to EIT 900( Testing R3 server). From that movement.All the System object which are created in portal server to access the EIT 900 in R3 servers not giving the data .Even the JCO connections which are used to connect the the EIT 900 is not giving the data.
    So , cany any body have idea where we need to check , how to trouble shoot this problem.
    Regards
    Vijay

    Hi Brad,
    Thanks for the reply.
    Can u please tell me , both the servers are have the sld connection.
    SLD connections are in the following setup.
    TestServer(Portal) ---> EIT900(R3 Test Server)
    Production(Portal) --->EIK100(R3 Production Server)
    Can u please tell where will be the problem how i need to trouble shoot.
    i have added one image of the JCO connections, all the connections got disabled. wht might be the reason.
    I have added the bitmap of JCO connections in the  following path for your reference.
    JCO connections disabled.gif
    Regards
    Vijay

  • Know the created info objects which are used in which info providers.

    Hi Experts,
    How can we know the zinfo objects which are used in which info providers.

    Hi,
    Either you can check the where used list of Infoobject as suggested by Gaurav, or you can goto transaction SE16 and put the table name as RSDCUBEIOBJ and put the Infoobject name.
    You will get the list of all Infoproviders in which the infoobject is used.
    Regards,
    Durgesh.

  • How to retrieve all users in the portal with UME API

    Hi everybody,
    I would like to know how to retrieve all the users from a portal, which uses LDAP as a source (there are users created in the portal as well)
    My code snippet is :
    IUserFactory userFactory = UMFactory.getUserFactory();
    UserSearchFilter searchFilter = userFactory.getUserSearchFilter();
    searchFilter.setDisplayName("*", ISearchAttribute.LIKE_OPERATOR, false);
    ISearchResult searchResult = userFactory.searchUsers(searchFilter);
    My problem is that with the code above, only the users created in the portal are displayed, and no LDAP users.
    Does someone know how to retrieve all the users whatever is the source?
    Regards
    Renaud

    prakash's code should work.
    however, mine code below doesn't user a search filter. it retrieves everyuser including users like indexadmin etc. Note:
    result.next().toString();
    returns a weird uniqueID used in the portal world.
    getUniqueName()
    gives your the usernames (sAMAccountName in Microsoft AD) people use to logon to the portal.
    try {
      IUserFactory uf = UMFactory.getUserFactory();
      ISearchResult result = uf.getUniqueIDs();
      while (result.hasNext()) {
        String uniqueid = result.next().toString();
        IUser user = uf.getUser(uniqueid);
        String userid = user.getUniqueName();
    } catch(Exception e) {
      //systemout

  • Trying to retrieve all the records from the file on desktop

    HI All
    I have one particular problem. I was given a text file which as 7000 records with length 512 each in a continues string. I Changed begining of each record with comma  in that text and saved it in .csv , when I try to upload the file into my program's internal table.
    It is still giving one record. I used
    itab_EXTRACT1 declared as
    DATA: begin of itab_extract OCCURS 0,
            extract1(512) type c,
          end of itab_extract.
    call method cl_gui_frontend_services => gui_upload
        exporting
          filename                = Xfile
        filetype                    = 'ASC'
         has_field_separator     = 'X'
        changing
          data_tab                = itab_EXTRACT1
      exceptions
        others                  = 17.
      Is there a way how to retrieve all the records into the internal table.
    Thanks
    Ravi

    Hi Ravi,
    I don't know if this is the correct solution, but I think it will work.
    Declare your internal table (itab_extract) with the maximum length which your file will occupy.
    Create another internal table (itab) with field (text) length 512.
    Populate the internal table itab_extract using GUI_UPLOAD.
    Then write this code
    l_index = 1.
    itab-text = itab_extract-extract1+0(512).
    append itab.
    do.
    n = ( l_index * 512 ) + 1.
    itab-text = itab_extract-extract1+n(512).
    append itab.
    if ( itab-text is initial ).
    exit.
    endif.
    enddo.
    Let me know if I miss anything.

Maybe you are looking for

  • Urgent--Please help me in woklist customization

    I have a requirement where user wants to customize the worklist apllication, he wants to change the assignee users name from "jcooper" to "James cooper" where shold i change the code in jsp .please help to solve this issue.. Thanks in advance. Shaik

  • Rollovers work in iweb - but not online

    I have created a website in iweb with several hyperlinks just by highlighting a line of text and making it a link. The normal,rollover and visited colors work fine in iweb. However, once I go online to see my page the rollover color does not show whe

  • How to change the result status "Failed" after the test to "Passed"

    We make a picture of a LCD screen and look if its all working. Sometimes the LCD screen is working propper but the Step Failed. In case automatic LCD test fails we show the picture from the camera to the user and he can decide if the LCD screen passe

  • Updating or inserting database problem

    Hi, I have a problem when i try to insert or update records within database from java, i m using ms access. I can retrive the data from the table but when i insert or update it , the code executes without any error but has no effect on the table. I w

  • Broken network?

    My nforce 420D is still causing troubles with networking... it keeps dropping out and there are alot of performance issues as well. Is there work around for this issue? Thanks