Regarding the delegate for NSTabView

Hi all ,
I am developing a small application where I have have NSTabView .My each TabItem has a view in it i.e. DropBox derived from NSView.I want to drag and drop and perfom some task on the corresponding selected TabItem.
I have created an id delegate and set this as a delegate for an instance of MyController i.e(Control-Drag from instance of DropBox to instance of MyController).The problem I am facing is that the respondsToSelector method always returns NO.As a result if I select any TabItem it always returns zero(i.e the first tab item).Also it does not show any error while compiling.Following is my code:-
//DropBox.m
@interface NSObject ( MyObjectDelegateMethod)
-(int)getTerminal;
@end
@implementation DropBox
- (BOOL)performDragOperation: ( id <NSDraggingInfo>)sender
if (![delegate respondsToSelector:@selector(getTerminal)]){
NSLog( @"performDragOperation : Returning NO");
return NO;
switch([delegate getTerminal] )
case 1 : //task1
case2 : //task2
- (id) delegate;
NSLog( @"Returning the delegate for MyController.");
return delegate;
- (void)setDelegate: ( id)theDelegate;
NSLog( @"The delegate for MyController is set");
delegate = theDelegate;
NSLog(@"delegate:%@", delegate);
@end
//DropBox.h
#include"MyController.h"
@interface DropBox : NSView
id delegate;
- (id)delegate;
- (void)setDelegate: ( id)theDelegate;
@end
//MyController.m
-(int) getTerminal
return [myTab indexOfTabViewItem:[myTab selectedTabViewItem]];
//MyController.h
#import <Cocoa/Cocoa.h>
@interface MyController : NSObject
IBOutlet id myTab;
-(int) getTerminal;
@end
  Mac OS X (10.4.9)  

Hi
The stock monitoring for SC stocks at vendor can be done uswing ME2O report.
If you want to see the total stocks available at vendor then use report MBLB

Similar Messages

  • Regarding the report for vendor stock

    Hello all,
    This is regarding the Subcontracting scenario. We have requirement of transferring the stock of material to Vendor by using 311 Q as the tye child material is in the project stock. In
    However the customer would like to have a report in which we can see the stock provided to vendor  ' Vendorwise or PO wise" .
    Kindly suggest the solution.
    Thanks & regards,
    Sudhir

    Hi
    The stock monitoring for SC stocks at vendor can be done uswing ME2O report.
    If you want to see the total stocks available at vendor then use report MBLB

  • Regarding the event for expand/collapse of navigation panel

    Hi All,
    Is it possible to have an event for the exapnd/collapse for the navigation panel of the portal.
    If yes, how to achieve it..
    Can we add the event for this or not.
    If yes, I want to fire this event from the webdynpro ABAP to collapse or expand the navigation panel of the portal based on some condition.
    Is this possible....
    Thanks Much.
    Regards,
    Lekha.

    Hi,
    See my thread: Hide Detailed Navigation on how to edit the relevant par file.
    I guess you can add  EPCM event (subscribe) and raise it from your ABAP code.
    Hope it helps,
    Omri

  • Need Help regarding the JVM for the ARM926EJS Processor

    I Want to develop an application in java for the IMX.27 board which has ARM926EJS Procesor. This processor is jazelle enabled hardware.
    My questiion is that how to get the JVM for this. So that i will use my Java appliaction. I am using linux OS.
    Thanks in advance.

    Hi Narendra,
    Sun actually has a VM for the ARM ... well, actually 2 VMs for the ARM. Depending on your needs, there's a solution for JavaME CLDC, JavaME CDC, or JavaSE. There's also the open source implementations for CLDC and CDC. Here's how to get more info:
    JavaME: http://java.sun.com/javame/index.jsp
    CLDC open source project: phoneME Feature: https://phoneme.dev.java.net/content/phoneme_platforms.html#phonemefeature
    CDC open source project: phoneME Advanced: https://phoneme.dev.java.net/content/phoneme_platforms.html#phonemeadvanced
    Embedded SE: http://java.sun.com/j2se/embedded/offerings.html
    email inquiry to: [email protected]
    Regards,
    Mark

  • Download a Project file for Visual Studio regarding the Kinect for Windows v2? Getting Started with Kinect Development in Visual Studio

    I am currently trying to make an application for Kinect for Windows v2 but I am entirely new to Visual Studio and Kinect development and could use some help getting started. I honestly have no idea where or how to start and I figured the easiest thing would
    be to obtain a simple project file and examine how it works myself, but I have been unable to find one. The easiest thing would be if I could obtain a project file for Visual Studio that is an application which overlays the Skeletal model over people in real
    time, though similar project files would also be appreciated. The app I am making largely involves things similar to overlaying the skeletal model on bodies so this would get me off to a great start and show me how the code is laid out within visual studio
    simultaneously. (I would prefer the code to be in C# if that is possible but other languages also work).
    I have checked out some of the guides for kinect development but they all assume you know how visual studio works so I cannot get very far in them. Thus if you know of a good guide to get me started with visual stuido AND the Kinect then I would be glad
    to here that as well.
    Alternatively, and I know this is not the right place for this, I have Matlab, which I know works for the Kinect v1 but can't find support for it regarding the v2, so if you could point me in the right direction on how to get it to work with the Kinect v2
    THAT would also work incredibly well as I am much more familiar with Matlab.
    I already have Visual Studio Ultimate 2013 installed, as well as the Kinect SDKv2.0, the physical Kinect for Windows v2, and my laptop meets all of the requirements for development so those are not issues.
    Thanks in advance for any advice you can give me!

    Hi Jicnon,
    Thank you for posting in MSND forum.
    Since this forum is discuss: Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio Editor. About your issue, I think that it is
    more related to the Kinect for Windows v2, so I suggest you can post this issue directly to Kinect for Windows v2 SDK forum:https://social.msdn.microsoft.com/Forums/en-US/home?forum=kinectv2sdk
    ,maybe you will get better support.
    In addition, I find a similar thread about your issue, maybe you will get some useful message.
    https://social.msdn.microsoft.com/Forums/en-US/92b23946-53d2-419c-8624-66e6c390617f/information-to-start-project-with-kinect-for-windows-v2?forum=kinectv2sdk
    Thanks for your understanding.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Regarding the settings for Acknowledgements ?

    In the Application ACKs where and how we done the settings in XI server and ABAP side.
    I followed the below link
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe

    Hi,
    Application acknowledgments used to confirm that the asynchronous message has been successfully processed at the receiver. Acknowledgments can be used only together with async messages.
    So the configuration of ALE AUDIT is the acknowledgment for IDOC communication.
    ALEAUDIT is pretended to be used for Application Acknowledgements, in the case of Idoc to File, you can only send back a Transport Acknowledgement.
    The AleAduit sent in the case of Idoc to File if the file is posted successfuly is not actually a App Ack, and that is why we get the info Ack not possible.
    But, as the R3 might expect this Idoc, XI still sends it back to the Source R3 system.
    I guess this is the only logical conclusion.
    Refer below setp by step guides.
    This is good gudie
    How to Handle Acknowledgments for IDoc (NW7.0) --
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/903a0abc-e56e-2910-51a8-9dc616df56eb
    This Feature is Available under SP 18 and we are on SP16
    http://help.sap.com/saphelp_nw04/helpdata/en/42/c8f66bc7a56bb0e10000000a1553f6/frameset.htm
    Thanks
    Swarup

  • Regarding the nomenclature for include files in SAP

    Hi Group,
    I am presently enhancing a tool for the upgrade thing .The tool is used to derive all the effected objects,so, for that i need to know the nomenclature for include files in SAP.e,g all the include files for table maintenance generator starts with LSVIM.so, we don't need to analyse that include files,so in the similar fashion i need to know nomenclature for include files....
    Thanks,
    Ajitabh Aggarwal

    Hi Group,
    Basically i am working on developing an upgrade tool from 4.6/4.7 to Ecc 5.0/6.0,so for that i need certain information on include files.Basically i need to collect the affected zobjects whic i need to modify,So,for that i need to get the FUGR,FMs and includes which need to be corrected.e.g all deque and enque function modules are irrerelevant and similary includes starting with LSVIM and those that don't have function odules attached to them are for screen maintenance of tables.So, i need certain on inputs on that end.if u have anything,please do tell me.
    Thanks in Advance.
    Ajitabh Aggarwal

  • Query regarding the process for SAP TM 9.0 Certification

    Hi Team,
               I am a SAP TM consultant with an experience of more than 2 years in SAP TM. I would like to take the SAP TM 9.0 certification now.
    Could you please let me know the complete details for applying for this certification?
    Thanks in advance for the help and for your time.
    Thanks & Regards,
    Srikanth.

    Please see the education website. The certification coverage and prerequisites are here on TM certification:
    https://training.sap.com/shop/certification/c_tm_90-sap-certified-application-associate---sap-transportation-management-…

  • Query regarding the tutorial for Oracle Service Bus (OSB 10gR3)

    Hi,
    I am working on a tutorial of Oracle Service Bus (OSB 10gR3).
    I have created the proxy service and the Business Service, using Oracle Service Bus console.
    The details are as follows:
    Proxy service: LoanGateway
    Business service1: A value of 4.9 or less causes the message to be routed to the ManagerLoanReview business service.
    Business service2: A value of 5.0 or greater causes the message to be routed to the NormalLoan business service.
    When i send the request message, so that it gets routed from proxy service to one of the business service than it gives following error.
    Request Document
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    </soap:Header>
    <soapenv:Body>
    <exam:processLoanApp xmlns:exam="http://example.org">
    <loanRequest xsi:type="java:LoanStruct" xmlns:java="java:normal.client" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <!--Optional:-->
    <java:Name>Smith</java:Name>
    <!--Optional:-->
    <java:SSN>1234567</java:SSN>
    <!--Optional:-->
    <java:Rate>4.1</java:Rate>
    <!--Optional:-->
    <java:Amount>9000000</java:Amount>
    <!--Optional:-->
    <java:NumOfYear>10</java:NumOfYear>
    <!--Optional:-->
    <java:Notes>Manager Loan Application Review Service</java:Notes>
    </loanRequest>
    </exam:processLoanApp>
    </soapenv:Body>
    </soapenv:Envelope>
    Response Document
    The invocation resulted in an error: .
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Body>
    <soapenv:Fault>
    <faultcode>soapenv:Server</faultcode>
    <faultstring>
    BEA-380002: Tried all: '1' addresses, but could not connect over HTTP to server: 'localhost', port: '7021'
    </faultstring>
    <detail>
    <con:fault xmlns:con="http://www.bea.com/wli/sb/context">
    <con:errorCode>BEA-380002</con:errorCode>
    <con:reason>
    Tried all: '1' addresses, but could not connect over HTTP to server: 'localhost', port: '7021'
    </con:reason>
    <con:location>
    <con:node>RouteNode1</con:node>
    <con:path>request-pipeline</con:path>
    </con:location>
    </con:fault>
    </detail>
    </soapenv:Fault>
    </soapenv:Body>
    </soapenv:Envelope>
    Response Metadata
    <con:metadata xmlns:con="http://www.bea.com/wli/sb/test/config">
    <tran:headers xsi:type="http:HttpResponseHeaders" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:tran="http://www.bea.com/wli/sb/transports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <http:Content-Type>text/xml; charset=utf-8</http:Content-Type>
    </tran:headers>
    <tran:response-code xmlns:tran="http://www.bea.com/wli/sb/transports">1</tran:response-code>
    <tran:encoding xmlns:tran="http://www.bea.com/wli/sb/transports">utf-8</tran:encoding>
    </con:metadata>

    I have the same problem and I'm not able to telnet localhost on port 7021. How can I change this port number I think that port must be 7001, it is correct?Examples server domain is pre-configured for port 7021. The samples domain will have the examples properly deployed in this domain out of box. You dont need to change any thing in {BEA_HOME}\osb_10.3\samples\domains\servicebus\config.
    I doubt this has to do something with firewall . Check the last statement in the log after starting the domain.
    <May 19, 2009 8:50:09 AM IST> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 10.177.242.25:7001 for protocols iiop, t3, ldap, snmp, http.>
    <May 19, 2009 8:50:09 AM IST> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 127.0.0.1:7001 for protocols iiop, t3, ldap, snmp, http.>
    <May 19, 2009 8:50:09 AM IST> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "AdminServer" for domain "base_domain" running in Development Mode>
    <May 19, 2009 8:50:09 AM IST> <Warning> <Server> <BEA-002611> <Hostname "mneelapu", maps to multiple IP addresses: 10.177.242.25, 127.0.0.1>
    <May 19, 2009 8:50:09 AM IST> <Warning> <Server> <BEA-002611> <Hostname "XYZ-v411-10-177-242-25.oracle.com", maps to multiple IP addresses: 10.177.242.25, 127.0.0.1>
    <May 19, 2009 8:50:09 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <May 19, 2009 8:50:09 AM IST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    What are you seeing in your log file?
    Edited by: mneelapu on May 19, 2009 9:58 AM

  • Regarding the fix for Quark 8.5.1, toolbar icons disappearing in OS 10.7.3...

    Had this problem and sorted it out fine thanks (massive thanks) to this forum.
    HOWEVER... a number of other palettes are suffering the same problem in Quark 8.5 - the core measurement bar, usage window (when checking checking fonts, pics etc). The restart hasn't fixed these other bits, anyone got any ideas???

    yerdwob wrote:
    Had this problem and sorted it out fine thanks (massive thanks) to this forum.
    HOWEVER... a number of other palettes are suffering the same problem in Quark 8.5 - the core measurement bar, usage window (when checking checking fonts, pics etc). The restart hasn't fixed these other bits, anyone got any ideas???
    There may be a (sort of) solution  for this problem for Quark 9.2 described by Alf Rosland here (about 14 messages down):
    http://forums.quark.com/t/27664.aspx?PageIndex=7 that could conceivably work for Quark 8 too. It references a Capture One problem and solution here: http://forum.phaseone.com/En/viewtopic.php?f=40&t=11852 which is supposed to also work for Quark. Since I'm still using Snow Leopard, I can't say if this works, let alone if it works for Quark 8.5 too, or what the side-affects are, but since Quark has made clear that any solutions coming from Quark for this problem will only address Quark 9 (read up in the first link for Quark's position on what's supported), Capture One's fix may be as good as it gets. However, use at your own risk.
    Since it deals with OpenCl support in video cards and Capture One's fix disables the Mac drivers for it, perhaps finding and recovering OS 10.7.2 drivers from a Time Machine backup might work too but that's something for the experts to work on...

  • Do you have any idea what is the BADI for creation of Purchase Order?

    Hi Gurus, I would like to ask regarding the BADI for the P.O creation in SRM. I have a requirement that if the Account Assignment Type is "asset" it should tick the checkbox (goods receipt/confirmation of performance of service) in the related documents tab of item.  Thanks a lot. I hope you can help me gurus.

    Thanks for the help.

  • Why does the terms for logic say we cant run these programs for commercial use

    question i have regarding the terms for garage band and logic terms where is says just under section 2 it says ((i) to download, install, use and run for personal, non-commercial use, one (1) copy of the Apple
    Software directly on each Apple-branded computer running OS X (“Mac Computer”) that you
    own or control; and)
    im not sure if it means i cant use garage band or logic to produce music for clients for commercial use ?
    check it out here
    http://images.apple.com/legal/sla/docs/LogicPro.pdf
    http://images.apple.com/legal/sla/docs/GarageBand.pdf

    Section C/2/A/(ii) of the Logic Pro document says:
    if you are a commercial enterprise or educational institution, to download, install, use and run
    one (1) copy of the Apple Software for use either: (a) by a single individual on each of the Mac Computer(s) that you own or control, or (b) by multiple individuals on a single shared Mac Computer that you own or control.
    and section C/2/B says:
    The Apple Software may contain sample content including but not limited to artwork, audio files, audio loops, built-in sound files, graphics, images, impulse responses, photographs, samples, sound sets, sound settings, video files, or similar assets (“Sample Content”). This Sample Content is proprietary to Apple and/or its licensors, and is protected by applicable intellectual property and other laws, including but not limited to copyright. Except as otherwise provided, all Sample Content included in the Apple Software may be used on a royalty-free basis to create your own original soundtracks for your film, video and audio projects. You may broadcast and/or distribute your own soundtracks that were created using the Sample Content, however, individual Sample Content assets may not be commercially or otherwise distributed on a standalone basis, nor may they be repackaged in whole or in part as audio samples, clipart, music beds, sound effects, sound files, sound libraries, stock animation, or similar assets.
    (my emphasis).
    All this would seem to cover you for the use you propose (this is not a legal opinion). GarageBand is presumably similar.

  • What is the price for Unlocked iphone5 for the 16 GB , 32 GB, & 64 GB. ?

    I search the web regarding the price for the unlocked iphone5 price and I found that it's 649 $ for the 16 GB , 749 $ for 32 GB and 849 $ for the 64 GB. But some shops in DC they are asking a price of 1200 USD for the 16 GB.  Where should I buy the unlooked iphone 5 in Washington DC and in what price and which is the right price ?
    Thank you

    No availability of unlocked devices in the US has been announced at this time.

  • The case for integrated, native physics in the Flash Runtime

    Hello everyone,
    As hopefully many of you know, a community based feature request page was created a few months back (Feature request for Flash and Air - uplist) and we've had a number of great ideas added and voted on.  In an attempt to better understand the individual requests, we thought we'd start threads on particular subjects to allow us to ask questions and get community feedback.  These posts should not be taken as a commitment to a particular feature (or lack of commitment to any other feature.)  I can't stress this enough.   I don't want anyone to think that we're ignoring other requests or to assume that because we're asking about something, they can expect to see this done in a future release.  We simply want to better understand the request so that we can reduce the number of assumptions on our part.
    To start, let's we've got a few questions regarding the request for "Integrated (native) physics" which currently has 142 votes.
    When talking about physics, are you interested in a 2D or 3D physics engine?
    Can you list native engines that demonstrate the features you want the Flash runtime to implement natively?
    For instance, if you're interested in Box2D functionality, have you tried http://www.box2dflash.org?
    Is there a huge performance gap between the native and ActionScript implementations of Box2D?
    Are you looking for solutions for desktop or mobile?
    Thanks,
    Chris

    I'm all for the addition of a native physics system, based on Box2D, that gives us native speed.
    But, I'd also like to suggest that you make sure that you are committed to polishing and improving the new API's, and not leave them stranded at v 1.0.
    For example, GameInput API is rife with bugs, and there seems to be no interest or pro-activeness on the part of Adobe to fix them. Zeh Fernando has put in a ton of work in standardizing the GameInput API, and he has been quite vocal about the issues, and as far as I know, no one from Adobe seems to care at all.
    Here's a link to his gitHub repo, where he lists current issues with the API:
    zeh/key-action-binder · GitHub
    know that Flash's GameInput API is still severely ridden with bugs. You may run into some of them. Here's some more information.
    Supported devices are not detected properly when added or removed (Bug #3709110): no workaround
    Using GameInput add Timer overhead every second in Windows (Bug #3660823): no workaround
    GameInput devices simply stop working when running on Android/OUYA: need to initialize things in the first frame of SWF (fixed in AIR 13.0.0.36/Flash Player 13.0.0.130?)
    Quick button presses may not be properly detected on Macs (Bug #3702039): no workaround (need to test sampling rate changes and if button activation can always be assumed from the up event)
    In addition to those, I have run into a major bug on nVidia Shield, creating huge lag in inputs. The bug is nearly 12mths old, and is very severe:
    Bug#3673122 - Shield controller massive lag
    I'd love to see the AIR team being much more pro-active about bug fixing. It seems to be like pulling teeth sometimes to actually get something fixed. I would think that the team, after putting in a big effort to implement GameInput in the first place, would be extremely pro-active in seeking out feedback and fixing the bugs in the first 3-6mths since release, to harden the API, but instead no one seems to care, and the onus is all on us to "file a bug report and vote", which seems code for "might get fixed, one day, maybe"
    We love AIR so much because of it's consistency, but new API's need to be as consistent as old ones, and need constant iteration and improvement as well. I know it's flashier to add a new bullet point to the marketing check list, but consistency and reliability are much more important in this chaotic and fragmented landscape.
    /2 cents

  • Modifying the source for my metadata navigation

    I have an Enterprise Wiki site collection that contains 5 sub sites. and i want to enable filtering the main site collection and the 5 subsites using metadata terms. to do so , i did the following:-
    1. i have enabled the meta data navigation for the 5 sub sites and the main site.
    2. i have enabled tree view for the 5 sub sites and the main site.
    3. finally i have added the following web part , which will do the redirect , when clicking on any term inside the metadata tree:-
    public VisualWebPart1()
    protected override void OnInit(EventArgs e)
    var request = HttpContext.Current.Request;
    var response = HttpContext.Current.Response;
    if (!String.IsNullOrEmpty(request.QueryString["TreeField"])
    && !String.IsNullOrEmpty(request.QueryString["TreeValue"]))
    response.Redirect(String.Format("{0}?TreeField={1}&TreeValue={2}",
    SPContext.Current.ListItem.ParentList.DefaultViewUrl,
    request.QueryString["TreeField"],
    request.QueryString["TreeValue"]));
    else if (!String.IsNullOrEmpty(request.QueryString["TreeField"]))
    response.Redirect(String.Format("{0}?TreeField={1}",
    SPContext.Current.ListItem.ParentList.DefaultViewUrl,
    request.QueryString["TreeField"]));
    base.OnInit(e);
    protected void Page_Load(object sender, EventArgs e)
    the problem i am facing is regarding the source for the filtering, for example if the user is inside the main site and he clicks on one of the terms , then only the pages that are within the current site collection and have the selected term, will be displayed,
    while i want to include all the sub sites in the filtering  . so can anyone advice on this please?
    in other way , i am trying to have the same behavior in the defualt search. as currently if i am inside the root site for the site collection and i search for certain word,  SharePoint will search the main site and all the sub sites for the word, while
    if i am inside certain sub site only pages within that sub site will be searched. while in the metadata navigation and filtering if i am inside the main site and i want to filer based on certain term, then only pages within the main site will be filtered ,
    rather than including all the sub sites pages...

    Can anyone advice on my question, as i can not find any documentation that talks about changing the content source of the metadata navigation. so that i can specify to include all the sub sites , when filtering pages using the metadata navigation ??? please
    any advice ?

Maybe you are looking for