1 19 27 28 package org.netbeans.modules.web.jsf.navigation.options; 29 30 import org.openide.options.SystemOption; 31 import org.openide.util.NbBundle; 32 33 37 public class NavigationSettings extends SystemOption{ 38 39 public static final String PROP_USE_NEW_GRAPH_VIEW = "useNewGraphView"; 41 boolean useNewGraphView = true; 42 43 44 public NavigationSettings() { 45 } 46 47 public String displayName() { 48 return NbBundle.getMessage(NavigationOptionCategory.class, "CTL_Navigation"); 49 } 50 51 public boolean getUseNewGraphView() { 52 return useNewGraphView; 53 } 54 55 public void setUseNewGraphView(boolean value) { 56 if(useNewGraphView == value) return; 57 Boolean oldValue = new Boolean (useNewGraphView); 58 useNewGraphView = value; 59 Boolean newValue = new Boolean (useNewGraphView); 60 firePropertyChange(PROP_USE_NEW_GRAPH_VIEW, oldValue, newValue); 61 } 62 63 } 64 | Popular Tags |