1 /*
2 * Copyright (c) 2022 Airtango.
3 * All rights reserved.
4 */
5
6 package de.funfried.netbeans.plugins.editor.closeleftright;
7
8 import javax.swing.AbstractAction;
9
10 import org.openide.windows.TopComponent;
11
12 /**
13 *
14 * @author fbahle
15 */
16 public interface AdditionalCloseActionFactory {
17 String getId();
18
19 String getName();
20
21 boolean isActive();
22
23 void setActive(boolean active);
24
25 boolean isGlobalAction();
26
27 AbstractAction createAction(TopComponent topComponent);
28 }