| java.lang.Object org.netbeans.modules.search.Manager
Manager | final class Manager (Code) | | Manager of the Search module's activities.
It knows which tasks are running and manages the module's actions so that
no two conflicting tasks are running at a moment.
See Also: State diagram author: Marian Petras |
CLEANING_RESULT | final static int CLEANING_RESULT(Code) | | |
EVENT_SEARCH_CANCELLED | final static int EVENT_SEARCH_CANCELLED(Code) | | |
EVENT_SEARCH_FINISHED | final static int EVENT_SEARCH_FINISHED(Code) | | |
EVENT_SEARCH_INTERRUPTED | final static int EVENT_SEARCH_INTERRUPTED(Code) | | |
EVENT_SEARCH_STARTED | final static int EVENT_SEARCH_STARTED(Code) | | |
NO_TASK | final static int NO_TASK(Code) | | |
PRINTING_DETAILS | final static int PRINTING_DETAILS(Code) | | |
REPLACING | final static int REPLACING(Code) | | |
SEARCHING | final static int SEARCHING(Code) | | |
doCleanup | void doCleanup()(Code) | | Called from the Installer to notify that the module
is being uninstalled.
Calling this method sets a corresponding flag. When the flag is set,
no new actions (cleaning results, printing details, etc.) are started
and the behaviour is changed so that manipulation with the ResultView
is reduced or eliminated. Also, if no tasks are currently active,
immediatelly closes the results window; otherwise it postpones closing
the window until the currently active task(s) finish.
|
mayStartSearching | String mayStartSearching()(Code) | | Queries whether the user should be allowed to initiate a new search.
For example, the user should not be allowed to do so if the last
replace action has not finished yet.
message to the user, describing the reason why a new searchcannot be started, or null if there is no such reason(i.e. if a new search may be started) |
scheduleSearchTaskRerun | void scheduleSearchTaskRerun()(Code) | | |
searchWindowClosed | void searchWindowClosed()(Code) | | |
searchWindowOpened | void searchWindowOpened()(Code) | | |
stopSearching | void stopSearching()(Code) | | |
|
|