[CS2 Mac] Panel Active Selection Observer issue

Hello,
My plugin panel needs to be notified when a page was selected by end user from either ID Pages panel or Layout menu item's selection or front window status bar.
This panel's active selection observer can observe many selection events but not this one - unfortunatly.
So there is my question: what should I add to my panel's active selection observer to get this panel updated when a new page was selected in the front document?
Any pointer or advice would be very much appreciated indeed.
Best regards
Patrick Perroud

Patrick,
yes, the first posting was about a rarely known, different notification mechanism. Not observers. Similarities to responders, but a different service id.
You have to implement a new boss, with the mentioned kLayoutActionProviderImpl for the service provider, and add your own implementation of the actual interface ILayoutAction. Within your implementation, you then can then find and invoke your observer. This could be as simple as that you maintain a global IObserver* whenever your widget exists (during autoattach/detach) and if that pointer is valid you have it.
The other notification aren't on the document boss, they are on the layout widget. This is the widget with the biggest screen real estate in document windows. I think you get a hold on it with LayoutUtils. It probably won't be what you need anyway, panorama is about horizontal and vertical scrolling.
Finally, there's one further notification on the document workspace boss, fired off by the kUpdateDocWindowStateCmdBoss.
subj: kDocWorkspaceBoss
class: kUpdateDocWindowStateCmdBoss
proto: IID_IWINDOW
Dirk

Similar Messages

  • Photoshop CS2 on Win7 Activation Server no longer available as CS2 not supported

    My XP PC died and was replaced by Win7 Laptop.  Loaded my legitimate Photoshop CS2 software, but Activation Server no longer available as CS2 not supported any more.  Need to run my CS2, so how do I make this happen?

    As for the Activation Server please read this
    http://helpx.adobe.com/x-productkb/policy-pricing/creative-suite-2-activation-end-life.htm l
    As for whether CS2 and Windows 7 play nice I don’t know, what with being a Mac user …

  • Mac Pro 2008 having boot issues...

    Hi,
    My Mac Pro is having boot issues,It occasionally gets stuck when I turn it on and the fans go up a bit then I just get a grey screen, sometimes just shutting down and restarting works and sometimes not. I repaired the disc though it says has no issues and repaired permissions. It still does it. if I hold down the option key and boot and select my system drive then it boots fine. Once up and running everything seems fine it wakes from sleep no problem but after a shutdown it sometimes will not boot, it's almost 50 50 chance at this point that it does not boot. I can try booting off and older back up and see if it happens. I do have two video cards and 12 gigs of ram but not sure when this started to happen but it seems to be happening more often lately.
    The Mac Pro warranty is over, taking it in for service is not an option at this point. I will install Snow Leopard on a new drive and see if it still happens as a test.

    88 * C is HOT
    Hard drives are not much of an issue, even 4, though I don't like now that WD Black tend to run 40-42C.
    I recommend everyone run SFC regardless. It should be a REQ'D background app!!!
    That and Temperature Monitor  or iStatPro.... but on the whole only use the minimum and no duplication, not even for checking SMART health status. "less is more" or the olde "too many cooks" approach - your system runs better, even faster, and less trouble.
    Kicking the fans up 400 rpm makes a significant change in temps. But of course if it is
    Hutch
    Pushed in corer
    Up against wall
    No air flow
    Direct sunlight
    .... can't help much or enough

  • CS5.5: Problem attaching the Selection Observer

    Hi All,
    I have successfully implemented the text selection suite, but I'm getting issues while attaching the selection observer using the ActiveSelectionObserver. Actually I dont want to use the ActiveSelectionObserver with any widget.  By going through this discussion: http://forums.adobe.com/message/1304638#1304638 ; I found that my problem is just the similar. But, I'm not able to tackle this issue yet.
    1. Where should I define the observer in my .fr file?
    2. How should I invoke the observer's AutoAttach()/AutoDetach() since I dont want to use this with any widget.
    Thanks in advance.

    See this page for some possible causes and solutions to the program hanging on startup at the "Initializing MediaCore" stage:
    http://kb2.adobe.com/cps/857/cpsid_85711.html

  • You are not authorized to display the panel for selecting a power plan

    I'm running Windows 7. Installed "Power Manager" via System Update 4.0 last night (10/23/2009). Getting this error when hitting FN+F3.
    You are not authorized to display the panel for selecting a power plan.
    Furthermore, I'm unable to see any of the default power schemes. Finally, I created two new power schemes, neither of them display for selection.
    Any one else experiencing this issue?!?!?

    Welcome to the forum!
    Hmm...  That seems odd.  Does the userid that you're using have admin rights to the machine?
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество
    Jane
    2015 X1 Carbon, ThinkPad Slate, T410s, X301, X200 Tablet, T60p, HP TouchPad, iPad Air 2, iPhone 5S, IdeaTab A2107A, Yoga Tablet, Yoga 3 Pro
    I am not a Lenovo Employee.
    I AM one of those crazy ThinkPad zealots!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"!

  • My iphone 4s and ipad 2 both with 7.0.4 update will no longer connect to wifi but non-mac lap top has no issues

    my iphone 4s and ipad2 both with 7.0.4 update will no longer connect to wifi.
    About three days ago the ability to connect came and went and the connection never lasted more than 10-15 minutes; it has not been able to connect since last night. I do not think it's my wifi router as non-mac lap top has no issues. I have seem many similar questions posted.

    Reboot your router by removing all power from it for about 15 seconds. Also, if your router still has its default SSID (such as LINKSYS, DLINK, NETGEAR, etc) change the SSID to something unique. Note that all other devices on your network will have to be reconnected if you change the name, but if the name is still the default that is most likely your problem.
    If the SSID is not the default then the reboot should fix it.

  • When my iPod Touch is connected to my Mac, and I select Update to update the software of my iPod Touch, I get a message saying that my iTunes software is current, but it will not update my iPod Touch software.  Is there a bug in the iPod program?

    When my iPod Touch is connected to my Mac, and I select Update to update the software of my iPod Touch, I get a message saying that my iTunes software is current, but it will not update my iPod Touch software.  Is there a bug in the iPod program?

    If you have the first gen ipod touch as your information shows, then you would have to buy a software update:
    Purchasing iOS 3.1 Software Update for iPod touch (1st generation)

  • MacMac版 Adobe Illustrator CS2 をインストールしようとすると インストール先の選択 の画面でmacのHDが表示されず 選択ボタンもなく MacOS拡張形式ではないドライブへのインストールはサポートされませんとエラーマークがでます なぜでしょう?

    Mac版 Adobe Illustrator CS2 をインストールしようとすると インストール先の選択 の画面でmacのHDが表示されず 選択ボタンもなく MacOS拡張形式ではないドライブへのインストールはサポートされませんとエラーマークがでます なぜでしょう?

    記載の通りになってしまいますが、HDDのフォーマットを拡張形式にしていないからではないでしょうか。
    また実際にインストールされるOSのバージョン等はいくつになるでしょう、
    CS2は最近のOSでは対応していないので、インストール自体ができません。

  • Sender JDBC Adapter Select/Update Issue

    Dear All,
    We have configured a Sender JDBC Adapter to Poll data from the DB2 tables. It is working fine and both the select and the update queries written are also getting properly executed and are changing the status of the flag from Y to N once read from database.
    In the communication channel ->
    select * from <table> where flag = 'N'.
    update <table> set flag = 'Y' where flag = 'N'.
    But I have one doubt after executing the select query some new data comes into the table of status flag 'N"., then will this unselected data will also be updated to 'Y' .
    The question is while we do a select and update from XI on the DB table and at the same time there is an insert happening into the table from the other end how will the adpater behave in this case.Will it result in missing of some records during next select/update transaction from XI..
    Your inputs will be appreciated.
    Regards
    Amit

    Amit
    Did you ever get a solution to your question ?
       Sender JDBC Adapter Select/Update Issue  
    Posted: Apr 24, 2008 2:29 PM           Reply 
    Dear All,
    We have configured a Sender JDBC Adapter to Poll data from the DB2 tables. It is working fine and both the select and the update queries written are also getting properly executed and are changing the status of the flag from Y to N once read from database.
    In the communication channel ->
    select * from <table> where flag = 'N'.
    update <table> set flag = 'Y' where flag = 'N'.
    But I have one doubt after executing the select query some new data comes into the table of status flag 'N"., then will this unselected data will also be updated to 'Y' .
    The question is while we do a select and update from XI on the DB table and at the same time there is an insert happening into the table from the other end how will the adpater behave in this case.Will it result in missing of some records during next select/update transaction from XI..
    Your inputs will be appreciated.
    Regards
    Amit

  • Bug? Right-click on Front Panel causes selection rectangle!

    Originally posted on LAVA: http://lavag.org/topic/12097-right-click-on-front-panel-causes-selection-rectangle/. This post contains an updated description of the problem.
    Anytime I right-click on a control on the FP, and dismiss the context menu, I get a selection rectangle. If I don't catch it, moving outside the bounds of the FP will cause the FP to scroll to continue my unwanted "selection". So far this has been repeatable every time.
    I noticed that the problem doesn't occur on the Controls pallette, only the context menu for controls. Also, if I mouse over the context menu before dismissing it, the problem doesn't occur. If I select an item from the context menu (which also dismisses it), the problem doesn't occur.
    I am running LabVIEW 8.6.1f1 on Windows XP Home SP3.
    -Ian
    Solved!
    Go to Solution.

    I once worked in a lab which contained a transformer with its incessant 120 Hz hum.  Just when I could tune it out someone would say "What's that hum?" and then it would annoy me again.  Similar story in a different lab which had a cooling water drain.  Just when I get used to the sound, someone would bring it up.
    This behavior has p#$#ed me of on numerous occasions and I am mostly used to it by now.   At home I use a track ball mouse which covers a lot of real estate in a hurry so of course I am often scrolling a FP into never-never land.  Now you bring it up and I am having flashbacks... (Thanks really, it is time to get this fixed)
    I have learned to spot the little circle in the crosshair cursor.  When it is missing, you are in selection mode.

  • Getting problem while installing Snow Leopard (10.6.3) on my Mac Mini. The following issue is showing :  "mac os x snow leopard cannot be installed on this computer"  And My Mac Configuration details:  Model Name: Mac Mini Model Identifier: Macmini2,1

    Getting problem while installing Snow Leopard (10.6.3) on my Mac Mini. The following issue is showing : 
    "mac os x snow leopard cannot be installed on this computer" 
    And My Mac Configuration details:  Model Name: Mac Mini Model Identifier: Macmini2,1
    Intel Core 2 Duo
    1.83Ghz
    l2Cache: 2mb
    Memory : 2GB
    Bus Speed: 667MHz
    Please help me......
    Thanks

    Actually i have Mac OS X 10.5.4 DVD, I need to upgrade it to Snow Loepard(OS X 10.6)...
    Please suggest me what to do???
    Thanks

  • PS CS2 lens correction causes "Maximize Compatibility" issue in LR

    Question: why does PS CS2/3 convert the layer "Background" to "Layer 0"?
    This is the problem (and solution):
    I encountered the widely discussed "Maximize Compatiblity" issue with a bunch of PSD files (slide scans) that contained only one layer. Puzzled as I was that the layer thing apparently could not cause the problem, I reopened some of those files in PS CS3 and I noticed that each of them had had a lens correction. Just to make sure I was on the right track I applied a lens correction to a file that had been already imported into LR successfully and used the SaveAs command and unchecked the Maximize Compatibility option. The new file could not be imported into LR. So no more lens corrections? - I thought.
    A closer look on the troublesome files made me learn the (only) layer had been renamed from "Background" to "Layer 0" after the lens correction was made. I used the "Flatten Image" command and this turned it back into "Background". After this, the file could be imported into LR without a problem.
    I can now apply this trick to all troublesome files that have had lens corrections and thus avoid the huge increase in file size (130MB is a lot already).
    Now I write this for those of you who have the same problem and are still puzzled (to help out) but I also would like to have some insight into why PS CS2/3 lens corrections mess with the layers.
    Thanks.

    >My conclusion would be that LR can only import PSD files that meet the following requirements:
    >1. must contain only one layer
    >2. that layer must be called "Background"
    Your conclusion is only partially correct.
    Lightroom will import multi-layered PSD files that have been saved with the preference for "Maximize PSD and PSB File Compatibility" set to On. This is clearly stated in the Release Notes and Help documents:
    >Photoshop format (PSD)
    >Photoshop format (PSD) is the standard Photoshop file format. To import and work with a multi-layered PSD file in Lightroom, the file must have been saved in Photoshop with the Maximize PSD and PSB File Compatibility preference turned on. Youll find the option in the Photoshop file handling preferences. Lightroom saves PSD files with a bit depth or 8 bits or 16 bits per channel.
    As to the original point -
    PS CS2 lens correction causes "Maximize Compatibility" issue in LR.
    Photoshop renaming Background Layer to Layer 0 is a Photoshop issue, not Lightroom. When it occurs the files effectively becomes a multi-layered file, even if there is only one layer (i.e layer 0). Why using the Lens Correction filter causes the background layer to be renamed is currently unclear, but I have raised it in the "appropriate" place. In the meantime, I recommend that you set the Maximise Compatibility preference to
    Always. Doing so will save non layered files as normal and multi-layered will have the
    necessary* composite preview. You can continue to use the flatten command to fix the errant files.
    *Enabling the Maximise Compatibility preference ensures that Photoshop creates a composite preview of multi-layered images. It is intended to enable applications that can't read layers to preview the images. Lightroom cannot read multi-layered files, therefore the composite preview MUST be present in such files.
    >Has anyone noticed different behaviour with the Lr v2 beta? I'd hate to double the size of all my multilayer PSDs just so they can load into Lr(?)
    Lr 2.0 will function as per Lr1.x; i.e. not using Maximize Compatibility when saving multi-layered files will mean that they are not compatible with Lr2.0.

  • [CS3] Whats the best way to track model changes? Document Observer? Selection Observer?

    Hello,<br /><br />Usecase I am working on needs to track following events:<br />1. A page item was created/deleted/resized/moved/etc..<br />2. A text was inserted/deleted<br />3. A page was created/deleted<br /><br />Since the list is quite broad I am wondering if there are known best practices to follow. <br /><br />I have tried attaching to Command manager via Document Observer:<br /><br />  InterfacePtr<IDocument> iDocument(this, UseDefaultIID());<br />  InterfacePtr<ISubject> iSubject(iDocument, UseDefaultIID());<br />  iSubject->AttachObserver(ISubject::kRegularAttachment,this, IID_ICOMMANDMGR, IID_IMYDOCOBSERVER);<br /><br />Then during "update" call:<br /><br />  if (protocol != IID_IHIERARCHY_DOCUMENT) break;<br /><br />  ICommand* iCommand = (ICommand*)changedBy;<br />  if (iCommand->GetCommandState() != ICommand::kDone) break;<br /><br />  const UIDList itemList = iCommand->GetItemListReference();<br />  if (itemList == nil || itemList.IsEmpty()) break;<br /><br />  ClassID commandClassID = ::GetClass(iCommand);<br />  if(commandClassID.Get() == kAddToHierarchyCmdBoss || kPlacePICmdBoss) {<br />      // do something at new item creation<br />  }<br /><br />Problem is "kAddToHierarchyCmdBoss" is not just the one command that is sent while creating a new item. There are dozen others and hence I am not sure if I am watching the right one.<br /><br />Second I tried implementing a selection observer and hope to use HandleSelectionAttibuteChanged. A quick search didnt resulted in any suite that lets me implement my use cases.<br /><br />I was inclined towards command observer because thats at low enough level (and right above database layer) allowing me to trap all model changes.<br /><br />I am not looking for a specific answer/code but more of a guideline how to approach the problem.<br /><br />Suggestions? Comments? Thanks in advance

    There is no silver bullet, and while the command mgr can be useful to find out what's going on in general, it is definitely not the place for own dispatching. You'll have to revisit every command before and after execution, and plenty obscure sub-commands nested within larger sequences. If you handle them all this will seriously degrade performance. One good use of command manager notifications is to yield and inspect the matching commands for UI activities, from within your debug build.
    In your quoted update(), when you check the protocol you're anyway already discarding the command mgr notifications, because the protocol then would be IID_ICOMMANDMGR. Probably you already have attached a bunch of other protocols?
    Comparing to previous versions, the changes listed in 1) are pretty simple, you just subscribe at the document boss, and listen for the protocols IID_IHIERARCHY_DOCUMENT, IID_ITRANSFORM_DOCUMENT, eventually IID_IGEOMETRY_DOCUMENT, IID_IPATHGEOMETRY_DOCUMENT, IID_IINVALSHAPE. These also have an advantage that you get a meaningful theChange (rather than the command mgr's kBeforeDoMessageBoss and alike) and can dispatch on those.
    If you have a previous version of InDesign, there used to be a wildcard protocol IID_IPMUNKNOWN that would yield any notifications on the subject so you could dump them out and search for details. Apparently for performance reasons this was removed with CS3 after some plugins used it for release code, IMO Adobe should just have limited the feature to the debug build.
    Besides to observers, the service registry is full of other notifications, have a look the the cross reference in sdkdocs/html/classISignalMgr.html for the most prominent ones. One exception here, 2) For text edits, you won't even use observers or signals but kEditCmdPreProcessService / IID_ITEXTEDITPREPROCESS service instead, or its sister IID_ITEXTEDITPOSTPROCESS.
    3) Probably you'll again observe the kDocBoss for IID_ISPREADLIST and IID_IMASTERSPREADLIST.
    Regarding selection observers and suites, we're talking model changes here so please just forget about them in this place. Selection observers are used to follow the selection from within UI widgets, such as a palette or control strip.
    Regards,
    Dirk

  • Masking unwanted sides to drop shadow effect (AI CS2 Mac)

    I've got a problem with drop shadows in CS2 (Mac). Can anyone help? I've applied an offset of zero and a blur of 1mm which works fine but the object is at the corner of the artboard and the shadow spills over onto the pasteboard and leaves a fine line showing when imported into InDesign (at the edge of the graphics frame).
    Can you tell me how I can loose the shadow on the two sides I don't want it? I've tried creating a clipping mask behind to paste it into but I loose the solid area of the object (with the shadow) that I'm pasting in to the mask.
    Many thanks,
    Bob

    I don't see a problem. A clipping mask should work, but perhaps I might not be following the description in your second paragraph correctly.
    Could you clarify, preferably by providing a screenshot that illustrates what you get and what you want to achieve?

  • Can't restore my iPhone 3gs. Tried 4 different Macs and 1 PC, all issue error response, mostly

    can't restore my iPhone 3gs. Tried 4 different Macs and 1 PC, all issue error response, mostly errror 2001 snd the PC cited error #21. Even tried different USB cable.
    It started by not turning on and it still does not unless plugged in. Then once it displayed a colorless grey screen that said "no service" and the battery symbol said 100 %. After resetting the iPhone it now is recognized as an iPhone in recovery mode.

    sounds like it's time to bring your phone in for evaluation

Maybe you are looking for

  • Settlement to capitalised assets

    I have an asset which has already been capitalised, we have since spent more against the project budget and I now need to settle this spend into the same asset somehow. Please advise which txn I should use to do this?  I have looked in the project ac

  • Total ink illustrator

    I'd love to open a discussion about ways to work - specifically for print - in illustrator, photoshop and indesign. I currently use photoshop for photography, illustrator for advert design and indesign for layout.  The problem I've got is that illust

  • CLASSPATH for Sun Application Server

    Hello I created a JAXRPC Webservice which uses the DataSource class. When I connect to it via my test client I see a NoClassDefFoundException: javax/activation/DataSource. The class is in the activation.jar and I added it everywhere I could (classpas

  • Can i delete all my album artwork?

    I want to remove the album artwork from my ipod but i wan to leave the songs on the ipod. is there a way to remove justs the artwork from my ipod?

  • Can't pair N78 with Ford's native Bluetooth connec...

    I've recently bought a N78, when my 6234 started failing me. I never had any problems pairing it with Ford's bluetooth connection, which allowed me to make and receive calls. It became increasingly important as I travel by car a lot and now it's almo