setPreferredSize((!Beans.isDesignTime()) ? (GUISizeHelper.editorCardDimension) : (new Dimension(600, 600)));
/** Creates new form OWLOntologyMatrixPanel */ public RepoOntologyPanel() { if (!java.beans.Beans.isDesignTime()) { // Utility.makeTablePopupHandler(myGraphTable); } }
protected DefaultHandler getSAXHandler() { // don't run the TLV if we're in designTime if (java.beans.Beans.isDesignTime()) { return null; } return new HtmlBasicValidatorHandler(); }
@Override protected DefaultHandler getSAXHandler() { // don't run the TLV if we're in designTime if (java.beans.Beans.isDesignTime()) { return null; } return new HtmlBasicValidatorHandler(); }
@Override protected void configure() { // Special support for visual IDE builders if ( Beans.isDesignTime() ) { return; } super.configure(); }
@Override protected DefaultHandler getSAXHandler() { // don't run the TLV if we're in designTime if (java.beans.Beans.isDesignTime()) { return null; } return new HtmlBasicValidatorHandler(); }
@Override public GL getGL() { if( Beans.isDesignTime() ) { return null; } final GLContext _context = context; return (_context == null) ? null : _context.getGL(); }
/** * <p>Get the validator handler</p> */ protected DefaultHandler getSAXHandler() { if (java.beans.Beans.isDesignTime()) { return null; } return new CoreValidatorHandler(); }
public boolean isDesignTimeEmptyLabel(Widget w) { return Beans.isDesignTime() && (w instanceof Label) && ((Label)w).getText().startsWith("Empty "); }
public static String getString(String key) { try { ResourceBundle bundle = Beans.isDesignTime() ? loadBundle() : RESOURCE_BUNDLE; return bundle.getString(key); } catch (MissingResourceException e) { return "!" + key + "!"; } } }
/** * <p>Get the validator handler</p> */ @Override protected DefaultHandler getSAXHandler() { if (java.beans.Beans.isDesignTime()) { return null; } return new CoreValidatorHandler(); }
/** * @see JComponent#setVisible(boolean) */ @Override public void setVisible(boolean visible) { // Quick workaround for use in JFormDesigner super.setVisible(visible && !Beans.isDesignTime()); }
/** Creates new form RepoManagerPanel */ public RepoManagerPanel() { if (!java.beans.Beans.isDesignTime()) { myRGTM = new RepoGraphTableModel(); myGraphTable.setModel(myRGTM); Utility.makeTablePopupHandler(myGraphTable); } }
protected DefaultHandler getSAXHandler() { // don't run the TLV if we're in designTime, or the RIConstants // says not to. if (java.beans.Beans.isDesignTime() || !Util.isHtmlTLVActive()) { return null; } return new HtmlBasicValidatorHandler(); }
/** * <p>Get the validator handler</p> */ protected DefaultHandler getSAXHandler() { if (java.beans.Beans.isDesignTime() || !Util.isCoreTLVActive()) { return null; } return new CoreValidatorHandler(); }
@Override public GLCapabilitiesImmutable getChosenGLCapabilities() { if( Beans.isDesignTime() ) { return capsReqUser; } else if( null == awtConfig ) { throw new GLException("No AWTGraphicsConfiguration: "+this); } return (GLCapabilitiesImmutable)awtConfig.getChosenCapabilities(); }
public IntegrityCheckerPresentationPanel() { initComponents(); if (!Beans.isDesignTime()) { populateImmediately(new IntegrityCheckerFieldsBean()); } }
@Override public void onInitialLoad() { if (_tabHeaderPanel != null && _tabHeaderPanel.getWidgetCount() > 0) { // Use selectedTabIndex as design time tab selector. if (Beans.isDesignTime() && _selectedTabIndex > -1) { selectTab(_selectedTabIndex); } else { selectTab(_defaultTabIndex); } } }
@Override public void add(Widget w) { if (Beans.isDesignTime()) { if (getWidgetCount() == 1 && isDesignTimeEmptyLabel(getWidget(0))) { clear(); } } _intPanel.add(w); if (Utils.isIOS()) { Utils.setTranslateY(w.getElement(), 0); //anti-flickering on iOS. } }
public HeaderPanel() { super.add(new SimplePanel()); //left button placeholder super.add(new FlowPanel()); //contents super.add(new SimplePanel()); //right button placeholder setStyleName(Primary.HeaderPanel); if (Beans.isDesignTime()) { add(new Label("Empty HeaderPanel. " + getDesignTimeMessage())); } }