New tutorial: Creating state in a custom action

When using the container framework and extending the containers with Java actions you can do some pretty interesting things.  One common request has been for how to create memory state within your action.  Since the action can be re-used across many instances of a component (many Eclipse view parts), if the action wants to save state per instance, it needs to account for that.  The tutorial uses the secondary identifier of the view part (where in composite applications is unique) to store the state in a map.  The tutorial uses as a sample to pull information from the web pages and then store the values in our property map.  The custom action then prints the “state” for the properties.

Here is a link to the tutorial.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s