Storing Action objects in some container?
Hey all,
I was wondering what is the best way to store Action objects that I will use to make toolbars and menus. I was thinking of using a vector, but what if it get reallocated? I would really like to know what is the accepted way of doing this.
Thanks for any help.
Hi,
have a look into the source of the notepad demo coming with the SDK in path [SDK]/demo/jfc/Notepad/src/Notepad.java
There a Hashtable 'commands' is used to store references to action objects. There are methods to store and retrieve references to action objects too.
And to add to previous posters: IF an 'action is stored' in a Hashtable, only its reference is stored there. Consequently, if an 'action is retrieved' from that Hashtable, the stored reference to that action actually is retrieved only.
Ulrich
Similar Messages
-
Display times for "action objects"
I work on a MacBook Pro, MaxOSX 10.7.5, Captivate 6.
I need to hide a button that we have made as part of a "overlay" GUI - a form of CSS. We created a master project and coded it to be downloaded to all our other projects as a overall GUI.
But in some projects I'd like to hide a single button - not to be able to press. Not through the whole project but after let's say three to five slides. I tried using a simple smartshape but the hidden area can still be clicked. Using clickboxes or button allow me to over ride the "CSS-button" but they have a major flaw: they only last the rest of the slide and I'd like to have them throughout the entire project.
Copy-paste is NOT an option in this case - the project lenghts are vast ...
Is there a clickbox, button, other object or advanced action that could make an "action object" to be displayed throughout the entire project?
Or is there a widget och well trimmed programmer out there that could solve this?
Very grateful for all good tips and answers!
/Cheers!Hi,
Thank you for the welcoming seems like a good forum
to hang out in and learn new things!
I guess I wasn't as clear as I should when describing
my issue.
In our work we have made a "Master Project" to function
as a sort of CSS (Cascade Style Sheet) - just like you did in
former web design.
The Master Project functions roughly as a Master Slide
but it has some benefits that a Master Slide isn't capable of.
We use the Master Project to export our interface to
all the other projects within the e-learning project.
So instead of having to make changes in the Master Slide
in every project we have a better control of GUI
changes affecting the overall e-learning project.
Your links have given us a great tool to work with!
We have completely missed the possibility to convert
a smartshape to a button and with that making it
posible to be displayed throughout the project.
Many thanks for those tips!
All the best and a happy week-end!
/Patrik
Från: Lilybiri <[email protected]>
Svara till: <[email protected]>
Datum: torsdag 7 mars 2013 14:09
Till: Patrik Lögdqvist <[email protected]>
Ämne: Display times for "action objects"
Re: Display times for "action objects"
created by Lilybiri <http://forums.adobe.com/people/Lilybiri> in Advanced
Adobe Captivate Users - View the full discussion
<http://forums.adobe.com/message/5128986#5128986>
Hello and welcome to the forum, But I don't understand your question very
well. Perhaps it is only a matter of terminology. What do you mean by 'Master
Project'? Is that a template, in which you have a custom theme, perhaps some
advanced actions, variables, and of course master slides? You need interactive
objects on all or a lot of slides, correct? I have been blogging a lot about
the shape buttons, only interactive objects that allow that. Even did a
webinar about them for Adobe. Here are some
links:http://lilybiri.posterous.com/why-i-like-shape-buttons-captivate-6http:/
/lilybiri.posterous.com/toggle-shape-buttonshttp://lilybiri.posterous.com/want
-a-button-on-question-slide-in-capti vate
<http://lilybiri.posterous.com/want-a-button-on-question-slide-in-captivate>
http://blogs.adobe.com/captivate/2012/09/training-lilybiris-favourite-
shapes-to-trigger-advanced-actions.html
<http://blogs.adobe.com/captivate/2012/09/training-lilybiris-favourite-shapes-
to-trigger-advanced-actions.html> If you want control over the visibility of
such a shape button, do not put them on a master slide, but time them for the
rest of the project, starting with the slide where they should appear for the
first time. Reason is that objects on master slides do not have an ID, which
means that they cannot be hidden or disabled using a (advanced) action.
Lilybiri
Please note that the Adobe Forums do not accept email attachments. If you want
to embed a screen image in your message please visit the thread in the forum
to embed the image at http://forums.adobe.com/message/5128986#5128986 Replies
to this message go to everyone subscribed to this thread, not directly to the
person who posted the message. To post a reply, either reply to this email or
visit the message page: http://forums.adobe.com/message/5128986#5128986 To
unsubscribe from this thread, please visit the message page at
http://forums.adobe.com/message/5128986#5128986. In the Actions box on the
right, click the Stop Email Notifications link. Start a new discussion in
Advanced Adobe Captivate Users by email
<mailto:[email protected]il.fo
rums.adobe.com> or at Adobe Community
<http://forums.adobe.com/choose-container!input.jspa?contentType=1&containerTy
pe=14&container=2268> For more information about maintaining your forum email
notifications please go to http://forums.adobe.com/message/2936746#2936746. -
Exception Handling for many bean objects of a container class in a JSP page
Hello,
I have on container bean class. In this container class, there are several others class objects and the getter methods to get these objects out to the JSP pages.
I have one JSP page which will use different objects in the container class object through the getter methods of the container class.
My question is how to implement the exception handler for all the objects in the container so that the JSP page can handle all exceptions if occurrs in any object in the container?
Please give me some suggestions. Thanks
TuThanks for your reply.
Since the container is the accessor class, I have no other super class for this container class, I think I will try the try catch block in the getter methods. -
Changing NAME property of Action object
Hi everyone,
I have a JButton and JMenuItem both associated with the same Action object so that they both have the same text and perform the same action. The action alternates between starting and stopping a background process, and I want my button and menu item to update their text accordingly.
The only way I can see to do this is to use putValue("NAME", "Start"). I can get the source of the event, which appears to return the button I press, but (AbstractButton)(e.getSource()).setText() returns a syntax error, and I'm unsure that would change the text of both components anyways. Also, calling validate on the JFrame that contains the button, as I do in the code below, has no effect.
Any help anyone can give will be greatly appreciated. Here is my code:
import javax.swing.*;
import java.awt.event.ActionEvent;
public class StopAction extends AbstractAction {
private FrmMain main;
public StopAction(FrmMain main, String text){
super(text);
this.main = main;
public void actionPerformed(ActionEvent e) {
if (main.isBackgroundThreadsRunning()) {
main.stopThreads();
this.putValue("NAME", "Start");
main.validate();
} else {
main.startThreads();
this.putValue("NAME", "Stop");
main.validate();
}Quit multi-posting: http://forum.java.sun.com/thread.jspa?messageID=10095997
If you make a mistake when posting then respond to the second posting so we don't get discussions in multiple postings. -
Hi,
are the action objects are really required to be created in ESR for configuring scenarios.
when i learned XI, i remember we created scenarios without creating the action objects (that appear under "Process integration scenario" objects in 7.1 ESR)
are there specific advantages of using action objects and Process integration scenario objects. (i am not referring to integration process objects that are definitely required if use bpm)>Gabriela Vasselai wrote
>>It is important to know that when you change (refactor) your interface objects (data type, message type, service interface) or your mapping objects (message mapping, operation mapping), that changes will not automatically update your process integration scenario. You have to take care in all updates to don´t leave process integration scenario inconsistent, updating it also
yes you are right, it seems once you used model configurator for initial creation of ID objects, there would be no issues.
but after that, in ESR, if you edit PIS or action object, i think you need to apply the model configurator again in id.
but after that, in ID, if you manually edit the assigned mappings etc, then the configuration objects become inconsistent wrt PIS.
i think there must be some provision to check the consistency of PIS model.
since PI 7.1 is approaching towards modelling more (atleast as of my knowledge) it will come up with a consistency check functionality of the models. -
What's the difference between Action Objects and ActionListeners
Hello,
in the Introduction to JSF two ways handling action are demonstrated. One way is "Combining Component Data and Action Object" the other way is "Handling Events."
What's the difference? When do I use this or that way?
The one thing I understand is when using "Combining Component Data and Action Objects" I use the default ActionListener and I may directly access the input values.
TIA,
JuergenHi Juergen,
The bottomline is 'not much', only in the details to these two approaches differ.
The ActionListener object will have events broadcast to it for a particular object by the event mechanism in JSF. You can add one to a specific component via the f:action_listener tag. This will have your listener getting events during specific points in the request processing lifecycle (you specify via your return value for getPhaseId).
The Action class that an actionRef reference refers to an Action that will be invoked during the invoke application phase. (see pg 71).
I would recommend using actionRefs and Action objects wherever possible and going to ActionListeners only when you need notifications during a specific phase of the request/response cycle.
Hope this helps,
-bd-
http://bill.dudney.net -
Moving Object from One container to another in workOrder Dri
Hi , I am able to Move Object from One container to another container in workOrder Driver.
here is my code which i am using
<do-move-src-object class-name="ValeUser">
<arg-dn>
<token-local-variable name="var-str-nwoContent"/>
</arg-dn>
<arg-dn>
<token-text xml:space="preserve">\</token-text>
<token-global-variable name="dirxml.auto.treename"/>
<token-text xml:space="preserve">\</token-text>
<token-global-variable name="hrfeed.inactive.container"/>
</arg-dn>
</do-move-src-object>
Thanks
Adarsh KumarOriginally Posted by AndersG
Idmlearner,
> am able to Move Object from One container to another container
> in workOrder Driver.
>
Possibly better asked in support.identity-manager
- Anders Gustafsson (Sysop)
The Aaland Islands (N60 E20)
Novell has a new enhancement request system,
or what is now known as the requirement portal.
If customers would like to give input in the upcoming
releases of Novell products then they should go to
http://www.novell.com/rms
Identity Manager - NOVELL FORUMS
If you are not a nntp user.
Thomas -
Where are the Files uploaded to KM stored, in database or some location
Hi All,
Say for example we have created a pdf file and uploaded this to KM Folder in the portal server.
How and where this files stored in the server.
Whether they are stored as objects in the database or in any location of the hard disk as a file system.
If in database, please let me know the table name and how to access it.
If in the hard disk, then please provide me the location.
Thanks in advance,
Ramanathhi,
use th following link,
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f02b492c-7d76-2a10-86aa-e11e8388fde8
Regards
Jayapriya -
Action Object and Active Directory?
Hi,
As I understand the documentation, there is no way to use Action Object in Storage Manager for AD.
Is that correct?
Is it possible to work around that when having IDM implemented?
Many of our customers uses provisioning and self-provisioning through the UA-portal, and it seems rather difficult to integrate this to the NTFS in AD using Storage Manager.
When customers is running OES and NSS it is a lot easier to customize and maintain a useful dynamic file system.
Does anyone has any ideas or experience that could help us out?
Thank you in advance
MartinMoldin,
It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.
Has your problem been resolved? If not, you might try one of the following options:
- Visit http://support.novell.com and search the knowledgebase and/or check all
the other self support options and support programs available.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://forums.novell.com)
Be sure to read the forum FAQ about what to expect in the way of responses:
http://forums.novell.com/faq.php
If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.
Good luck!
Your Novell Product Support Forums Team
http://forums.novell.com/ -
How to print the image data stored in object of 'java.io.File' Class in jsp
I have created a file object for the image file in the system temporary directory.Now I want to display it in my page. please tell,How to print the image data stored in object(in my program it is imgr) of 'java.io.File' Class in jsp
Create a servlet which gets an InputStream of the file and writes it to the OutputStream of the response and call this servlet in `src` attribute. That's basically all.
Here's an example which covers the most of the minimum needs: [http://balusc.blogspot.com/2007/04/imageservlet.html]. -
Getting invalid packages when installing support for stored java objects
I am getting invalid packages notices when installing support for stored java objects in Forms 9i that can with the Oracle 9iDS Suite. In the post installation notes it says to locate a few SQL files, PLB files and a JAR file and run them. On executing the SQL package that will install the rest , I am logged in as SYSTEM as the instructions stated, I get an error when it tries to load the PLB files ( which are encrypted from Oracle). Any one else have this problem or know of a solution?
If you need more information please let me know and I will try to respond promptly.
Thanks
Chad LeathThe PLB package is called ORA_DE_REFLECTION. I forgot to mention this in the previous post.
-
Hi,
Acrobat 8 had been working on my computer previously, up until this morning. Now any time I try to open a pdf, I get the error, "There was an error opening this document. Invalid action object." I can't get any pdfs on my computer to open, including pdfs that I know work as they opened fine last week. I don't think I've had any updates done to my computer over the weekend. Any ideas why it now doesn't work?Open Acrobat and go to HELP>Repair and see if that helps. After the repair, you may also want to do HELP>Updates.
-
Getting selected item from combobox itemrenderer and storing in object
Hi Guys,
Can anyone help me in this regard. Its very urgent.
I have a combo box itemrenderer in datagrid column. I want to get the user selected item from the dropdown of the row(s) (User may select values from combo box from multiple rows of datagrid) and corressponding values of all other columns of the rows and store it in an object . Then pass this object to database to update only those rows that user has changed.
I am able to get the selected item from combo box using "event.currentTarget.selectedItem" and corressponding values of all other columns of the rows using "valueSelect.ID", etc where valueSelect is object which contains data for datagrid. But am stuck up with, how to store the selected item value of the combobox and corressponding values of all other columns of the rows into an Object ?.
Can anybody help me with sample to store selected item from combobox and its corressponding values of all other columns into an object which i can send to db...?
Kindly help me in this regard.
Thanks,
Anand.Hi!
Are you using a collection of VO or DTO as the dataprovider of the combobox component?
If so, have you created some attribute there to control the user's selection in the combobox?
For instance:
private var selected:Boolean = false;
If your solution fits this approach, you may create a new collection that contains just the objects that were selected by the user, it means you can loop through the datagrid's dataprovider and only insert in this new collection those objects that have the attribute "selected" set to true.
For instance:
private function getSelectedRecords(datagridDataProvider:ArrayCollection):ArrayCollection
var newCollection:ArrayCollection = new ArrayCollection();
for each (var item:Object in datagridDataProvider)
if (item.selected)
newCollection.addItem(item)
return newCollection;
Afterwards, you may serialize this new collection with your back-end.
Hope it helps you!
Cheers,
@Pablo_Souza -
Order to script creation of objects? Some reference each other.
I'm writing a script that will add objects to a 10g schema. I have packages containing functions and procedures. The functions and procedures reference some views that also need to be added. The views themselves reference some of the package's functions. Which has to be added first? I think the package first then the views? Or maybe it does not matter?
At the end of the script can a command be added to compile the various objects that have been added?I'm a little late to the party here but.
To do this type of interdependent compile, the logical ordering would be:
1. Package specifications (i.e. CREATE PACKAGE)
2. Create views, since the views are really dependent on the public specification for the packaged functions, not the actual implementation.
3. Package bodies, since the implementation is dependent on the existence of the views.
At the end of the process, you will, assuming that everything is syntactically correct, have all valid objects.
john -
I've been playing with lvoop for 4 or 5 months now, and in general I like it very much, but I've repeatedly wanted to build classes that know something about who owns them and I can't figure out how to make this happen.
The simple example I've been thinking about is imagine having a person class which contains a car class. Now say that I get an instance of a car class and I want to ask it who its owner is. In C++, I'd do this by giving the car class a pointer to the person class it belongs to. (Of course you have to worry about car objects that don't belong to anyone in which case the pointer has to point to NULL.)
I've tried copying this idea by giving the car class a data value reference to a person class, but when I dereference the reference using an in place loop and call a method on it I get data from the moment the reference was made and not the current data of the person class.
I realize this is sorta breaking data flow so maybe it's not possible on purpose?Scot18 wrote:
I've tried copying this idea by giving the car class a data value reference to a person class, but when I dereference the reference using an in place loop and call a method on it I get data from the moment the reference was made and not the current data of the person class.
Yes, LVOOP uses value based references, and when you split the wire to write the owner you created a data copy. The function you're after requires you do use a DVR for all class functions in which case you'll get reference based OOP, which is more familiar coming from text based OOP.
It just so happens that G# uses that approach, take a look at it.
/Y
LabVIEW 8.2 - 2014
"Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
G# - Free award winning reference based OOP for LV
Maybe you are looking for
-
Is there a simple way of linking the same excel folder on my imac and mac air, so as the one on my imac would automacily update when i return home, from the mac air? Fairly new to all this, so any help would be appreciated.
-
I have tried several times to test my fire wire port on this mac mini. I tnever does anything differently than boot up. I am hooking up an audio interface and cant seem to get it to recognize the unit. I have tried testing the port, different cables
-
Convert string to mysql datetime in java
Hi, Can somebody suggest me how to convert a date string in this format - Mon Aug 10 16:36:00 CDT 2009 to a MySql DateTime in Java? This date is the result of Apache POI. Below is my code: if(HSSFDateUtil.isCellDateFormatted(hssfCell)) { cellDat
-
Basically I want to make a lister. Lets say when you input numbers like 2,4,6,8,10,12 and click the button or enter it pops up saying its even and 1,3,5,7,9,11 click the button pops up saying odd.
-
Expert mode query in View objects and appended where clause
My company is Oracle Member Partner and we are developing enterprise web applications using Oracle database and BC4J. I have the following problem... When I enable EXPERT MODE option in View Object I have trouble appending to query statement in my cl