use of org.freeplane.view.swing.features.time.mindmapmode.ReminderHook in project freeplane by freeplane.
the class ReminderProxy method createOrReplace.
// Reminder
public void createOrReplace(Date remindAt, String periodUnit, Integer period) {
final ReminderHook reminderHook = Controller.getCurrentModeController().getExtension(ReminderHook.class);
removeOldReminder(reminderHook);
final ReminderExtension reminder = newReminder(remindAt);
reminder.setPeriodUnitAsString(periodUnit);
reminder.setPeriod(period);
reminderHook.add(getDelegate(), reminder);
}
use of org.freeplane.view.swing.features.time.mindmapmode.ReminderHook in project freeplane by freeplane.
the class ReminderProxy method remove.
// Reminder
public void remove() {
final ReminderHook reminderHook = Controller.getCurrentModeController().getExtension(ReminderHook.class);
removeOldReminder(reminderHook);
}
use of org.freeplane.view.swing.features.time.mindmapmode.ReminderHook in project freeplane by freeplane.
the class MModeControllerFactory method createAddIns.
private void createAddIns() {
final StyleEditorPanel panel = new StyleEditorPanel(modeController, uiFactory, true);
final JScrollPane styleScrollPane = new JScrollPane(panel, JScrollPane.VERTICAL_SCROLLBAR_ALWAYS, JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);
UITools.setScrollbarIncrement(styleScrollPane);
final JComponent tabs = (JComponent) modeController.getUserInputListenerFactory().getToolBar("/format").getComponent(1);
tabs.add(TextUtils.getText("format_panel"), styleScrollPane);
new AttributePanelManager(modeController);
new HierarchicalIcons();
new AutomaticLayoutController();
new BlinkingNodeHook();
SummaryNode.install();
AlwaysUnfoldedNode.install();
FreeNode.install();
new CreationModificationPlugin();
modeController.addExtension(ReminderHook.class, new ReminderHook(modeController));
new AutomaticEdgeColorHook();
new ViewerController();
modeController.addAction(new AddAttributeAction());
modeController.addAction(new RemoveFirstAttributeAction());
modeController.addAction(new RemoveLastAttributeAction());
modeController.addAction(new RemoveAllAttributesAction());
modeController.addAction(new AddExternalImageAction());
modeController.addAction(new RemoveExternalImageAction());
modeController.addAction(new ChangeExternalImageAction());
modeController.addAction(new ShowFormatPanelAction());
modeController.addAction(new FitToPage());
MEncryptionController.install(new MEncryptionController(modeController));
modeController.addAction(new IconSelectionPlugin());
modeController.addAction(new NewParentNode());
modeController.addAction(new SaveAll());
modeController.addAction(new SortNodes());
modeController.addAction(new SplitNode());
new ChangeNodeLevelController(modeController);
NodeHistory.install(modeController);
modeController.addAction(new ImportMindmanagerFiles());
}
Aggregations