

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 |
Inline menu that watches model changes only when really needed.
| org::openide::actions::ToolsAction::Inline::Inline | ( | Action | toolsAction | ) | [inline, package] |
| 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] |
Runs the update
References org::openide::actions::ToolsAction::generate(), org::openide::actions::ToolsAction::G::getTimestamp(), org::openide::actions::ToolsAction::gl(), timestamp, and toolsAction.
final long org::openide::actions::ToolsAction::Inline::serialVersionUID = 2269006599727576059L [static, package] |
int org::openide::actions::ToolsAction::Inline::timestamp = 0 [private] |
timestamp of the beginning of the last regeneration
Referenced by addNotify(), and run().
Action org::openide::actions::ToolsAction::Inline::toolsAction [private] |
Associated tools action.
Referenced by run().
1.6.2