Unnamed: 0 int64 0 305k | body stringlengths 7 52.9k | name stringlengths 1 185 |
|---|---|---|
45,400 | PsiElement () { return null; } | getContext |
45,401 | boolean () { return false; } | isPhysical |
45,402 | GlobalSearchScope () { throw new IncorrectOperationException(); } | getResolveScope |
45,403 | SearchScope () { throw new IncorrectOperationException(); } | getUseScope |
45,404 | ASTNode () { return null; } | getNode |
45,405 | boolean (PsiElement another) { return false; } | isEquivalentTo |
45,406 | Icon (@IconFlags int flags) { return null; } | getIcon |
45,407 | PsiMetaData () { return null; } | getMetaData |
45,408 | Class<RadComponent> () { return myModel; } | getModel |
45,409 | Class<RadLayout> () { return myLayout; } | getLayout |
45,410 | void (Class<RadLayout> layout) { myLayout = layout; } | setLayout |
45,411 | String () { return myTarget; } | getTarget |
45,412 | boolean (@NotNull String tag) { return tag.equals(myTag); } | isTag |
45,413 | boolean (String... tags) { return ArrayUtil.contains(myTag, tags); } | isTag |
45,414 | String () { return myCreation; } | getCreation |
45,415 | void (String creation) { myCreation = creation; } | setCreation |
45,416 | boolean () { return myDelete; } | canDelete |
45,417 | void (boolean delete) { myDelete = delete; } | setDelete |
45,418 | String () { return myTitle; } | getTitle |
45,419 | Icon () { if (myIcon == null) { if (myIconPath == null) { return myPaletteItem == null ? null : myPaletteItem.getIcon(); } myIcon = IconLoader.findIcon(myIconPath, myModel); } return myIcon; } | getIcon |
45,420 | void (String title, String iconPath) { myTitle = title; myIconPath = iconPath; myIcon = null; } | setPresentation |
45,421 | PaletteItem () { return myPaletteItem; } | getPaletteItem |
45,422 | void (@NotNull DefaultPaletteItem paletteItem) { myPaletteItem = paletteItem; myPaletteItem.setMetaModel(this); } | setPaletteItem |
45,423 | List<MetaModel> () { return myMorphingModels; } | getMorphingModels |
45,424 | void (List<MetaModel> morphingModels) { myMorphingModels = morphingModels; } | setMorphingModels |
45,425 | List<String> () { return myInplaceProperties; } | getInplaceProperties |
45,426 | void (List<String> inplaceProperties) { myInplaceProperties = inplaceProperties; } | setInplaceProperties |
45,427 | List<String> () { return myTopProperties; } | getTopProperties |
45,428 | void (List<String> topProperties) { myTopProperties = topProperties; } | setTopProperties |
45,429 | void (List<String> normalProperties) { myNormalProperties = normalProperties; } | setNormalProperties |
45,430 | boolean (String name) { return myImportantProperties.contains(name); } | isImportantProperty |
45,431 | void (List<String> importantProperties) { myImportantProperties = importantProperties; } | setImportantProperties |
45,432 | boolean (String name) { return myExpertProperties.contains(name); } | isExpertProperty |
45,433 | void (List<String> expertProperties) { myExpertProperties = expertProperties; } | setExpertProperties |
45,434 | boolean (String name) { return myDeprecatedProperties.contains(name); } | isDeprecatedProperty |
45,435 | void (List<String> deprecatedProperties) { myDeprecatedProperties = deprecatedProperties; } | setDeprecatedProperties |
45,436 | void (Property property, String name) { property.setImportant(isImportantProperty(name)); property.setExpert(isExpertProperty(name)); property.setDeprecated(isDeprecatedProperty(name)); } | decorate0 |
45,437 | void (Property property, String name) { decorate0(property, name); if (property instanceof IPropertyDecorator) { ((IPropertyDecorator)property).decorate(this); } } | decorate |
45,438 | Property (Property property) { String name = property.getName(); if (myNormalProperties.contains(name) || myImportantProperties.contains(name) || myExpertProperties.contains(name) || myDeprecatedProperties.contains(name)) { property = property.createForNewPresentation(); decorate(property, name); } return property; } | decorateWithOverride |
45,439 | String () { return myTitle; } | getTitle |
45,440 | Icon () { if (myIcon == null) { assert myIconPath != null; myIcon = IconLoader.findIcon(myIconPath, myModel.getModel()); } return myIcon; } | getIcon |
45,441 | String () { return myTooltip; } | getTooltip |
45,442 | String () { return myDefaultItem.getVersion(); } | getVersion |
45,443 | boolean () { return myDefaultItem.isEnabled(); } | isEnabled |
45,444 | String () { return myCreation; } | getCreation |
45,445 | MetaModel () { return myModel; } | getMetaModel |
45,446 | void (MetaModel metaModel) { myModel = metaModel; } | setMetaModel |
45,447 | String () { return myDefaultItem.getDeprecatedIn(); } | getDeprecatedIn |
45,448 | String () { return myDefaultItem.getDeprecatedHint(); } | getDeprecatedHint |
45,449 | void (String name) { try { loadDocument(JDOMUtil.load(getClass().getResourceAsStream(name))); } catch (Throwable e) { LOG.error(e); } } | load |
45,450 | Project () { return myProject; } | getProject |
45,451 | boolean (RadComponent component) { return true; } | visit |
45,452 | Rectangle () { return myBounds; } | getBounds |
45,453 | Rectangle (Component relativeTo) { return fromModel(relativeTo, getBounds()); } | getBounds |
45,454 | Rectangle (@NotNull Component target, @NotNull Rectangle bounds) { if (target != myNativeComponent && myNativeComponent instanceof ScalableComponent scalableComponent) { double zoom = scalableComponent.getScale(); if (zoom != 1) { bounds = new Rectangle(bounds); bounds.x *= zoom; bounds.y *= zoom; bounds.width *= zoom;... | fromModel |
45,455 | Rectangle (@NotNull Component source, @NotNull Rectangle rectangle) { Rectangle bounds = myNativeComponent == source ? new Rectangle(rectangle) : SwingUtilities.convertRectangle(source, rectangle, myNativeComponent); if (myNativeComponent != source && myNativeComponent instanceof ScalableComponent scalableComponent) { ... | toModel |
45,456 | Point (@NotNull Component target, @NotNull Point point) { if (target != myNativeComponent && myNativeComponent instanceof ScalableComponent scalableComponent) { double zoom = scalableComponent.getScale(); if (zoom != 1) { point = new Point(point); point.x *= zoom; point.y *= zoom; } } return myNativeComponent == target... | fromModel |
45,457 | Point (@NotNull Component source, @NotNull Point point) { Point p = myNativeComponent == source ? new Point(point) : SwingUtilities.convertPoint(source, point, myNativeComponent); if (myNativeComponent != source && myNativeComponent instanceof ScalableComponent scalableComponent) { double zoom = scalableComponent.getSc... | toModel |
45,458 | Dimension (@NotNull Component target, @NotNull Dimension size) { size = new Dimension(size); if (target != myNativeComponent && myNativeComponent instanceof ScalableComponent scalableComponent) { double zoom = scalableComponent.getScale(); if (zoom != 1) { size.width *= zoom; size.height *= zoom; } } return size; } | fromModel |
45,459 | Dimension (@NotNull Component source, @NotNull Dimension size) { size = new Dimension(size); if (myNativeComponent != source && myNativeComponent instanceof ScalableComponent scalableComponent) { double zoom = scalableComponent.getScale(); if (zoom != 1) { size.width /= zoom; size.height /= zoom; } } return size; } | toModel |
45,460 | void (int x, int y, int width, int height) { myBounds.setBounds(x, y, width, height); } | setBounds |
45,461 | Point (Component relativeFrom, int x, int y) { Point p = myNativeComponent == relativeFrom ? new Point(x, y) : SwingUtilities.convertPoint(relativeFrom, x, y, myNativeComponent); if (myNativeComponent != relativeFrom && myNativeComponent instanceof ScalableComponent scalableComponent) { double zoom = scalableComponent.... | convertPoint |
45,462 | Component () { return myNativeComponent; } | getNativeComponent |
45,463 | void (Component nativeComponent) { myNativeComponent = nativeComponent; } | setNativeComponent |
45,464 | JDialog () { return null; } | getNullDialog |
45,465 | void () { myButton = new JPanel(); myMessage = new JEditorPane(); } | createUIComponents |
45,466 | PropEnum () { return e; } | getE |
45,467 | void (E newE) { e = newE; } | setE |
45,468 | PropEnum () { return e; } | getE |
45,469 | void (E newE) { e = newE; } | setE |
45,470 | void () { } | createUIComponents |
45,471 | void () { } | doTest |
45,472 | void () { myLabel = new JLabel(); } | createUIComponents |
45,473 | void () { myLabel = new JLabel(); } | createUIComponents |
45,474 | void () { } | createUIComponents |
45,475 | void () { } | createUIComponents |
45,476 | void () { myLabel = new JLabel(); } | createUIComponents |
45,477 | void () { } | doTest |
45,478 | void () { myLabel = new JLabel(); } | createUIComponents |
45,479 | void () { } | doTest |
45,480 | void () { myLabel = new JLabel(); } | createUIComponents |
45,481 | void () { myLabel = new JLabel(); } | createUIComponents |
45,482 | void () { } | doTest |
45,483 | void () { myLabel = new JLabel(); } | createUIComponents |
45,484 | void () { myLabel = new JLabel(); } | createUIComponents |
45,485 | void () { myLabel = new JLabel(); } | createUIComponents |
45,486 | void () { } | createUIComponents |
45,487 | void (String[] args) { Main f = new Main(); JFrame frame = new JFrame(ourBundle.getString("form.preview.title")); frame.setContentPane(f.myComponent); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); // Add menu bar final JMenuBar menuBar = new JMenuBar(); frame.setJMenuBar(menuBar); final JMenu menuFile = new JMe... | main |
45,488 | void (final ActionEvent e) { System.exit(0); } | actionPerformed |
45,489 | void (final ActionEvent e) { myFrame.pack(); } | actionPerformed |
45,490 | void (ActionEvent e) { try{ UIManager.setLookAndFeel(myInfo.getClassName()); SwingUtilities.updateComponentTreeUI(myFrame); Dimension prefSize = myFrame.getPreferredSize(); if(prefSize.width > myFrame.getWidth() || prefSize.height > myFrame.getHeight()){ myFrame.pack(); } } catch(Exception exc){ JOptionPane.showMessage... | actionPerformed |
45,491 | void () { javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this); this.setLayout(layout); layout.setHorizontalGroup( layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGap(0, 400, Short.MAX_VALUE) ); layout.setVerticalGroup( layout.createParallelGroup(javax.swing.GroupLayout.Alignment... | initComponents |
45,492 | List<String> () { return Collections.emptyList(); } | getCompilableFileExtensions |
45,493 | CompiledClass (OutputConsumer outputConsumer, String classToBind) { final Map<String, CompiledClass> compiled = outputConsumer.getCompiledClasses(); while (true) { final CompiledClass fo = compiled.get(classToBind); if (fo != null) { return fo; } final int dotIndex = classToBind.lastIndexOf('.'); if (dotIndex <= 0) { r... | findClassFile |
45,494 | File (Class aClass) { return new File(PathManager.getResourceRoot(aClass, "/" + aClass.getName().replace('.', '/') + ".class")); } | getResourcePath |
45,495 | String (LwRootContainer container) { final String className = container.getClassToBind(); for (File outputRoot : myOutputRoots) { final String result = getJVMClassName(outputRoot, className.replace('.', '/')); if (result != null) { return result.replace('/', '.'); } } return className; } | getClassToBindName |
45,496 | String (File outputRoot, String className) { while (true) { final File candidateClass = new File(outputRoot, className + ".class"); if (candidateClass.exists()) { return className; } final int position = className.lastIndexOf('/'); if (position < 0) { return null; } className = className.substring(0, position) + '$' + ... | getJVMClassName |
45,497 | String () { return myBuilderName; } | getPresentableName |
45,498 | void (File srcFile, File form, Map<File, Collection<File>> container) { Collection<File> forms = container.get(srcFile); if (forms == null) { forms = new ArrayList<>(); container.put(srcFile, forms); } forms.add(form); } | addBinding |
45,499 | void (CompileContext context) { FORCE_FORMS_REBUILD_FLAG.set(context, getMarkerFile(context).exists()); } | buildStarted |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.