customAction();
} else
{
UserPreferencesDialog dialog = new UserPreferencesDialog(
GlobalController.SINGLETON.getMainFrame(), GlobalModel.SINGLETON);
dialog.open(TwitterPreferencesPanel.class);
}
}
/**
* Returns TRUE if the action can be executed. Otherwise the user preferences page will be displayed.