org::openide::actions::ToolsAction::Inline Class Reference

Inheritance diagram for org::openide::actions::ToolsAction::Inline:
Inheritance graph
[legend]
Collaboration diagram for org::openide::actions::ToolsAction::Inline:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void addNotify ()
void removeNotify ()
void propertyChange (PropertyChangeEvent ev)
void run ()

Package Functions

 Inline (Action toolsAction)

Static Package Attributes

static final long serialVersionUID = 2269006599727576059L

Private Attributes

int timestamp = 0
Action toolsAction

Detailed Description

Inline menu that watches model changes only when really needed.


Constructor & Destructor Documentation

org::openide::actions::ToolsAction::Inline::Inline ( Action  toolsAction  )  [inline, package]

Member Function Documentation

void org::openide::actions::ToolsAction::Inline::addNotify (  )  [inline]

By calling this method, our parent notifies us we've to be keep updated, so we start listening on SystemAction changes, and schedule updating Runnable imediately.

References org::openide::actions::ToolsAction::G::addPropertyChangeListener(), org::openide::actions::ToolsAction::gl(), and timestamp.

void org::openide::actions::ToolsAction::Inline::propertyChange ( PropertyChangeEvent  ev  )  [inline]

Change of model.

void org::openide::actions::ToolsAction::Inline::removeNotify (  )  [inline]

By calling this method, our parent notifies us we don't have to be up-to-date more, so we switch to lazy mode and discard any pending updates.

References org::openide::actions::ToolsAction::gl(), and org::openide::actions::ToolsAction::G::removePropertyChangeListener().

void org::openide::actions::ToolsAction::Inline::run (  )  [inline]

Member Data Documentation

final long org::openide::actions::ToolsAction::Inline::serialVersionUID = 2269006599727576059L [static, package]

timestamp of the beginning of the last regeneration

Referenced by addNotify(), and run().

Associated tools action.

Referenced by run().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2