|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sourceforge.squirrel_sql.plugins.sqlbookmark.SQLBookmarkPreferencesController
public class SQLBookmarkPreferencesController
Manage the bookmarks.
The interface to allow a user to manages his/her bookmarks is through this class. The user can add, edit, remove and shift the order of the bookmarks with this user interface. The interface shows up in as a new tab in the Global Preferences dialog.
| Field Summary | |
|---|---|
protected IApplication |
_app
Handle to the main application |
protected SQLBookmarkPlugin |
_plugin
Handle to the plugin |
protected SQLBookmarkPreferencesPanel |
_pnlPrefs
The main panel for preference administration |
| Constructor Summary | |
|---|---|
SQLBookmarkPreferencesController(SQLBookmarkPlugin plugin)
Create the preferences |
|
| Method Summary | |
|---|---|
void |
applyChanges()
Make the changes active to the rest of the application |
String |
getHint()
Return the tool tip for the tab |
Component |
getPanelComponent()
Return the panel that will contain the prefernces ui. |
String |
getTitle()
Return the title for the tab name |
void |
initialize(IApplication app)
Initialize the user interface |
void |
onAdd()
|
void |
onDelete()
|
void |
onEdit()
Internal action class for the main preferences tab. |
void |
uninitialize(IApplication app)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected SQLBookmarkPreferencesPanel _pnlPrefs
protected IApplication _app
protected SQLBookmarkPlugin _plugin
| Constructor Detail |
|---|
public SQLBookmarkPreferencesController(SQLBookmarkPlugin plugin)
| Method Detail |
|---|
public void initialize(IApplication app)
initialize in interface IGlobalPreferencesPanelapp - Handle to the main application.public void uninitialize(IApplication app)
uninitialize in interface IGlobalPreferencesPanelpublic String getTitle()
getTitle in interface IOptionPanelpublic String getHint()
getHint in interface IOptionPanelpublic void applyChanges()
applyChanges in interface IOptionPanelpublic Component getPanelComponent()
getPanelComponent in interface IOptionPanelpublic void onAdd()
public void onEdit()
public void onDelete()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||