01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package org.terracotta.dso.editors.xmlbeans;
05:
06: import java.awt.event.InputEvent;
07: import java.awt.event.KeyEvent;
08:
09: import javax.swing.KeyStroke;
10:
11: public interface XmlObjectHolder {
12: final String RESET = "Reset";
13: final KeyStroke RESET_STROKE = KeyStroke.getKeyStroke(
14: KeyEvent.VK_G, InputEvent.CTRL_DOWN_MASK);
15:
16: boolean isRequired();
17:
18: boolean isSet();
19:
20: void set();
21:
22: void unset();
23: }
|