IHierarchical Collection View

Dear All,
I m using the ADG and array collection (collection of class extend by object) as data Provider e.g .:
The (arrDataprovider[0] as TestLibraryClass) is data provider of ADG1. when i will apply the filter via using
IHierarchicalCollectionView(AdvancedDataGrid(vb.getChildAt(0)).dataProvider).filterFunctio n=statusFilter ;
IHierarchicalCollectionView(AdvancedDataGrid(vb.getChildAt(0)).dataProvider).refresh();
private  
function statusFilter(item:Object):Boolean{
//doign some cross checkijng here and  i will remove the TestLibraryChildSequence ('nth' child of arrDataProvider) in item, then the main arrDatarovider also updated.. but  as per Adobe site the 'filter OR sorting on IHierarchicalCollectionView  will effect only view of data not on orignal data'. but dont know why the remove item was effected in orignal data???
Please help me...

I think the order depends on the source order of the attributes on the eo or vo. If you sort the attributes there they should show up sorted in the list too.
Timo

Similar Messages

  • Strange problem with Outlets and Collection View Items

    This is a strange issue. I am using XCode 3.2.2 and I am building a Collection View. To do this I have a non-document based application that uses Core Data.
    *Collection View Item Class*
    I created a new class that inherits NSCollectionViewItem and built it to have an outlet to the Label.
    *Collection View Item NIB*
    I created a Empty NIB for my Collection View Item. To the NIB I added a Custom View object and set the Class Identity to NSBox. I then added a Label to the new NSBox. I changed the File Owner to the new class and connected the "view" outlet to the new NSBox and the Label to the label outlet.
    *Main Menu NIB*
    I added a new NSCollectionViewItem object to the Main Menu NIB and set the Class Identity to the new class mentioned above. I then set the NIB Name to the name of the NIB mentioned above. In the window I added a NSCollectionView then set its Item Prototype to the new NSCollectionViewItem object I just configured. This is the typical way to set up a collection view with its item in a different NIB.
    *Back to the problem*
    Everything seem to work well except that in the setRepresentativeObject in the Collection View Item class when it attempts to set the Label to a value. Nothing happens. When I check closely I find that the Label is coming back nil. It is properly linked. I deleted everything and rebuilt the collection view item and relinked everything without success.
    *How I made it work but not happy with it*
    I have finally made this work by simply putting the line "[self view];" just before I attempt to run "[label setStringValue:name];". If I remark out the "[self view];" the label returns nil. I have a note near the line to make it easier to spot. It seems that I should not need to access the superclass's "view" accessor just to access one of view's subviews. Is this a bug or have I written this wrong?
    The Collection View Item code is below. Any help is appreciated.
    Thanks,
    Rob
    #import <Cocoa/Cocoa.h>
    #import "PersonManagedObject.h"
    @interface PersonSelectionViewItem : NSCollectionViewItem {
    NSTextField *label;
    #pragma mark Finalizers
    - (void)dealloc;
    #pragma mark Outlets
    @property (nonatomic, assign) IBOutlet NSTextField *label;
    #pragma mark Instance Methods
    - (void)configureKeyValueObserving;
    - (void)removeKeyValueObserving;
    #pragma mark Overrides
    - (void)setRepresentedObject:(id)representedObject;
    - (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context;
    @end
    #import "PersonSelectionViewItem.h"
    @implementation PersonSelectionViewItem
    #pragma mark Finalizers
    - (void)dealloc{
    [self removeKeyValueObserving];
    [super dealloc];
    #pragma mark Outlets
    @synthesize name;
    #pragma mark Instance Methods
    - (void)configureKeyValueObserving{
    PersonManagedObject *person = (PersonManagedObject *)[self representedObject];
    [person addObserver:self forKeyPath:@"lastNameFirstName" options:0 context:NULL];
    - (void)removeKeyValueObserving{
    PersonManagedObject *person = (PersonManagedObject *)[self representedObject];
    [person removeObserver:self forKeyPath:@"lastNameFirstName"];
    #pragma mark Overrides
    - (void)setRepresentedObject:(id)representedObject{
    [super setRepresentedObject:representedObject];
    NSString *personName = (NSString *)[representedObject valueForKey:@"lastNameFirstName"];
    [self view]; //<---Without this line the "label" variable 2 lines down will be nil.
    if (personName) {
    [label setStringValue:personName];
    [self configureKeyValueObserving];
    - (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context{
    if ([keyPath isEqualToString:@"lastNameFirstName"]) {
    [[self label]setStringValue:[object valueForKey:@"lastNameFirstName"]];
    } else {
    [super observeValueForKeyPath:keyPath ofObject:object change:change context:context];
    @end

    I think you must be correct. I just ran into the problem again in yet another NIB. It was in the setRepresentedObject method. I simply put in the same line "\[self view\]" just before I needed to set the value of the view component and it worked again. If it is the same in other components I guess I just need to pay attention to it. Thanks for the information.
    Message was edited by: Cycles4Fun

  • NS collection view  or NSCollectionView, what it does, a documentation

    hi.
    if you're here, you're looking for documentation for the poorly described collection view. This is by no means exhaustive, but it is meant to complement and expand on Apple's official documentation. As far as I know this information IS NOT embargoed, just simply not documented yet. I want to focus on what it is, and what its features are, so that you, the developer new to collection views, do not have to try it, in order to decide if it works for you.
    a collection view, represents objects with Views, in a similar way that matrices do with Cells.
    the collection view lays out and dynamically tracks its content. it works very well with bindings, and expects to have a view prototype. It uses a Controller object called a collection view item (NSCollectionViewItem) to negotiate the tricky steps you'd have to go through to get the controls in the subView to hook up to the correct object.
    as a developer, you create the collection View, you design the contents of the subView prototype, and you Bind the contents of the Subview to a special binding in the CollectionView Item. And finally you bind the content of the collectionView to an ArrayController. (you can do alll this programatically of course, but... you'd have to be insane)
    At run time, the CollectionView asks its content for an array of representedObjects.
    it then makes a new collectionViewItem for each represented object, and if you've bound your prototype view properly... the controls will be automatically bound to the right object.
    from that point on, the collectionView man handles the subviews. it can auto resize them, it can shuffle them around so that they fit the collection view, and it has some cool options with hidden potential.
    but... if you want to justify the subviews (have them crowd around the top of the collectionView) you can't
    if you want to resize your subviews, (like the disclosure inspectors you can find in Painter, that are represented by bars, until you click on the bar, and it expands to get at the details) the collectionView has no mechanism to respond to subViews that change size.
    theres my short description of NSCollectionView. if you have more to add, or questions, please feel free to post.

    don't worry, it's normal and it will fade away by itself. If not, take it to your apple store

  • Create New Operations for data collection(View Object)

    ADF data collection(View Object) supports Create, CreateInsert, Delete, etc operations.
    And would like to add more operations like clear, etc. How do i create my own operation and add it to data control for all the view objects in the data control.
    Thanks
    JP

    hi esjp2000
    I'm not sure what kind or "clear operation" you are looking for, but I recently asked about a "clear search" in this forum thread:
    " ADF BC : "clear search" using executeEmptyRowSet() "
    ADF BC : "clear search" using executeEmptyRowSet()
    It is about the executeEmptyRowSet() method, and that might not be what you are looking for. (It might not even be what I am looking for because it is undocumented and that is what my question is about and I haven't had an aswer yet.)
    But ... it does provide an example of a "service method" Shay is referring to, in the example application:
    http://verveja.footsteps.be/~verveja/files/oracle/ClearSearchStuff-v0.01.zip
    (So, the specific service method implementation, "ScottServiceImpl.executeEmptyRowSetOnEmpWithParamsVOVI()" in the example, would be different in your case, depending on the specific "clear operation" you are looking for.)
    success
    Jan Vervecken

  • Lightroom annoyance - can't delete photos in collection view?

    If I'm viewing a collection (which I am most of the time, because I don't want to be viewing "all photos" which is a mess), I'm unable to actually trash a photo. The delete key simply removes it from the collection. There's no way to actually delete a photo without viewing "all photos" then removing from there.
    Isn't there some easier way to do this?

    I guess it's a matter of preference. :) I leave the camera's original filenames as they are, I don't have time to rename them. I also don't care too much where the photos are.. I know all of them are inside my "Raw Photos" folder, and then each set of photos exist in folders organized by date. Other than that, doesn't matter to me where they are, I use Lightroom to organize them.
    I'm glad someone told me how to delete a photo while in a collection, because that was driving me nuts!

  • No scroll bar for Existing Collections in App Data View?

    Looks like there is a limit to how many collections you can view because a scroll bar isn't provided.  Probably depends on screen size?

    Hi Thor/Peter,
    You are correct about the "Existing collections" view. This something we are aware of and will work to add more flexibility in our future updates.
    The backstage was designed as a location to preview your data to get an idea of what is available/stored. This is why it is marked as "Preview" in your screenshot. This also helps with performance and therefore only five items are visible at a
    time.
    Many thanks for the feedback.

  • How to delete photos from a collection

    Hi,
    The fact that I can't delete a photo when I'm browsing a collection is now one of the few things that really hampering my LR experience. The issue occurs even more often than it needs to because I often need to open several photos in Photoshop from which to create a final composite image. The quickest way to do this is to select them all and choose "Edit in Photoshop". However this create TIFFs for each file that I won't want to keep, so I then need to delete all but one of them.
    I'm hoping that I've just missed something obvious...
    At the moment I have to select the photo(s) that I want to delete, right click, choose to view them in the library, press the delete key, confirm the fact that I really would like to remove the files from the disk, then press the "back" button to get back to my collection view. Hardly quick.
    If the photos aren't all in the same folder then this doesn't work at all since there is no common folder. From the collection view there's simply no way of knowing if this is the case.
    I've tried using the Quick collection to group all the photos that I want to delete, however you can't delete them from there either.
    I've tried using the reject flag to flag all the ones that I want to delete, but that doesn't help either. All you can do with the rejected photos is to remove them from the collection; the reject flag isn't sticky across collection and the folder view.
    I really need an efficient way to delete multiple files from a collection view. Is there one?
    Thanks,
    Tim

    There is a three key combo for this. See the appropriate to your OS PDF in the FAQ, top of forum list, for a comprehensive Keyboard SHortcut list, including operators for Find.
    Don
    Don Ricklin, MacBook 2Ghz Duo 2 Core running 10.5.1 & Win XP, Pentax *ist D
    See LR Links list at my
    Blog for related sites.

  • A bug with flags and active view? Or is it a (bad) feature?..

    As I mark an image in a folder view as flagged and then switch to a collection view and look on the same image, it's not flagged.
    I expect, that information about marking the image as flagged remains on that image, not on a current active view.

    It's as designed - Flags are local to a Folder/Collection.
    >Or is it a (bad) feature?
    It depends - some think it's a great and others hate it with a passion.

  • Is there a way to automatically add pictures from a specific folder to a specific collection?

    I use IFTTT (if this then that) to download any tagged pictures of myself on Facebook to a folder.
    I then use LR to automatically import that folder.
    I'd also love LR to take those pictures and add them to a collection ... Is this possible>?

    I need to take a step backwards here.
    The idea of adding "vacation" or other identifiers to a file name seems to me to be missing the entire point of the Lightroom Library Module. Identifiers like "vacation" are metadata, they should be assigned as keywords or collections (in my mind, keywords are preferable), and not added to file names.
    There are a number of reasons why keywords are preferable to using "Vacation" in the file name
    File names are limited to a certain number of characters, which includes the entire folder path preceding the file name. Thus, you can only have a certain number of identifiers in a file name before you run out of characters. On the other hand, there is no limit to the number of keywords that can be assigned to a photo
    Keywords give you a more powerful organizational tool
    Keywords are searched must faster by Lightroom than file names
    File names can be accidentally misspelled and this will interfere with your search, while there are several ways in Lightroom to assign a keyword without you having to type it in.
    So in answer to your question
    When in a collection view, how can I rename selected photos, hoping that I can add prefix/suffix? Thx
    My answer is don't do this. Use keywords instead. There may be a way to do so, I don't know, I never did anything like this.
    And again, I ask, because I didn't really see an answer, why do you need TWO structures (collection and file name) to identify vacation photos, when one will suffice?

  • Problem with Embedded Files/Collections

    I have written a Pdf file (fragments below) to act a container to other pdf's. Initialy it all looks good, however when I click on the embedded file inside Acrobat Reader instead of displaying the contents I get a thumbnail of the acrobat logo with the Open and Save options underneath. If I click open it opens a new Reader window with the container file displayed again, not the embedded file. However if I click save it saves the embedded file down to disk correctly.
    How can I make it so that when the file is clicked in the attachments window it opens directly into the main reader window?
    5 0 obj
    <<
    /Params <<
    /Size 5298
    /ModDate (D:20081002163423+01)
    /CreationDate (D:20081002163423+01)
    >>
    /Length 5298
    /Type /EmbeddedFile
    /Subtype /application#2Fpdf
    >>
    stream
    endstream
    endobj
    6 0 obj
    <<
    /Type /Filespec
    /EF <<
    /F 5 0 R
    >>
    /F (Options Report.pdf)
    /Desc (Options Report)
    >>
    endobj
    7 0 obj
    <<
    /Type /Catalog
    /Pages 8 0 R
    /OpenAction[4 0 R /Fit]
    /Names << /EmbeddedFiles 9 0 R >>
    /Collection <</Type /Collection /View /T>>
    >>
    endobj
    9 0 obj
    << /Names [ (Options Report) 6 0 R ]
    >>
    endobj

    Leonard, I have uploaded the completed file to http://forum.planetpdf.com/webboard/wbpx.dll/~planetpdfforum/read?167447,3
    I could not see how to upload files to this forum.
    As stated above the file opens in Acrobat Reader v7 to the cover page, and allows the embedded files to be opened in seperate application windows, as it does in version 9. However under Acrobat Reader v8 when an embedded document is opened it just re-opens at the package level, not the embedded doc.
    Thank you in advance if you can look at this.

  • How to rearrange single photo in grid view

    This seems like a silly question, but my library was imported and one photo out of 1000 shows up at the beginning in the grid view. I'd like to move it to the correct chronological location so it fits in with all the the others.
    I can't figure out how to select a single photo and reinsert it into another location in the grid or filmstrip.
    What is the easiest way to complete this operation? Seems to me I should be able to select it and simply drag the image...
    The help file seems to show only global methods for rearranging order. I want to manually move a few images around.

    Topic
    How to rearrange single photo in grid view
    dkindler - 03:33pm Jul 8, 2007 Pacific
    This seems like a silly question, but my library was imported and one photo out of 1000 shows up at the beginning in the grid view. I'd like to move it to the correct chronological location so it fits in with all the the others.
    I can't figure out how to select a single photo and reinsert it into another location in the grid or filmstrip.
    What is the easiest way to complete this operation? Seems to me I should be able to select it and simply drag the image...
    The help file seems to show only global methods for rearranging order. I want to manually move a few images around.
    Reply To This Discussion | Back to Topic List | Bookmark | Subscribe
    To start a NEW discussion click on the Back to Topic List link and select Add Topic.
    If you are in an archive forum please go up to the main topic list (archives are read only).
    Messages
    17 messages. Displaying 14 through 17.
    First Previous Next Last Show All Messages
    DonRicklin - 9:53am Sep 12, 07 PST (#14 of 17)
    Drag from center of image not frame, if you aren't doing so already.
    Don
    Don Ricklin, MacBook 1.83Ghz Duo 2 Core running 10.4.10 & Win XP, Pentax *ist D
    http://donricklin.blogspot.com/
    Post Reply | Bookmark back to top
    birgit ha - 9:57pm Sep 20, 07 PST (#15 of 17)
    I use LR 1.2 on a mac. I can arrange/drag photos when they are in library in all photographs, quick collection.
    As soon as I put them in the categories/keyword tags (in library) I can"t sort them anymore. Sort by user, drag them from center..... nothing works.
    anybody can help??!!! pretty frustrating..
    Post Reply | Bookmark back to top
    DonRicklin - 4:16am Sep 21, 07 PST (#16 of 17)
    User order only works in Folder or Collection (including Quick Collection) Views. And only the lowest (non Parent) level unless Menu/Library/Include Photos from Subitems is unchecked.
    Don
    Don Ricklin, MacBook 1.83Ghz Duo 2 Core running 10.4.10 & Win XP, Pentax *ist D
    http://donricklin.blogspot.com/
    Post Reply | Bookmark back to top
    birgit ha - 7:57pm Apr 8, 08 PST (#17 of 17)
    Lightroom does not open from the dock or out of applications (directly). I only have the lightroom bar on the top of the screen. It allows me manually to select a catalog that I want to open but then I get the message "an error occured when attempting to change modules and a blank lightroom opens.
    Sometimes I am able to create a new catalog but as soon as I close LR and want to open it again the next day or an hour later everything is gone/cannot open LR again.
    I tried to reinstall LR. No change.
    I am using Lightroom 1.3.1 on a Mac Book Pro 10.4.11
    Hope somebody can help!!!

  • Unable to view code for procedures/packages in SQL workshop

    Hi
    1 The code window is blank when i try to view the code of any package/procedure in HTML DB sql workshop..
    2 Also when i try to describe HTMLDB_COLLECTIONS view it hangs..
    Am i missing any settings here..
    Thanks in advance
    Laks

    I understand the HTML DB collections view is populated by the HTML DB runtime but why does it hang the firefox browser when i just give a describe on it from sql window
    Also unable to view code for Stored program units ?...
    Anything i am missing or not aware of ?
    Thanks in advance
    Regards
    Laks

  • PP - Production Order Cost Balance View

    I need help regarding the following situation. I need to see the Legal Valuation in Cost Balance for some Production Orders (Collective View). The Information I need can be obtained for a single PO by entering the PO (transaction CO03) -> <i>GoTo</i>-> <i>Costs</i>-> <i>Balance</i>-> an I find the Information in <i>Balance in controlling area currency</i> in <i>Legal valuation</i>.
    The Information I need is the field WKG_0 in the Structure KPARALLEL_VAL. Can someone please tell me in which Database table I can find this information?
    The information is also to be found in the field ISTKOST_G of the structure KKBCS_OUT.
    So if you think you can help me please send a mail at [email protected]
    Thanks.

    COEP CO Object: Line Items (by Period) is the table.
    Here is where all the costs posted to the Production order is stored by CO document. Please run this table for the object number of the order. This is the storage for the t-code KOB1 Actual line items of an order.  You may  have to get the total of the line items.
    You can find the object number (OBJNR) of the production order in the table <b>AUFK</b> given the field AUFNR (order no.). 
    For a completed order, the total will be zero. Hope you may find this workaround useful.

  • Workflow suggestions, please - Folder to Collection?

    I need some suggestions please of how to efficiently get images from Folders to Collections.  Within each folder I need to select images and place them in the same collection.
    What I'm currently doing is to set the required Collection as Target Collection.  However, when I select the images in the folder - either all (Ctrl+A) or random (Ctrl + L.click) and then press B, only the first image gets placed in the Target Collection.
    Is this a bug or feature?
    I can work around this by dragging the selected images to the collection but then have to keep switching between the Folders and Collection view.
    Any help would be gratefully received.
    Thxs
    Colin

    Answered my own question
    The problem for me is that I was using two monitors.
    The second display was set to Grid view and this is where I select the images.  If you then press 'B' to send to the Target Collection then only the first image gets sent.
    If you have Grid View on the first display and then select the images and press 'B'  all the selected images go to the Target Collection.
    The same effect happens with Flagging or setting Colour Labels.  Only first image on second screen (Grid View) but all selected images if on first screen (Grid View)
    Bug or feature!
    Colin

  • How do I delete collections from iphone

    how do I delete collections on my iphone

    If in the"Collections" view where you see all of the photos categorized in a range of dates, tap on any of those photos and you will now be in "Moments" view. Tap the Select button in the upper right corner and then tap on every photo that you want to delete. Tap the trash can icon in the upper left to delete the photos. The photos will go to "Recently Deleted" album for 30 days after which time they will be removed from your phone unless you delete them first.

Maybe you are looking for